Skip to content

Side panel should be tab-specific: hide when switching tabs, reappear on return #5

Description

@patrickiel

What are you trying to practise?

Guitar on Youtube

What you have in mind

The side panel is currently global: once opened (e.g. on a YouTube tab), it stays open when switching to unrelated tabs.

Expected:

  • Clicking the extension icon opens the panel for that tab only
  • Switching to another tab hides the panel
  • Switching back to that tab shows it again

Notes: Chrome supports this natively via per-tab sidePanel.setOptions (default disabled, enable per tab on action click). Panel-initiated flows that create tabs (openLocalPlayer, opening a library track in a new tab) must also enable the panel on the new tab. Firefox has no per-tab sidebar API, so behavior stays per-window there.

What you do today instead

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions