Closed
Bug 1880542
Opened 1 year ago
Closed 11 months ago
Refactor fxview-tab-list and fxview-tab-row
Categories
(Firefox :: Sidebar, task, P1)
Firefox
Sidebar
Tracking
()
RESOLVED
FIXED
126 Branch
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: sclements, Assigned: kcochrane)
References
(Blocks 2 open bugs, Regressed 1 open bug)
Details
(Whiteboard: [fidefe-firefox-view])
Attachments
(1 file)
These components have gotten more complex with the addition of tab indicators and pinned tabs. Simple use cases don't need more than a title and url (for the sidebar), and even within firefox view, only Open Tabs needs to care about the tab indicator and pinned tab logic.
A few ideas:
- Can we make the fxview-tabs-list more generic by moving
handleFocusElementInRow
to be handled by row elements? then we can create and slot in different custom row elements to the list depending on the use case? Might need to use lit context for any logic/state handled in the list. - Then have
fxview-tab-row-simple
be a base class from which others could extend, iefxview-tab-row
,fxview-open-tabs-row
, etc.
Updated•1 year ago
|
Updated•1 year ago
|
Assignee: nobody → kcochrane
Assignee | ||
Updated•1 year ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Attachment #9392853 -
Attachment description: WIP: Bug 1880542 - Refactor fxview-tab-list and fxview-tab-row → Bug 1880542 - Refactor fxview-tab-list and fxview-tab-row r=sfoster
Pushed by kcochrane@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfd96ba0e091
Refactor fxview-tab-list and fxview-tab-row r=sfoster,fxview-reviewers,jsudiaman
Comment 3•11 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Assignee | ||
Updated•9 months ago
|
Component: Firefox View → Sidebar
You need to log in
before you can comment on or make changes to this bug.
Description
•