Add effects to always- and never-translate menuitems
Categories
(Firefox :: Translations, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: nordzilla, Assigned: nordzilla)
References
Details
Attachments
(2 files, 9 obsolete files)
Bug 1829691 adds the always-translate and never-translate menuitems to the translations panel, but only hooks up the infrastructure to interact with the preferences and perform the correct actions upon loading a page.
This bug adds effects to the buttons that will trigger behaviors when clicked.
-
always-translate language will immediately translate the page if not already translated.
-
never-translate language will hide the translations button and restore the page if translated.
-
never-translate site will hide the translations button and restore the page if translated.
Assignee | ||
Comment 1•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 2•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 3•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 4•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 5•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Assignee | ||
Comment 6•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 7•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 8•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 9•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 10•2 years ago
|
||
Adds functionality to the following menuitems:
always-translate language will immediately translate
the page if not already translated.
never-translate language will hide the translations
button and restore the page if translated.
never-translate site will hide the translations
button and restore the page if translated.
Depends on D177860
Assignee | ||
Comment 11•2 years ago
|
||
Depends on D178512
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
Backed out for causing failures at browser_about_translations_debounce.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/6aa20cd839a4400c717350949739158101461a93
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=416629920&repo=autoland&lineNumber=67237
https://treeherder.mozilla.org/logviewer?job_id=416630130&repo=autoland&lineNumber=106810
https://treeherder.mozilla.org/logviewer?job_id=416638395&repo=autoland&lineNumber=164030
https://treeherder.mozilla.org/logviewer?job_id=416629922&repo=autoland&lineNumber=21614
Comment 15•2 years ago
|
||
That kind of looks like Bug 1834067, I triggered more runs. We should probably just disable that test for now and follow-up.
Assignee | ||
Comment 16•2 years ago
|
||
This is an old intermittent issue from Bug 1821461 that we believed was fixed in this revision:
https://phabricator.services.mozilla.com/D178448#change-X4JCCMBxHUGV
The code that it tests is not part of the Translations MVP, and the code that landed in this bug does not touch this test at all.
I have re-disabled the test and I am re-landing.
https://phabricator.services.mozilla.com/D178723
Comment 17•2 years ago
|
||
Comment 18•2 years ago
|
||
Backed out for causing failures at browser_console_content_object_in_sidebar.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/4da2b81752a7cf92c40f93504ba3565455b7d697
Failure log:
Mn failure: https://treeherder.mozilla.org/logviewer?job_id=416668684&repo=autoland&lineNumber=17526
Bc failure: https://treeherder.mozilla.org/logviewer?job_id=416665343&repo=autoland&lineNumber=45431
Dt failure: https://treeherder.mozilla.org/logviewer?job_id=416665323&repo=autoland&lineNumber=27115
Bc failure: https://treeherder.mozilla.org/logviewer?job_id=416666436&repo=autoland&lineNumber=101525
Assignee | ||
Comment 19•2 years ago
|
||
Ah, how frustrating.
This is due to a misunderstanding of the value of the aDefaultValue
parameter in defineLazyPreferenceGetter()
.
I've fixed the issue in this code, and also submitted a patch to clarify the defineLazyPreferenceGetter()
code:
https://bugzilla.mozilla.org/show_bug.cgi?id=1834595
Here is a clean try run:
Comment 20•2 years ago
|
||
Comment 21•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7420159aa934
https://hg.mozilla.org/mozilla-central/rev/56ff28106079
Description
•