Skip to content

toCompose / openNewThread: support split: true like toThread #8011

Description

@wojteklembryk

The workflow

I maintain a local plugin that opens bb's new-thread composer for Obsidian vault projects (one bb project per vault). Its note panel (a plugin nav panel) has "Chat about this note". The user wants to keep the note visible and write the prompt next to it, the way toThread(id, { split: true }) keeps the caller visible when opening a thread.

Observed on bb 0.49.0 (plugin SDK 0.6.132). Code links below are at 796cdcc (main, desktop 0.50.1), checked by reading the source.

What happens today

What you would expect

toCompose({ ..., split: true }) (and openNewThread({ ..., split: true })) opens the new-thread screen in a split pane beside the caller, with the same rules as toThread (right split by default, replace at the pane cap, plain navigation where splits are off). The other options (projectId, environmentId, initialPrompt, focusPrompt) apply to that pane. Today the new-thread pane content carries no project or draft seed, so that part may need design.

Context and alternatives

  • Workaround: open the note as a tab in the New thread screen's side panel (experimental_newThreadPanelAction plus experimental_useAppPanel().openTab()) after the composer mounts. The note moves out of the plugin panel and the plugin has to wait for mount.
  • Embedding experimental_NewThreadComposer in the plugin panel keeps the note visible, but loses the root screen's side panel and other root-only behavior.
  • Related, a different surface: A project's new-thread button replaces the focused pane instead of opening beside it #2795 (built-in project + buttons replace the focused pane instead of opening beside it).

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
    plugins
    ui
    on Nov 22, 2026
  2. bb-slop-cop commented on Nov 22, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type: Feature, Priority: Medium, Effort: High, and labels plugins, ui. No existing classifications were overwritten; all values were verified after writing.

    This adds a composer split-navigation capability rather than repairing an existing API promise. Workarounds limit urgency; pane-local project and draft state require interaction/state design, not just another navigation flag.

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

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