Page MenuHomePhabricator

Server validation errors should show better label in main validation message link
Closed, ResolvedPublic

Description

When a server validation error happens, then the UI informs the user about that with an error message above the save button. That error message includes a link to the field where the error happens. Currently, that link has the internal path to the field as user-facing link text. That is not ideal and should be replaced by the fields label.

Acceptance criteria:

  • Show label of fields with validation error as link-text of main error message

Open questions:

  • What to do if it is a nested field? Show all labels? With what separator? word-separator-message (usually a space)?

Event Timeline

Change #1048526 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/CommunityConfiguration@master] Show field labels in the main validation error message

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

What to do if it is a nested field? Show all labels? With what separator? word-separator-message (usually a space)?

Given the label will be linked, is this relevant? Would it work to just show the "leaf" label? It's hard to tell which is the design expectation with the current description.

Change #1048526 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] Show field labels in the main validation error message

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

Michael removed a project: Patch-For-Review.

No QA for this technical sub-task specifically, only for the parent: T363855: Improve validation errors wording and behavior