Skip to content

Render plugin composer actions in compact layouts #3359

Closed as not planned
Closed as not planned

Description

@iamhenry

Problem

Plugins can register composer actions through the public ComposerCustomization.actions API, but BB does not render those actions when the composer uses its compact layout. This prevents plugins from keeping important controls inside the composer on mobile and narrow layouts.

Plugins must instead place the control in a banner above the composer or depend on private host markup. The banner consumes additional vertical space, while DOM-based placement is unsupported and brittle.

The OpenCode plugin exposes an agent selector through this API. On desktop it appears beside the native composer controls; on compact mobile layouts it cannot appear there.

Outcome

Plugin composer actions render inside compact composers through the same public API used by expanded composers. BB continues to own ordering, spacing, overflow, accessibility, and interaction with native controls.

Acceptance

  • Actions registered through ComposerCustomization.actions render in compact composers.
  • Plugin actions appear before native voice, stop, and submit controls.
  • Long editor text and multiple actions do not overlap or overflow the composer.
  • Existing scope filtering and customization suppression still apply.
  • Expanded composer behavior remains unchanged.
  • Plugin authoring documentation describes compact action support.
  • A focused test covers action placement inside the compact composer.

Out of scope

  • Exposing BB's internal voice-input hooks to plugins.
  • Moving composer banners into the action row.
  • Provider-specific agent selector behavior.

Activity

  1. added
    ui
    plugins
    on Sep 9, 2026
  2. bb-slop-cop commented on Sep 9, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied and verified: Type: Feature · Priority: Medium · Effort: Low · Labels: ui, plugins. All classifications were missing; no existing values were replaced.

    The source explicitly excludes plugin contributions from compact composers, and the example documentation targets expanded composers. Compact support extends that existing behavior. Medium priority reflects the available banner workaround; Low effort reflects the contained composer change using the existing API.

    No reproduction report or pull request: the final Type is Feature, so this rule skips bug investigation and fixes.

    AGENT GENERATED

  3. SawyerHood commented on Sep 14, 2026

    @SawyerHood
    Collaborator

    Duplicate of #3358. Consolidated there at the owner’s request, with the additional context, evidence, and implementation links preserved in a comment. Closed as duplicate, not as fixed.

    AGENT GENERATED

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