Closed Bug 2056304 Opened 2 months ago Closed 2 months ago

Add full browser theme selection sub-panel to the New Tab Customize Panel

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: maxx, Assigned: maxx)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Add the full browser theme selection sub-panel to the New Tab Customize Panel, following the management-panel pattern (WidgetsManagementPanel.jsx / SectionsMgmtPanel.jsx): a moz-box-button opens a sliding full all-themes sub-view.

Scope:

  • New management panel component under components/CustomizeMenu/ (or the Nova path).
  • Sub-panel visibility state in Base.jsx (mirroring showWidgetsManagementPanel), threaded through CustomizeMenu -> ContentSection.
  • CSSTransition + onSubpanelToggle slide coordination.
  • Opened from the row picker see-all entry point.
  • Wire to the redux theme data from bug 2056300.
Depends on: 2056301

Wire the existing "See more themes" button in the customize panel's Appearance section to a new full theme selection sub-panel.

  • New ThemesManagementPanel (mirrors WidgetsManagementPanel): the box-button opens a sliding sub-panel with a back button ("Firefox Themes" title), the full-layout theme-picker (Light/Dark/Device chooser + all themes), and a moz-box-link out to the about:addons themes list.
  • Panel visibility state (showThemesPanel / toggleThemesPanel) lives in Base and is threaded through CustomizeMenu to ContentSection.
  • OPEN_ABOUT_ADDONS_THEMES action + AboutPreferences handler open addons://list/theme via BrowserAddonUI.openAddonsMgr.
  • Load the moz-box-link element module in the prerendered and startup-cache HTML; reuse the mgmt-panel slide styles for .themes-mgmt-panel.
  • Tests for the panel and appearance section; Karma coverage override for the Jest-tested panel.
Assignee: nobody → mcrawford
Attachment #9613684 - Attachment description: WIP: Bug 2056304 - Add the full browser theme selection panel to the New Tab customize panel r?#home-newtab-reviewers → Bug 2056304 - Add the full browser theme selection panel to the New Tab customize panel r?#home-newtab-reviewers
Status: NEW → ASSIGNED
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7103dc909fa7 https://hg.mozilla.org/integration/autoland/rev/1224407227ad Revert "Bug 2056304 - Add the full browser theme selection panel to the New Tab customize panel r=Dre" for causing bc process crashes

Backed out for causing node failures.

Trying again! Thanks!

Flags: needinfo?(mcrawford)
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: