Page MenuHomePhabricator

Build an RTL testing sandbox in Codex
Closed, ResolvedPublic

Description

To enable developers, test engineers, and language ambassadors to quickly view and test various components and compositions in RTL or mixed directionalities, we should build out a single page with relevant test cases.

[test cases and acceptance criteria to be added later]

Event Timeline

Change 751989 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] Sandbox: Add RTL version

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

Change 751989 merged by jenkins-bot:

[design/codex@main] Sandbox: Add RTL version

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

Change 755521 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] build: Make the sandbox (npm run dev) switchable between LTR and RTL

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

Change 755521 merged by jenkins-bot:

[design/codex@main] build: Make the sandbox (npm run dev) switchable between LTR and RTL

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

We now have the following for testing in RTL:

  • The Codex sandbox (which appears when you run npm run dev locally; not published anywhere) has an LTR/RTL direction switcher
  • The component demos on the documentation website (published at https://doc.wikimedia.org/codex/main/ ) have a direction switcher
  • These demos are also available for unmerged patches, thanks to T293705
  • As explained in T299143#7784434, you can use PatchDemo to create a wiki for any unmerged patch, and you can then use ?uselang=ar or ?uselang=he to view the wiki in Arabic or Hebrew (or log into this test wiki and change your language preference)