Wikimedia

Tracker: Improve error formatting in forms

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

Task tags

  • python
  • django

Students who completed this task

alcarazzam

Task type

  • code Code
close

2019