Closed Bug 2077206 Opened 1 month ago Closed 24 days ago

Extract <sidebar-panel-header> to a single element displayed over sidebar panels

Categories

(Firefox :: Sidebar, task)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: jsudiaman, Assigned: jsudiaman)

References

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(1 external file)

Currently, all panels in the revamped sidebar include an instance of <sidebar-panel-header> in the DOM. This is inefficient, and can potentially introduce more bugs – such as Bug 2076296 – when adding or maintaining panels further down the line.

It is also apparent that loading this component directly inside of legacy panels can expose subtle XUL-based timing issues.

A more stable implementation would be one element, within the chrome that sits on top of the sidebar <browser>, that updates whenever the active panel changes.

This approach could take care of Bug 2076794 and Bug 2077473 as well.

Summary: Extract <sidebar-panel-header> to a single component displayed over sidebar panels → Extract <sidebar-panel-header> to a single element displayed over sidebar panels
Assignee: nobody → jsudiaman
Status: NEW → ASSIGNED
Blocks: 2076794
Blocks: 2077473
Attachment #9657166 - Attachment description: WIP: Bug 2077206 - Extract <sidebar-panel-header> to a single element displayed over sidebar panels r?#sidebar-reviewers → Bug 2077206 - Extract <sidebar-panel-header> to a single element displayed over sidebar panels r?#sidebar-reviewers
Blocks: 2006225
Pushed by jsudiaman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5da0f66d7e81 https://hg.mozilla.org/integration/autoland/rev/c2c9d7a7a37e Extract <sidebar-panel-header> to a single element displayed over sidebar panels r=sidebar-reviewers,desktop-theme-reviewers,credential-management-reviewers,places-reviewers,kcochrane,sfoster,mtigley
Pushed by jsudiaman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/329c12136158 https://hg.mozilla.org/integration/autoland/rev/59f902b3b90d Extract <sidebar-panel-header> to a single element displayed over sidebar panels r=sidebar-reviewers,desktop-theme-reviewers,credential-management-reviewers,places-reviewers,kcochrane,sfoster,mtigley

Reverted this because it was causing wpt failures.

Pushed by jsudiaman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d1c9ac15bd7c https://hg.mozilla.org/integration/autoland/rev/2e493f179fc9 Extract <sidebar-panel-header> to a single element displayed over sidebar panels r=sidebar-reviewers,desktop-theme-reviewers,credential-management-reviewers,places-reviewers,kcochrane,sfoster,mtigley
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Flags: needinfo?(jsudiaman)
Blocks: 2066739
QA Whiteboard: [qa-ver-needed-c161/b160]
QA Whiteboard: [qa-ver-needed-c161/b160] → [qa-triage-done-c160/b159]
Duplicate of this bug: 2076737
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: