Page MenuHomePhabricator

Code splitting: use CodexModule for the full library modules (@wikimedia/codex and codex-styles)
Closed, ResolvedPublic3 Estimated Story Points

Description

We'd like to use CodexModule for the @wikimedia/codex and codex-styles modules, so that we can get rid of the use of themeStyles in codex-styles. Doing this will require some way to communicate to CodexModule that we want to load the whole library, rather than a subset of it, perhaps through something like 'codexFullLibrary' => true.

  • Provide a way to load the entire library in CodexModule
  • Convert the module definitions of @wikimedia/codex and codex-styles to use this

Event Timeline

Catrope renamed this task from Code splitting: use CodexModule for the to Code splitting: use CodexModule for the full library modules (@wikimedia/codex and codex-styles).Jan 25 2024, 12:58 AM
Catrope added a project: Codex.
Catrope updated the task description. (Show Details)
Catrope set the point value for this task to 2.
Catrope changed the point value for this task from 2 to 3.Jan 25 2024, 1:08 AM
CCiufo-WMF triaged this task as Medium priority.Jan 25 2024, 4:01 PM
CCiufo-WMF moved this task from Inbox to Up Next on the Design-System-Team board.
lwatson changed the task status from Open to In Progress.Feb 14 2024, 5:10 PM

Change 1003495 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/core@master] CodexModule: use CodexModule to load the full Codex library

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

Change 1003495 merged by jenkins-bot:

[mediawiki/core@master] CodexModule: use CodexModule to load the full Codex library

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