Update the translation popup's icon to UX recommended treatment
Categories
(Firefox :: Translations, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
Details
Attachments
(2 external files, 7 obsolete files)
The UI will need to give an indication when the page is being translated. UX will have specific feedback on how this should work, but this bug will track that work.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
I'm updating this bug to be about applying the specific UX feedback on the translations icon appearance and behavior.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
This is part 1/3 of the mock rework, the tests are updated in a later
patch. This rework was needed to properly expose the RemoteSettings API
for testing the icon state.
| Assignee | ||
Comment 4•3 years ago
|
||
This is part 2/3 of the mock rework. The tests are updated in the next
patch.
Depends on D178222
| Assignee | ||
Comment 5•3 years ago
|
||
This fixes the tests for the mock changes.
Depends on D178223
| Assignee | ||
Comment 6•3 years ago
|
||
I am not sure if this behavior changed since this test was written, but
accessing the contentWindow throws an error now, rather than being
undefined. I updated the translations code to remove this error.
Depends on D178224
| Assignee | ||
Comment 7•3 years ago
|
||
This creates 3 icon states:
- The translations offering with a single icon.
- The loading icon with the spinner.
- The live translation document, with the "translate to" locale listed.
Note that the locale text in the icon can grow to three letters in
theory, but in practice this does not happen with our currently
supported languages. I made sure the button can grow correctly if this
ever happens.
The tests are in the next patch.
Depends on D178225
| Assignee | ||
Comment 8•3 years ago
|
||
Depends on D178226
| Assignee | ||
Comment 9•3 years ago
|
||
Depends on D178227
| Assignee | ||
Comment 10•3 years ago
|
||
Depends on D178448
Comment 11•3 years ago
|
||
Comment on attachment 9334185 [details]
Bug 1820249 - Rework the mocks for language identification r?nordzilla!
Revision D178222 was moved to bug 1833906. Setting attachment 9334185 [details] to obsolete.
Comment 12•3 years ago
|
||
Comment on attachment 9334186 [details]
Bug 1820249 - Rework the mocks system for the translations engine; r?nordzilla!
Revision D178223 was moved to bug 1833906. Setting attachment 9334186 [details] to obsolete.
Comment 13•3 years ago
|
||
Comment on attachment 9334187 [details]
Bug 1820249 - Update the tests for the new mocking system; r?nordzilla!
Revision D178224 was moved to bug 1833906. Setting attachment 9334187 [details] to obsolete.
Comment 14•3 years ago
|
||
Comment on attachment 9334188 [details]
Bug 1820249 - Drive-by fix for an unhandled test error; r?nordzilla!
Revision D178225 was moved to bug 1833906. Setting attachment 9334188 [details] to obsolete.
Comment 15•3 years ago
|
||
Comment on attachment 9334837 [details]
Bug 1820249 - Split up test browser_about_translations.js; r?nordzilla!
Revision D178448 was moved to bug 1833906. Setting attachment 9334837 [details] to obsolete.
Comment 16•3 years ago
|
||
Comment on attachment 9334842 [details]
Bug 1820249 - Split up test browser_translations_panel.js; r?nordzilla!
Revision D178452 was moved to bug 1833906. Setting attachment 9334842 [details] to obsolete.
Comment 17•3 years ago
|
||
Comment 18•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6ff39297ab90
https://hg.mozilla.org/mozilla-central/rev/53d0397ea5e9
Description
•