Skip to content

WIP: Bug 2051316 - POC Reorderable homepage sections via a combined settings list - #453

Closed
t-p-white wants to merge 1 commit into
mozilla-firefox:mainfrom
t-p-white:phab-D309555
Closed

t-p-white wants to merge 1 commit into
mozilla-firefox:mainfrom
t-p-white:phab-D309555

Conversation

@t-p-white

@t-p-white t-p-white commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

DO NOT REVIEW OR LAND — Heavily AI-assisted proof of concept for demo purposes only.

Adds a secret-settings selector to switch the homepage section experience between the existing fixed layout and a reorderable mode. Reordering is the default; the existing homepage applies only when explicitly selected.

{F74046239}

  • The homepage renders its sections in a user-defined order, read reactively from a persisted order string via a shared HomepageSection model. The header is decoupled so the Firefox logo and the private/stories buttons are individually orderable sections, and section spacing is centralized for consistency.
  • The homepage settings show a single drag-to-reorder list where each section is a row with a 48dp drag handle (with an accessibility label) and, where applicable, an on/off toggle. Reordering uses measured neighbour heights, gives haptic feedback on pick-up, and offers a Reset to default order action.
  • The SportsWidget top spacing is gated behind a flag so it is present on the reorderable homepage and absent on the existing one.

Gated behind the secret setting.

Differential Revision: https://phabricator.services.mozilla.com/D309555


Lando: link
Bugzilla: bug 2051316

⚠️ This pull request has 2 warnings.
🚫 This pull request has 5 blockers.

…ettings list

DO NOT REVIEW OR LAND — Heavily AI-assisted proof of concept for demo purposes only.

Adds a secret-settings selector to switch the homepage section experience between the existing fixed layout and a reorderable mode. Reordering is the default; the existing homepage applies only when explicitly selected.

{F74046239}

- The homepage renders its sections in a user-defined order, read reactively from a persisted order string via a shared HomepageSection model. The header is decoupled so the Firefox logo and the private/stories buttons are individually orderable sections, and section spacing is centralized for consistency.
- The homepage settings show a single drag-to-reorder list where each section is a row with a 48dp drag handle (with an accessibility label)
  and, where applicable, an on/off toggle. Reordering uses measured neighbour heights, gives haptic feedback on pick-up, and offers a Reset to default order action.
- The SportsWidget top spacing is gated behind a flag so it is present on the reorderable homepage and absent on the existing one.

Gated behind the secret setting.

Differential Revision: https://phabricator.services.mozilla.com/D309555
@t-p-white t-p-white closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant