Report on the download status and progress in about:translations
Categories
(Firefox :: Translations, enhancement, P3)
Tracking
()
People
(Reporter: gregtatum, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(15 obsolete files)
The wasm and language models are downloaded from Remote Settings. Right now things are just dimmed out when we don't have the data, but we should communicate to the user when this isn't available yet.
The addon has a bunch of verbose messages that report the state to the user, and displays the download percentages. I don't believe that Remote Settings surfaces the download percentages at this time, so they may need to be added if we want to surface this to the UI.
Reporter | ||
Comment 1•1 year ago
|
||
Here you can see it taking 12 seconds to download a model, which is very confusing for a user:
Comment 2•11 months ago
|
||
I was about to file this. I thought about:translations
didn't work at all (on Linux, too fwiw)
Reporter | ||
Updated•10 months ago
|
Updated•7 months ago
|
Reporter | ||
Updated•7 months ago
|
Reporter | ||
Comment 3•7 months ago
|
||
The un-privileged UI code for this lives in toolkit/components/translations/content/translations.mjs
The remote settings code is privileged code, and needs to be wired in using the AboutTranslationsChild actor. This is done with a global function similar to this. Or maybe it would be fine to just have a spinner awaiting the promise to download the model and the engine. This is what we do in the URL bar.
about:translations is currently in our backlog and is a developer-focused tool for now for testing the translations engine.
Comment 4•7 months ago
|
||
please can i get more details on this bug
Comment 6•7 months ago
|
||
Feel free to work on any good first bug that is currently open and unassigned. Bugs are assigned once there is a patch ready and attached to the bug.
(In reply to Thierry from comment #7)
Can you give me more information about this bug
Comment 9•7 months ago
|
||
(In reply to Greg Tatum [:gregtatum] from comment #3)
The un-privileged UI code for this lives in toolkit/components/translations/content/translations.mjs
The remote settings code is privileged code, and needs to be wired in using the AboutTranslationsChild actor. This is done with a global function similar to this. Or maybe it would be fine to just have a spinner awaiting the promise to download the model and the engine. This is what we do in the URL bar.
about:translations is currently in our backlog and is a developer-focused tool for now for testing the translations engine.
@gregtatum @nordzilla do you mean it's just fine for a spinner to be input just before creating the translation engine?
what I realized going through the code is that there are different instances of creating the translation engine.
it looks to me like the translation engine is being destroyed and recreated after a change in language selection,
OR is the spinner to be before the entire page even loads. cause you said something about a dimming feature.
I realized when i used the "about:translations", no dimming feature was apparent to me.
id appreciate if you could shed light on this so i could know if im on the right path
Thank you
abd007
(outreachy)
Comment 10•6 months ago
|
||
(In reply to Greg Tatum [:gregtatum] from comment #3)
The un-privileged UI code for this lives in toolkit/components/translations/content/translations.mjs
The remote settings code is privileged code, and needs to be wired in using the AboutTranslationsChild actor. This is done with a global function similar to this. Or maybe it would be fine to just have a spinner awaiting the promise to download the model and the engine. This is what we do in the URL bar.
about:translations is currently in our backlog and is a developer-focused tool for now for testing the translations engine.
Please what are you referring to when you say the model ? is it the translationRequest ?
Comment 11•6 months ago
|
||
Updated•6 months ago
|
Comment 12•6 months ago
|
||
Depends on D191027
Comment 13•6 months ago
|
||
Depends on D191027
Comment 14•6 months ago
|
||
Hi peterodejobi9
It looks like you've got 3 patches submitted for the exact same behavior.
Could you please take the time to consolidate everything locally into a single patch and then abandon the other two?
To abandon a patch, go to the patch in Phabricator, scroll all the way to the bottom and choose "Add Action..." and abandon the revision.
It looks like they are also linked together as parent/child revisions. It would be good to unlink them from each other and only keep the one patch that you intend to have reviewed.
To unlink them, go to the top of the page in Phabricator, on the right side, and use the "Edit Related Revisions" option.
Comment 15•6 months ago
|
||
(In reply to Erik Nordin [:nordzilla] from comment #14)
Hi peterodejobi9
It looks like you've got 3 patches submitted for the exact same behavior.
Could you please take the time to consolidate everything locally into a single patch and then abandon the other two?
To abandon a patch, go to the patch in Phabricator, scroll all the way to the bottom and choose "Add Action..." and abandon the revision.
It looks like they are also linked together as parent/child revisions. It would be good to unlink them from each other and only keep the one patch that you intend to have reviewed.
To unlink them, go to the top of the page in Phabricator, on the right side, and use the "Edit Related Revisions" option.
Hi Erick one of the related patches is for the linting error phab-bot complained about.
Updated•6 months ago
|
Comment 16•6 months ago
|
||
(In reply to Erik Nordin [:nordzilla] from comment #14)
Hi peterodejobi9
It looks like you've got 3 patches submitted for the exact same behavior.
Could you please take the time to consolidate everything locally into a single patch and then abandon the other two?
To abandon a patch, go to the patch in Phabricator, scroll all the way to the bottom and choose "Add Action..." and abandon the revision.
It looks like they are also linked together as parent/child revisions. It would be good to unlink them from each other and only keep the one patch that you intend to have reviewed.
To unlink them, go to the top of the page in Phabricator, on the right side, and use the "Edit Related Revisions" option.
Thank you Eric I'll get to work on everything you said right now.
Updated•6 months ago
|
Updated•6 months ago
|
Comment 17•6 months ago
|
||
Comment 18•6 months ago
|
||
is rebuilts i.e language pairs change. r=gregtatum,nordzilla!
when the worker is rebuilt i.e when language pairs change.r=gregtatum,nordzilla!
Depends on D191143
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 19•6 months ago
|
||
Depends on D191258
Comment 20•6 months ago
|
||
Depends on D191261
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 21•6 months ago
|
||
Depends on D191258
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 22•6 months ago
|
||
Depends on D191143
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 23•6 months ago
|
||
Depends on D191143
Comment 24•6 months ago
|
||
Depends on D191331
Comment 25•6 months ago
|
||
Depends on D191334
Comment 26•6 months ago
|
||
Depends on D191336
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Reporter | ||
Comment 27•6 months ago
|
||
Hey rinwaoluwa, could you please not create so many attachments and mark them as obsolete? I'm not sure what you're trying to do, but it's not the proper way to update revisions. You can push updates to an existing revision on Phabricator. I'm getting an email for every action you are taking here, and it's starting to be a bit disruptive. In addition CI tasks run against the revisions when you push them up. You should only push up updates when you are ready for additional feedback.
Comment 28•6 months ago
|
||
(In reply to Greg Tatum [:gregtatum] from comment #27)
Hey rinwaoluwa, could you please not create so many attachments and mark them as obsolete? I'm not sure what you're trying to do, but it's not the proper way to update revisions. You can push updates to an existing revision on Phabricator. I'm getting an email for every action you are taking here, and it's starting to be a bit disruptive. In addition CI tasks run against the revisions when you push them up. You should only push up updates when you are ready for additional feedback.
Hi Erick i'm so sorry about that i just pushed the finished and tested code and abandoned the rest of the revision i was trying to make all the changes into 1 patch like you requested the last time and i have finalized that. I'm sorry once again it's my first time working with mecurial i was having a hard time with it.
Updated•6 months ago
|
Comment 29•6 months ago
|
||
Comment 30•6 months ago
|
||
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•5 months ago
|
Comment 31•3 months ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Description
•