Closed
Bug 1862264
Opened 2 years ago
Closed 2 years ago
UI Integration Managing States
Categories
(Firefox for Android :: Translations, task, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: olivia, Assigned: olivia)
References
Details
(Whiteboard: [fxdroid][foundation])
Translations has many states we need to think about for showing UI. (See more at Figma.)
The purpose of this bug is to reflect on the current logic, name all states we have, and name what screen should be shown.
This may end up being more of a research bug than actionable bug, but is important for ensuring integration can proceed more orderly.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Translations:
- First Run
- Standard Run
Translations States:
- Initial - no action taken
- Pre-translate - user has signaled a translation
- In low-data + off WiFi mode, show warning
- Translating - user has signaled a translation and it has began
- Translated - translation completed
Translations Error States:
- General Error
- Any issue occurs
- Couldn't Load Languages
- Could not load drop-downs
- Language not supported
- Drop-downs are populated, but the page detected language is not an option in the drop-down
Settings:
- Page settings
- Global Offer Setting
- Language Setting
- Site Setting
- Global Settings
- Global Offer Setting
- Data saving mode setting
- Automatic translation for languages
- List of sites to never translate
- Download language model settings
- Has a data saver popup
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → ohall
| Assignee | ||
Comment 2•2 years ago
|
||
Error states are defined in AC here:
Bug 1862263
| Assignee | ||
Comment 3•2 years ago
|
||
- Plan on creating a
TranslationsDataCoordinatorto handle translation store data queries and data preparation that implementsTranslationsStore. - Plan on creating a
TranslationsRequestInteractorto handle translation requests that implementsTranslationsInteractor.
(Names need some more thought.)
Fenix/AC Architecture links for later reference:
| Assignee | ||
Comment 4•2 years ago
|
||
Should have enough information to continue, resolving this bug, but will possibly add more notes and ideas to it.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•