Open Bug 2051316 Opened 5 months ago Updated 10 days ago

POC for reorderable homepage sections

Categories

(Firefox for Android :: Homepage, task)

All
Android
task

Tracking

()

People

(Reporter: towhite, Assigned: towhite)

References

Details

(Whiteboard: [fxdroid][group2])

Attachments

(1 file, 1 external file, 1 obsolete file)

Exploring a possible UX and implementation approach for a reorderable homepage. This is a highly experimental proof of concept built solely for internal demos and discussion. It does not represent a committed product direction or final implementation.

Main options explored here:

  1. Re-order using the existing sections list in homepage settings
  2. Re-order using the sections directly with a drag and drop action
  3. Separate re-order section

Reordering via the existing Sections list in Homepage Settings is the recommended approach for the following reasons:

  • It integrates naturally with the existing Homepage Settings experience.
  • It is significantly less error-prone than allowing users to edit the homepage directly.

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.

In reorderable mode:

  • 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.

Attachment #9602936 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: