Skip to content

Make the thread Info panel a bundled, forkable plugin (like thread-list) #4956

Description

@brsbl

Problem

The thread Info panel (right panel → Info) is built into the app. A user or plugin author who wants a different Info panel cannot change it without forking bb itself. Examples include extra rows for their own tools, a different order, or a domain-specific view of commits and files.

The panel reads private app hooks (workspace status, thread list cache, storage browser) and calls private actions (open diff, open file preview, set merge base, assign parent). No public API offers the same data or actions, so a plugin cannot rebuild it.

Proposal

Do for the Info panel what plugins/thread-list did for the sidebar, and what #4814 proposes for the thread view.

  1. Ship the Info panel as a bundled plugin. Build it only on the public SDK, so anyone can fork it.
  2. Add the public SDK surface it needs. Each new member gets an experimental_ prefix and an entry in docs/api_to_audit.md.
    • Read: the thread's properties (parent, project, environment, machine, directory, branch, pull request, archived state).
    • Read: workspace status (merge base, ahead and behind counts, commits ahead, changed files by bucket with line stats).
    • Read: related threads (subthreads and forks, with their status).
    • Read: thread storage files.
    • Actions: open a commit or file diff, open a workspace or storage file in a panel tab, set the merge base.
    • Actions: assign or clear the parent, unarchive, and start a thread in the same environment.
    • Updates: realtime updates for all of the above.
  3. Let a plugin replace the built-in Info tab, or contribute sections to it.
  4. Export the list primitives as importable components. These are the section heading with count pill, list row with glyph column and hover action, overflow row, and compact time from Redesign the thread Info panel around one list system #4898, so forks compose them instead of copying.

Acceptance criteria

  • The default Info panel ships as a bundled plugin with no private-module imports.
  • A forked copy can reorder sections, hide a section, and add a section without patching bb.
  • Every new SDK member is documented in the Plugin Guide and listed in docs/api_to_audit.md.

Context

AGENT GENERATED

Activity

  1. added
    ui
    plugins
    on Oct 5, 2026
  2. bb-slop-cop commented on Oct 5, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type: Feature, Priority: Medium, and Effort: High. Preserved existing labels: ui, plugins.

    This adds plugin customization rather than correcting unexpected behavior. Medium priority reflects a meaningful extensibility improvement with the existing panel available; High effort reflects new public SDK and UI integration surfaces.

    Final Type verified as Feature. No bug report or pull request: feature architecture is outside this rule’s simple-bug-fix scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginsui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions