pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

If user clicks browser icon with badge show mod sidebar by default

Open twschiller opened this issue 1 year ago • 0 comments

User Story

  • As an announcements mod user, when I click the badged icon to open the sidebar, I want the sidebar to open to the announcements panel
  • As an AA notices mod user, when I click the badged icon to open the sidebar, I want the sidebar to open to the AA copilot

Motivation

  • New users, e.g., users receiving the starter mods, will have no way of knowing that the announcements starter mod is the reason for the badge

Future Work

  • Add support for passing the panel name to show in "Set Toolbar Badge". (To handle cases where there are multiple sidebar components in the mod)

Acceptance Criteria

  • If the mod that set the toolbar badge has a sidebar component, show that mod when the user clicks to toggle open the sidebar
  • If the mod has multiple sidebar components, show any of the sidebars (in practice, the mods have a single sidebar)

twschiller avatar May 07 '24 02:05 twschiller