Closed
Bug 1801314
Opened 2 years ago
Closed 2 years ago
Land infrastructure for migration wizard reusable component
Categories
(Firefox :: Migration, task, P1)
Firefox
Migration
Tracking
()
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This will include:
- The reusable component MJS itself, with some bare-bones skeleton content and CSS
- A preview-mode .ftl file referenced and used by the component
- JSWindowActors for communication between the component (whichever context and process it's in) and the parent process.
- A Storybook story for showing the component in different states
Assignee | ||
Updated•2 years ago
|
Severity: -- → N/A
Priority: -- → P1
Assignee | ||
Comment 1•2 years ago
|
||
This adds:
- A new <migration-wizard> component
- A new migration-dialog.html document that loads it
- JSWindowActors for communicating between whatever process the migration-wizard is
loaded in and the parent process. The actors are currently restricted to running
in these documents:
about:welcome
about:preferences
chrome://browser/content/migration/migration-dialog.html - A very small, simple mochitest-chrome test for testing the widget
- Some Fluent strings for the new <migration-wizard>, dropped into a new folder in
/browser called "locales-preview". This is so that both the jar packaging can
put the Fluent file somewhere sensible that doesn't (currently) require our
localizers to translate, but also so that Storybook can load that Fluent file. - Modifications to our Storybook infrastructure so that attempts to load items
from locales-preview will map to the browser/locales-preview folder. - A Storybook story for the <migration-wizard> that puts it in a few basic states.
Most of those states aren't actually implemented yet, but are left in the story to
make it easier to develop those states in the component.
The hope is that when this is done, it should be relatively straight-forward to
embed the <migration-wizard> not just in the migration-dialog.html document (which
is used for tab modals and the stand alone migration dialog), but also in existing
in-content pages like about:welcome and about:preferences.
For those worried about the TODO strings or incomplete behaviour, remember that this
is just a base for building upon, and that this component / dialog isn't actually
exposed to users yet.
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bce1ea9149bd
Add initial infrastructure for a migration wizard reusable component. r=Gijs,kpatenio,NeilDeakin,niklas,mstriemer
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9bfd3e059d1
Add initial infrastructure for a migration wizard reusable component. r=Gijs,kpatenio,NeilDeakin,niklas,mstriemer
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•