Closed Bug 1903156 Opened 2 years ago Closed 1 year ago

Remove duplicate code from older menus once the new menus land

Categories

(Toolkit :: Reader Mode, task, P3)

Desktop
Unspecified
task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: ini, Assigned: ini)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When the new menus are enabled by default and officially released (aiming for Fx 129), the duplicate code for the old Type controls menu and Read aloud menu can be removed from the code-base. This involves going through aboutReader.html, aboutReader.css, NarrateControls.sys.mjs, and VoiceSelect.sys.mjs and removing the code that is executed conditionally only when the reader.improved_text_menu.enabled and reader.colors_menu.enabled prefs are false. We may also want to rename HTML classes and function names so they no longer have the "improved" prefix. aboutReader.ftl and narrate.properties also contain some strings that are no longer used.

Severity: -- → N/A
Assignee: nobody → ini

After discussion with the team, we have decided to land this patch after 2 release cycles have passed to make sure there is no need to backtrack the new menu updates. @cmkm will handle landing this patch once Fx131 has been released.

See Also: → 1936890
Pushed by cmeador@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6fb7aed437c Remove duplicate code from older menus once the new menus land. r=reader-mode-reviewers,desktop-theme-reviewers,dao,Gijs

Backed out for causing bc failures on browser_readerMode_colorSchemePref.js, browser_parsable_css.js

Backout link

Push with failures - browser_readerMode_colorSchemePref.js
Push with failures - browser_parsable_css.js

Failure log // Failure log 2

Flags: needinfo?(rhn0312)

Clearing NI for Irene who is no longer at Mozilla. I will probably not be able to investigate this until the new year

Flags: needinfo?(rhn0312)
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e96fd24292b9 Remove duplicate code from older menus once the new menus land. r=reader-mode-reviewers,desktop-theme-reviewers,dao,Gijs
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Thanks for your help getting this landed Gijs!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: