Closed Bug 1801314 Opened 2 years ago Closed 2 years ago

Land infrastructure for migration wizard reusable component

Categories

(Firefox :: Migration, task, P1)

task

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
Severity: -- → N/A
Priority: -- → P1

This adds:

  1. A new <migration-wizard> component
  2. A new migration-dialog.html document that loads it
  3. 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
  4. A very small, simple mochitest-chrome test for testing the widget
  5. 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.
  6. Modifications to our Storybook infrastructure so that attempts to load items
    from locales-preview will map to the browser/locales-preview folder.
  7. 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
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: