Skip to content

Plugin API: move the existing composer into a sidebar tab #6263

Description

@JackALaing

The workflow

On my iPhone, I often need to refer to earlier messages while composing a detailed reply. As the draft grows, the composer takes up most of the screen and pushes the conversation out of view. Moving between reading and writing becomes awkward precisely when the reply needs the most context.

I would like a Sidebar Composer plugin: tap a button in the composer to move it into a focused right-sidebar tab, then switch between the conversation and the draft without losing my place.

What happens today

I encounter this in the iOS app connected to a locally modified BB 0.47.1 installation; it has not been reproduced on clean upstream main.

Source inspection found APIs for adding composer actions and opening plugin tabs, but no supported way to relocate the existing main composer and restore it when the tab closes.

Embedding another ThreadChat in a tab would create another editor and include the timeline. Sharing draft text is not the same as preserving the existing editor’s cursor, undo history and plugin state. Moving host-owned DOM directly from a plugin would depend on private layout and React lifecycle details.

What you would expect

A supported plugin API for presenting the existing thread composer in another host-managed surface, initially a right-sidebar tab. I am open to a built-in feature if that fits BB better; the desired workflow is:

  1. Tap a composer action to move the main composer into a new focused right-sidebar tab, leaving existing tabs intact.
  2. Read and scroll the conversation independently, then return to the composer by reopening its tab or swiping between the views on iOS.
  3. Keep the same editor state: draft text, attachments, cursor/selection, undo history, composer controls and plugin contributions. There should not be two competing editors for the same draft.
  4. Temporarily dismissing the sidebar or selecting another tab preserves the draft and editor state.
  5. Closing the composer tab returns the composer to its normal position and focuses it. Disabling the plugin should also restore a usable main composer.

The host would need to support placement and restoration, including tab closure, without requiring a plugin to manipulate private DOM.

The iOS keyboard must leave the editor and send controls usable. Switching back to the conversation should make it readable without discarding or submitting the draft.

Context and alternatives

The main need is on iOS. A separate native macOS window would be an optional desktop enhancement; it cannot solve the mobile problem or replace support for a sidebar composer. If native-window placement becomes possible, a plugin could store a desktop preference for sidebar versus window rather than asking on every click. iOS would always use the sidebar.

Related issues:

A smaller composer or easier keyboard dismissal may reduce the immediate obstruction. The distinct request here is to let users keep a long draft available separately from the conversation they are consulting. I would prefer a supported API over maintaining a private core patch for the plugin.

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

AGENT GENERATED

Activity

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

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied the missing classification:

    • Type: Feature
    • Priority: Medium — meaningful mobile drafting improvement, with existing workarounds.
    • Effort: High — requires a supported placement API and editor-state, focus, and restoration lifecycle across surfaces.
    • Labels: ui, plugins

    No existing classification values needed preservation; verified the final Type is Feature. Reproduction and fix steps skipped. No pull request: this adds functionality requiring product/API design rather than a simple bug fix.

  3. JackALaing commented on Oct 29, 2026

    @JackALaing
    ContributorAuthor
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