Skip to content

Add sidebar Split lifecycle - #2473

Open
brsbl wants to merge 11 commits into
bb/sidebar-lifecycle-drafts-search-thr_2e2gbjx943from
bb/sidebar-splits-thr_2e2gbjx943
Open

Add sidebar Split lifecycle#2473
brsbl wants to merge 11 commits into
bb/sidebar-lifecycle-drafts-search-thr_2e2gbjx943from
bb/sidebar-splits-thr_2e2gbjx943

Conversation

@brsbl

@brsbl brsbl commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

What was wrong

The primary New thread control could replace the current pane but could not deliberately create the spec's two-pane drafting workspace. Draft reopening and submission also lacked pane-local split lifecycle behavior.

What changed

  • adds a trailing Split action to the New thread row on hover/focus
  • replaces the workspace with exactly two fresh blank composers and focuses the left pane
  • removes the action in compact viewports
  • keeps new-thread submission pane-local and supports reopening an existing draft in the split
  • uses internal app behavior only; this layer does not add a public command ID or bump the plugin SDK

Visual evidence

Exact comparison: 4a78545610576c1839ca271cb9440be657e93874fd1c3ea60b4ffeafefeab4c5bff8b893d8364531.

Before — exact base 4a78545610576c1839ca271cb9440be657e93874

The hovered New thread row has no trailing split action.

Before — hovered New thread without Split

After — exact head fd1c3ea60b4ffeafefeab4c5bff8b893d8364531

The same route, fixture, lifecycle filters, draft, viewport, and hover state reveal Split.

After — hovered New thread with Split

After — split result

After — exactly two blank composers with left focus

After — compact viewport

After — Split is absent at 700 px

How you verified

  • Google Chrome for Testing 151.0.7922.71, exact branch web apps from scripts/bb-dev-app, light theme, /, 1440×900 plus the scoped 700×900 compact check.
  • Hovered New thread, activated Split, and observed exactly two blank composers with the left editor focused.
  • At 700 px, inspected the same row and confirmed the Split control was absent. No page or console errors were recorded.

Fixes: N/A — Updated Sidebar split layer.

BB-Thread-ID: thr_2e2gbjx943

AGENT GENERATED

brsbl added 4 commits August 27, 2026 00:43
# Conflicts:
#	apps/app/src/components/commands/CommandPalette.test.tsx
#	apps/app/src/components/commands/CommandPalette.tsx
#	apps/app/src/components/sidebar/AppSidebar.tsx
#	apps/app/src/components/sidebar/ProjectList.tsx
#	apps/app/src/components/sidebar/SidebarThreadSearchPanel.test.tsx
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