Display selected tab in sidebar open tabs panel when Nova is enabled
Categories
(Firefox :: Sidebar, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: nsharpley, Assigned: dr.seed.lu, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-sidebar][outreachy-sidebar-2026])
Attachments
(1 file, 1 external file)
|
61.41 KB,
image/png
|
Details |
When browser.nova.enabled is true, we display a selected tab in the tab strip with a gradient border. We should do the same for the sidebar open tabs panel when Nova is enabled. Gradient implementation found here: https://searchfox.org/firefox-main/rev/89a0d289f40c328d85ec105574f5e7d34fd9846d/browser/themes/shared/tabbrowser/tabs.css#921-931
Updated•5 months ago
|
Updated•5 months ago
|
This adds the gradient border to the active tab in the sidebar Open Tabs
panel when browser.nova.enabled is true, matching the tab strip.
Each sidebar-tab-row watches its own tab's selected attribute with a
MutationObserver and sets a current attribute when its tab is the
active one.
This is needed because OpenTabs.sys.mjs treats TabSelect as
a TabRecencyChange, not a TabChange, so the panel's existing TabChange
listener does not pick up tab switches. Rows in the other sidebar panels
do not receive a tab element and are unaffected.
Updated•5 months ago
|
Updated•5 months ago
|
Updated•3 months ago
|
Description
•