Page MenuHomePhabricator

Unified Dashboard search for an article: UI inconsistencies with design specs
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Go to the Unified Dashboard
  2. Click on the "New translation" button. You will be navigated to the "Search for an article" step.

What happens?:
The UI is inconsistent with the design specifications as defined in T260141. More specifically, the search input differs from the designed one, and the language selector background color is not the proposed one.

What should have happened instead?:
The UI should align with the design specifications as closely as reasonably possible.

For this task, we will adjust the UI for the search input and language selector to match the design specifications, except for setting the left and right padding of the input to 16px as suggested by the design. This is intentionally skipped due to the complexity of modifying the default left padding of the Codex SearchInput component, especially given the minor discrepancy. Additionally, keeping the default padding ensures better consistency with the Wikimedia Design System.

Screenshots from greek (el) production wiki:

Screenshot 2025-02-18 at 15.05.37.png (910×416 px, 61 KB)

Screenshot 2025-02-18 at 15.07.30.png (973×1 px, 85 KB)

Event Timeline

ngkountas triaged this task as High priority.

Change #1120551 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Search for an article: Fix UI inconsistencies with design specs

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

Change #1120551 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Search for an article: Fix UI inconsistencies with design specs

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

Change #1120990 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Add CdxSearchInput to production codex.js file

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

Change #1120990 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Add CdxSearchInput to production codex.js file

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

Change #1122111 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20250224

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

Change #1122111 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20250224

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

Test status: QA PASS

The search input matches the Design except for the "left and right padding of the input to 16px"

  • checked the content display for a lang when an article is typed in subject
  • checked the empty state when an article is typed in and not available