The "Done" button should: 1. Be disabled while progress is still underway, and only become enabled after migration has completed. 2. Fire a "MigrationWizard:Close" custom event, like this one: https://searchfox.org/mozilla-central/rev/861fb9abfcaff123aab45f6ac56a0106b116dc14/browser/components/migration/content/migration-wizard.mjs#331-334
Bug 1813598 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The "Cancel" button should: 1. Be disabled always. We might want to allow users to cancel an in-progress migration down the road, so we're reserving this button here, but will keep it disabled. 2. Hide when the migration is completed. The "Done" button should: 1. Have the `primary` class 2. Be hidden until the migration has completed. 3. Fire a "MigrationWizard:Close" custom event, like this one: https://searchfox.org/mozilla-central/rev/861fb9abfcaff123aab45f6ac56a0106b116dc14/browser/components/migration/content/migration-wizard.mjs#331-334