Page MenuHomePhabricator

[Codex Alpha] Support bi-directionality (LTR–RTL) in Codex
Closed, ResolvedPublic

Description

Preamble

Codex, our new toolset for building user interfaces within the Wikimedia Design System, must provide strong support for both left-to-right (LTR) and right-to-left (RTL) language scripts.

We need to review various considerations for bidirectionality and settle on a number of architectural choices to provide this support. This covers technological decisions as well as general principles and guidelines.

Considerations

The following considerations will be broken down into subtasks:

  • Conversion of CSS properties between LTR and RTL for distribution or via ResourceLoader
    • Consideration of CSSJanus or equivalent solution for property flipping
    • Support of logical CSS properties, for example padding-start
    • Question of dynamic language changing without reloading
  • Support bidirectionality and specifically RTL when developing with Codex (to cover things like design language, naming, flipping right/left arrow functionality, etc.)
  • Document RTL support with Codex and how to build RTL-ready interfaces with it

Former discussions

Resources & documentation elsewhere

Event Timeline

AnneT renamed this task from Clarify bi-directionality (LTR–RTL) architecture for Codex to [Epic] Support bi-directionality (LTR–RTL) in Codex.Nov 5 2021, 6:55 PM
AnneT updated the task description. (Show Details)
Volker_E renamed this task from [Epic] Support bi-directionality (LTR–RTL) in Codex to [Epic] Support bidirectionality (LTR–RTL) in Codex.Feb 1 2022, 12:59 PM
STH renamed this task from [Epic] Support bidirectionality (LTR–RTL) in Codex to [Codex Alpha] Support bi-directionality (LTR–RTL) in Codex.Apr 25 2022, 11:04 PM
STH changed the task status from Open to In Progress.
STH triaged this task as High priority.