Skip to content

Show the on/off switch on browse cards for installed plugins - #5344

Merged
brsbl merged 1 commit into
mainfrom
bb/catalog-card-plugin-switch
Oct 12, 2026
Merged

brsbl merged 1 commit into
mainfrom
bb/catalog-card-plugin-switch

Conversation

@brsbl

@brsbl brsbl commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Browse cards for installed plugins showed only "Built in", "Installed" or an install count. A plugin that was installed but turned off looked like it was running. Off-by-default plugins such as Agent Annotations and Prompt Library could only be turned on from the Installed tab or the detail page.

What changed

  • Browse cards for installed plugins now show the on/off switch.
  • It is the same switch and enable action that the Installed tab and plugin detail pages use.
  • The existing label and the hover-to-uninstall action on installed cards stay as they are.
  • Plugins that are not installed are unchanged.

How you verified

  • Remote CI passed on 3983e3bf4: 18 passed and 10 skipped. Run
  • A new BrowsePluginsTab test checks that an installed plugin that is off shows an unchecked switch, and that toggling it calls the enable endpoint. It fails without the change.
  • A plugin that is not installed shows no switch.
  • In the app (headless Chrome 155, bb Browser Automation), toggling Agent Annotations on from its browse card enabled it on the server.
  • Slop Cop on 3983e3bf4 (security, architecture, code quality, performance): no P0/P1 findings. Slim-pr found nothing to remove.

Follow-ups (P2, not in this PR)

  • The test should also cover a plugin whose catalog id differs from its installed id, such as docs and simple-notes.
  • Each installed card looks up the plugin list on its own. A single lookup in the grid would be cheaper with many installed plugins.

Browse cards for installed plugins

Before: 3912f4a (main) · After: 3983e3b · Captured at 2×. Fixture: a fresh instance with Drafts turned off, and the community plugin Agent Graph installed and turned off.

Screen / state Viewport Before After
Browse / BB Official shelf Desktop · 1440×900 Before browse desktop After browse desktop
Browse / BB Official shelf Mobile · 390×844 Before browse mobile After browse mobile
View all BB Official Desktop · 1440×900 Before view all After view all
Community plugin turned off (Agent Graph) Desktop · 1440×900 Before community After community
Agent Annotations after toggling on Desktop · 1440×900 No switch on base After toggling on

BB-Thread-ID: thr_kxipfsmu7x

AGENT GENERATED

🤖 Generated with Claude Code

Browse cards for installed plugins now carry the same switch the Installed tab and plugin detail pages use, so a plugin that is installed but turned off no longer reads as running.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T19:58:03.099120Z 3983e3b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brsbl
brsbl merged commit 1c88f54 into main Oct 12, 2026
28 checks passed
@brsbl
brsbl deleted the bb/catalog-card-plugin-switch branch October 12, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant