Implement scrollable tabs bar view that displays the active and other tabs

VERIFIED FIXED

Status

()

Firefox for iOS
Browser
VERIFIED FIXED
2 years ago
a year ago

People

(Reporter: sleroux, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Mock ups: https://docs.google.com/document/d/1fSkzdh-gqmsP0RPRmA1J8N95znt-7Rn9msCYY5rQWpg/edit

The tabs bar will need to render all tabs for the current mode (private/normal) along the top inside the tabs bar view. The active tab should be appear selected while others are deselected. As a first pass, when the number of tabs overflow, the tabs should be scrollable to reveal the remaining tabs.
(Reporter)

Comment 1

2 years ago
For implementing this feature I would look into using a UICollectionView and connect the existing TabsDataSource we use in the TabTrayController. The UICollectionView will provide us with cell recycling and additional view customization we'll need for rendering the curve views (as decoration views), custom animations (if we implement the 'stacking' tabs animation), and an API for reordering (if we want to implement the move tab functionality).
(Reporter)

Comment 2

2 years ago
Resolved with patch on meta.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Verifying as fix on master 51abcc7c.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.