Closed Bug 1881767 Opened 2 years ago Closed 4 months ago

Replace about:addons navigation sidebar with moz-page-nav reusable component

Categories

(Toolkit :: Add-ons Manager, task, P1)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: hjones, Assigned: rpl)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [recomp][addons-jira])

Attachments

(6 files)

kcochrane recently created a new moz-page-nav reusable component in bug 1850591. It is designed to standardize how we build navigation elements in in-content pages. It offers a number of accessibility improvements over the bespoke one written for about:addons (the heading for wayfinding, the notch to indicate the selected page), and has had a lot of recent attention from the UX / a11y teams. It will also have the added benefit of making about:addons cohesive with Firefox View, and with about:preferences once bug 1867385 is completed.

Severity: -- → N/A
Priority: -- → P5
Depends on: 1888428
Whiteboard: [recomp]
Depends on: 1927211
Depends on: 1927214
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Priority: P5 → P1
Whiteboard: [recomp] → [recomp] [addons-jira]
Whiteboard: [recomp] [addons-jira] → [recomp][addons-jira]
Attachment #9575627 - Attachment description: WIP: Bug 1881767 - Migrate about:addons categories-box to moz-page-nav reusable components. → Bug 1881767 - Migrate about:addons categories-box to moz-page-nav reusable components. r?willdurand!
Attachment #9582945 - Attachment description: WIP: Bug 1881767 - Better alignment between the about:addons main view header and moz-page-nav primary header. → Bug 1881767 - Better alignment between the about:addons main view header and moz-page-nav primary header.
Pushed by luca.greco@alcacoop.it: https://github.com/mozilla-firefox/firefox/commit/58630e1cb9d9 https://hg.mozilla.org/integration/autoland/rev/3567a8d87863 Migrate about:addons categories-box to moz-page-nav reusable components. r=willdurand,kcochrane,fluent-reviewers,bolsson https://github.com/mozilla-firefox/firefox/commit/625fef885cf1 https://hg.mozilla.org/integration/autoland/rev/6c3a70e1e6e8 Better alignment between the about:addons main view header and moz-page-nav primary header. r=willdurand https://github.com/mozilla-firefox/firefox/commit/02ceae9337cb https://hg.mozilla.org/integration/autoland/rev/fb6ebc77bd49 Remove unused sidebar fluent strings from aboutAddons.ftl. r=fluent-reviewers,flod https://github.com/mozilla-firefox/firefox/commit/71694205b55f https://hg.mozilla.org/integration/autoland/rev/31a91102e433 Remove remaining use of the CategoryUtilities test helpers from the AddonManager mochitest-browser tests. r=willdurand https://github.com/mozilla-firefox/firefox/commit/bc1688412e22 https://hg.mozilla.org/integration/autoland/rev/4bd27615ed5f Tweak browser_html_mlmodel_addons.js to unblock removing CategoriesBox workaround for test calling click on moz-page-nav-button elements. r=willdurand
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2678ae6fce26 https://hg.mozilla.org/integration/autoland/rev/b3b4fe0bc452 Revert "Bug 1881767 - Tweak browser_html_mlmodel_addons.js to unblock removing CategoriesBox workaround for test calling click on moz-page-nav-button elements. r=willdurand" for causing mochitests failures in browser_commands.js.

Reverted this because it was causing mochitests failures in browser_commands.js.

  • Revert link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser-quickactions/browser_commands.js | test_pages - Uncaught exception in test - undefined - timed out after 50 tries.
Flags: needinfo?(lgreco)
Attachment #9587605 - Attachment description: Bug 1881767 - Adjust browser_commands.js test file to the moz-page-nav based about:addons sidebar. → Bug 1881767 - Adjust browser_commands.js and browser_tab_refocus.js quickactions tests to the moz-page-nav based about:addons sidebar.

(In reply to Serban Stanca [:SerbanS] from comment #8)

Reverted this because it was causing mochitests failures in browser_commands.js.

I'm on it, I just attached a new patch with the small tweaks that this browser_commands.js needed to pass on the new moz-page-nav based sidebar (along with similar tweaks that browser_tab_refocus.js also needed).

Flags: needinfo?(lgreco)
Pushed by luca.greco@alcacoop.it: https://github.com/mozilla-firefox/firefox/commit/a296da786746 https://hg.mozilla.org/integration/autoland/rev/5ac1960be581 Migrate about:addons categories-box to moz-page-nav reusable components. r=willdurand,kcochrane,fluent-reviewers,bolsson https://github.com/mozilla-firefox/firefox/commit/0d6c9ee3e7ee https://hg.mozilla.org/integration/autoland/rev/b8812d95a4ae Better alignment between the about:addons main view header and moz-page-nav primary header. r=willdurand https://github.com/mozilla-firefox/firefox/commit/95f120bf513e https://hg.mozilla.org/integration/autoland/rev/00c2a4c4594d Remove unused sidebar fluent strings from aboutAddons.ftl. r=fluent-reviewers,flod https://github.com/mozilla-firefox/firefox/commit/29c93eb0f410 https://hg.mozilla.org/integration/autoland/rev/6da8afa3c1f4 Remove remaining use of the CategoryUtilities test helpers from the AddonManager mochitest-browser tests. r=willdurand https://github.com/mozilla-firefox/firefox/commit/d6eb5e2adb56 https://hg.mozilla.org/integration/autoland/rev/a387a6e9e507 Tweak browser_html_mlmodel_addons.js to unblock removing CategoriesBox workaround for test calling click on moz-page-nav-button elements. r=willdurand https://github.com/mozilla-firefox/firefox/commit/9b5a97391a84 https://hg.mozilla.org/integration/autoland/rev/30ad6f17a2b3 Adjust browser_commands.js and browser_tab_refocus.js quickactions tests to the moz-page-nav based about:addons sidebar. r=urlbar-reviewers,mak
Regressions: 2040971
See Also: → 2041571
Blocks: 2042198
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: