Page MenuHomePhabricator

[MEX] M3 - Create error handling for incorrectly filled and unfilled fields that are out of focus
Open, Needs TriagePublic

Description

As a mobile editor I want to see what required fields are not correctly filled or are unfilled when editing in order to make a quality edit.

Solution

  • When editing on mobile and a field is incomplete/incorrect, it should display there is an error when out of focus
  • Both the lookup and the input field component have the same error state that you can see here if you click "error" on the status | codex page for input field |

Screenshot 2025-11-03 at 17.20.40.png (1×996 px, 117 KB)
Screenshot 2025-11-04 at 11.14.37.png (986×1 px, 104 KB)
Note: Error handling only specific to a certain data type will be addressed in that data types ticket.

Acceptance criteria:

  • Empty data string: When an input field/data string has been active and is then left - becomes out of focus - empty, it should display its error state (currently not desktop behavior)
  • Empty lookup: When a lookup has been active and is then left - becomes out of focus - empty, it should display its error state(currently not desktop behavior)
  • Lookup with only letters in it (no selection): When a lookup has been active and is then left - becomes out of focus - with letters in the field, but no selection has been made from the mandatory drop-down, it should display there is an error (desktop behavior)
  • This should apply when editing statements, qualifiers and reference

Details

Event Timeline

Arian_Bozorg renamed this task from [MEX] M3 - Create error handling for inocrrectly filled and unfilled fields to [MEX] M3 - Create error handling for inocrrectly filled and unfilled fields that are out of focus.Nov 3 2025, 3:32 PM
Alice.moutinho renamed this task from [MEX] M3 - Create error handling for inocrrectly filled and unfilled fields that are out of focus to [MEX] M3 - Create error handling for incorrectly filled and unfilled fields that are out of focus.Nov 3 2025, 4:25 PM
Alice.moutinho updated the task description. (Show Details)
Alice.moutinho updated the task description. (Show Details)
Alice.moutinho subscribed.
hoo moved this task from The Backlog to The Board on the Wikidata-Omega board.
hoo edited projects, added Wikidata-Omega (The Board); removed Wikidata-Omega.
hoo moved this task from new to the board to In Development on the Wikidata-Omega (The Board) board.
hoo removed hoo as the assignee of this task.Thu, Nov 13, 7:59 PM
hoo subscribed.

Unassigning myself / moving back as I don't have a lot of progress on this, yet (ended up getting stuck on T403974#11372348).

Feel free to pick this up, otherwise, I'll pick this up again on Monday.

hoo removed hoo as the assignee of this task.Thu, Nov 20, 4:19 PM

Change #1211688 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Indicate errors on input fields

https://gerrit.wikimedia.org/r/1211688

hoo removed hoo as the assignee of this task.Wed, Nov 26, 4:41 PM