Closed Bug 1881810 Opened 1 year ago Closed 1 year ago

AC Translations Download/Delete Language Models

Categories

(Firefox for Android :: Translations, task, P1)

All
Android
task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

Details

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

Attachments

(1 file)

This bug is to add the action to download or delete language models. Action should have a way to pass ModelManagementOptions and use this API.

Severity: -- → N/A
Priority: -- → P1
Whiteboard: [fxdroid][foundation]
See Also: → 1876805

May also need to refactor Downloads data model.

Whiteboard: [fxdroid][foundation] → [fxdroid][foundation][translations:128]
Type: enhancement → task
Assignee: nobody → ohall
Blocks: 1862293

This patch adds AC changes to allow translation language models to be downloaded
and deleted. Including:

  • Adds ManageLanguageModelsAction to request changes to language models.
  • Adds to the translations state reducer to accommodate state changes when updating.
  • Adds ModelState to LanguageModel in order to capture processing states.
  • Adds ModelUpdateError as a general area for when the action fails on the engine.
Pushed by ohall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/031ff404a148 Download and Delete Translation Models from AC r=android-reviewers,calu,giorga
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: