Page MenuHomePhabricator

Adjust the empty states for lists in the Translation Dashboard
Closed, ResolvedPublic


When the user has no in-progress or published translation, those lists are empty in the dashboard and we show a message encouraging users to translate.

The recent adjustments made the styling of the list in those cases to be contradicting: the empty state message is frames as part of the list but the background color is used making it look like part of the background:

Screen Shot 2017-09-08 at 10.32.38.png (622×976 px, 66 KB)

The following adjustments are proposed:

  • Make the background white to show the empty state message as part of the list.
  • Hide the language filters when there are no list items to be filtered.
  • Increase the padding around the empty state message (I used 40px).

An example below shows the above ideas applied:

Screen Shot 2017-09-08 at 10.31.51.png (539×980 px, 62 KB)

Event Timeline

Change 376736 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Adjust the empty states for lists in CX dashboard

Change 376736 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Adjust the empty states for lists in CX dashboard

Checked in cx-testing - all specs are in place.

Screen Shot 2017-09-19 at 4.16.37 PM.png (640×1 px, 80 KB)