Display an error message when no importable resources can be found for a browser / profile pair
(Firefox :: Migration, task, P3)
(Reporter: mconley, Assigned: steven100695)
(Blocks 1 open bug)
Bug 1819334 - Display an error message when no importable resources can be found for a browser / profile pair. r?mconley!.
48 bytes, text/x-phabricator-request
|Details | Review|
As parts of bug 1802219 start to close out, chances will increase that we will successfully detect when a browser / profile pair will not contain any resources that can be imported. Now that we can detect that, we can show an appropriate message, rather than "importing nothing successfully".
There's a specification for the error message here: https://www.figma.com/file/PcMkM0ZaSSy3zmS3CYGWNj/Handover---students?node-id=10%3A6662&t=yMAn7Iv6WKobqrm8-4
3 months ago
Note that a similar error message was added by Brian Pham in bug 1809347: https://searchfox.org/mozilla-central/rev/e6a03adbf7930ae0cf131cc3274c80b2aae74e51/browser/components/migration/content/migration-wizard.mjs#116-119
We should use the same structure, and try to make the
no-browsers-found-message generic so that the classes can be easily re-used for this new error message.
We'll need to show the error message, and hide the other items here: https://searchfox.org/mozilla-central/rev/e6a03adbf7930ae0cf131cc3274c80b2aae74e51/browser/components/migration/content/migration-wizard.mjs#246-266
It might be worth having a class set on everything that should be hidden on error, and then setting an attribute on the page and using a CSS selector to hide all of the relevant things / show the error message.
2 months ago
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/f39c811e4a51 Display an error message when no importable resources can be found for a browser / profile pair. r=mconley,fluent-reviewers.
2 months ago