Page MenuHomePhabricator

Unify and polish error handling experience between filepage and Upload Wizard
Open, Needs TriagePublic


User story: As a Commons user, when I enter or submit structured data for a file, I want informative help text and error messages to aid me in the process both on the filepage and in Upload Wizard.

We have this: wbparsevalue errors are displayed via MessageWidget above the offending input on add, which is exactly what we want and matches behavior of the filepage UI.

However, checks that run on submission of all data might be hidden if the user isn't viewing the offending file when they click the publish button.

We want this: Add a visual flag to the appropriate booklet page tab(s) to inform the user where the publish error(s) lies.

Acceptance Criteria:

  • Users can easily tell when an error occurs, which file(s) are affected, which field(s) caused it, and how to fix it.

During development, please test the following:

  • Test this feature on at least one mobile browser
  • Test that this feature works on the file page AND the Add Data step on UploadWizard (if applicable, some features only exist on one or the other)


Related Gerrit Patches:
mediawiki/extensions/UploadWizard : masterHighlight metadata publish errors

Event Timeline

AnneT removed AnneT as the assignee of this task.Sep 16 2019, 8:59 PM
AnneT created this task.
AnneT claimed this task.Jan 22 2020, 9:50 PM
AnneT updated the task description. (Show Details)

Change 566889 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/UploadWizard@master] Highlight metadata publish errors

Change 566889 merged by jenkins-bot:
[mediawiki/extensions/UploadWizard@master] Highlight metadata publish errors