Closed Bug 1825801 Opened 3 years ago Closed 3 years ago

Ensure all phases of model and wasm loading and errors are handled in the UI

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Each of these need to be handled for both models, and for wasm downloads:

  • The attachment download fails
  • The attachment download is in progress
  • The attachment in the file system was corrupted (signature verification failure) (This check was removed)

In addition, we need to handle getting the initial list of supported languages:

  • List of supported languages is requested, but not ready.
  • List of supported languages comes up empty since there is no network, or a network error.

With this work we also need to make sure that race conditions don't happen when choosing between the panelviews. For instance:

  • Open panel on Spanish news site.
  • Start downloading models.
  • Close panel
  • Open panel on French news site
  • Spanish models finish downloading

The correct thing here to do is to invalidate the old view promises for showing the panelview when the Spanish models finish, since they are old and stale.

Priority: P2 → P3

This is somewhat of a duplicate of Bug 1820254, but I'll keep both for now. Whoever fixes these should sort it out :D

This will be resolved by Bug 1829687.

Depends on: 1829687
Assignee: nobody → gtatum

Fixed by Bug 1829687.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Duplicate of this bug: 1820254
You need to log in before you can comment on or make changes to this bug.