Page MenuHomePhabricator

Improve error formatting
Closed, ResolvedPublic

Description

Problem

Tracker poorly formates errors in forms (see attachment, if you're viewing this using GCI site, you might need to switch to Phabricator). Users might oversee the error, and claim Tracker doesn't work.

Proposed solution

Display error clearly next to a field. An example is available in attachments (see Phabricator for that section). The example is not binding, you are free to come with your own solution.

In addition to that, display a big alert above all form fields, so in case user don't immediately see the errorneous field, they know what happened.

Student is expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, student should claim a respective Phabricator task as well.

Materials

Attachments

Current state

image.png (191×1 px, 12 KB)

How it could work?

image.png (463×1 px, 52 KB)

Event Timeline

Urbanecm moved this task from Inbox to GCI on the WMCZ-Tracker board.

Change 560901 had a related patch set uploaded (by Alcarazzam; owner: Alcarazzam):
[wikimedia-cz/tracker@master] Improve error formatting in forms

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

Change 560901 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Improve error formatting in forms

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