Closed
Bug 1805490
Opened 1 year ago
Closed 1 year ago
Support fluent pseudo locales in Storybook
Categories
(Toolkit :: UI Widgets, enhancement, P3)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: mstriemer, Assigned: hjones)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-reusable-components-ms2])
Attachments
(1 file)
We should add pseudo-localization to Storybook. The devtools team has this support in perf-html [1] which we can hopefully copy into our storybook folder. We should add a toolbar button to Storybook (and also in the Fluent panel if that exists from bug 1805487) to switch between English, accented and RTL versions
Updated•1 year ago
|
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::XUL Widgets' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → XUL Widgets
Product: Firefox → Toolkit
Updated•1 year ago
|
Whiteboard: [fidefe-reusable-components-ms1] → [fidefe-reusable-components-ms2]
Assignee | ||
Comment 2•1 year ago
|
||
This patch does a few things:
- creates a storybook addon for pseudo localization, which adds a button to the storybook toolbar and kicks off generating/connecting a new Fluent bundle when the pseudo localization strategy changes
- pulls in l10n-pseudo.js from the devtools profiler
- moves the fluent logic out of preview.js into a separate file (possibly a precursor to some moves we'll make when we create a proper fluent addon)
Updated•1 year ago
|
Assignee: nobody → hjones
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d4c269468a5 storybook addon for psuedo localization r=mstriemer
Comment 4•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•