Closed Bug 1900582 Opened 6 months ago Closed 6 months ago

Update Translations ModelState to include ERROR_DELETION when a failure Occurs

Categories

(Fenix :: Translations, task, P2)

All
Android
task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

Details

(Whiteboard: [fxdroid][foundation][translations:128])

Attachments

(1 file)

A download or deletion error may occur on the translations download screen. This state should be reflected in the UI. ERROR_DELETION and likely ERROR_DOWNLOAD should be listed in the ModelState. The reducer should receive this state when it fails in TranslationsMiddleware.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [fxdroid][foundation][translations:128]
Blocks: 1896989
Assignee: nobody → ohall

This bug should additionally ensure translation state clears across page loads to support https://phabricator.services.mozilla.com/D210627. (If it makes sense to do here, I suspect this might need to be filed as a new bug, but I'll research it here.)

Right now, when an error occurs when downloading or deleting a translations model,
there is nothing to indicate which model had an error.

This patch introduces ERROR_DELETION and ERROR_DOWNLOAD to indicate state.

Pushed by ohall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb7cbba6de88 Update Android Translations ModelState to include ERROR States r=android-reviewers,giorga
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: