Files
pipelines/app/notes/multi-chat-workspace.md
T

4.6 KiB

Multiple chat panes

The chat list's More menu offers Open to the right and Open below on wide windows. Each action splits the active pane; nested horizontal and vertical splits can be combined. A normal row click or conversation-number shortcut replaces the active pane, or focuses an already-open chat. Each chat appears once in the workspace.

Drag the divider in either direction to resize. The divider has an accessible label and keyboard arrow resizing; double-click restores an even split. Minimum pane sizes protect the composer. An accent outline identifies the active pane. Clicking a pane activates it without stealing a transcript selection. Closing a pane collapses its adjoining split and never closes or interrupts the underlying chat.

Keyboard navigation:

  • Ctrl+Shift+Arrow moves to the neighbouring pane; Command+Shift+Arrow also works on macOS.
  • With one pane, these keys retain their normal editing behavior.
  • Ctrl+/ opens/refocuses Search; Command+/ also works on macOS. The existing query is preserved.
  • Ctrl+1…9 and macOS Command+1…9 select conversations only in Chat. Pipelines and Runs no longer consume number shortcuts; Ctrl+Tab no longer cycles destinations.

Narrow windows show only the active pane, with an Open chats picker retaining the others. Widening restores the split layout and drafts. Each leaf has a stable pane identity and its own header registry, composer, transcript, stream filtering and scroll position. Closing a neighbour or resizing does not remount those views. /new results update their originating pane even if focus moved while the request was pending. Route navigation names the active chat. The split layout is visit-local, not restored after a browser reload.

Implementation is app-only; no new backend, pipeline definition or TUI changes. The existing WebSocket multiplexes session streams. A new generic capture key mapping supports physical Slash/left/right key codes for browser acceptance.

Background /new completions update their retained pane without navigating away from Search or another destination. Returning to Chat publishes the current active session route. Narrow-window Back returns to the list without issuing a server chat-close or interrupt request.

Verification

Combined source b34c3fa875e09c9883e37dce3d17ce8829a8e7cd passed full app analysis and 1,059 chat/shell/Search/shared-input tests through the watchdog (peak 1820 MB, 116s). Production web and Android builds passed. Earlier focused checks additionally covered menu capabilities, both divider drags/clamps, state identity/draft preservation, native single-pane text selection, close/collapse, isolated streams, reconnection, async /new, and no hidden-destination navigation.

Fresh full-app Chrome captures with the final source passed at 1800x1100 Material light and Cupertino dark, with a 560x1000 fallback/restoration interaction. All 11 final PNGs were inspected. Reports: /private/tmp/chat-splits-release-material/report.json, /private/tmp/chat-splits-release-mac/report.json. The Material run checks both physical drag axes, Ctrl+Shift pane focus, Ctrl+/ Search/query retention, narrow picker/drafts and widening restoration. The macOS run uses raw physical keys to prove Command+Shift pane focus, local pane closure, Command+/ continuous typing, Clear/retype, and Search revisit with retained query. Capture tools exited normally; only scratch fixtures were used. No physical-device or Safari acceptance was performed.

The browser checks exposed and fixed a Cupertino web search input defect: the native nested clear control changed editable semantics into a disabled browser input on first text. A web-only native clear sibling keeps the field enabled and stable; explicit user Clear/shortcut actions hand focus back after layout. Ordinary query updates never refocus. Native non-web fields are unchanged. The source and regression evidence are also recorded in chat-search-keyboard-shortcuts.md.

Delivery

Landed on main at a223089c; verified the integrated feature branch is an ancestor after landing. Web and Android build 29899837 were published without a service restart. Authenticated local HTTP JS/feed/APK downloads matched the built files; public HTTPS JS/feed also verified. Web JS SHA256 d472456f0b566c0e66f3093d0a4a237bccb8d97fc9cdc914d60a7881298f38ba; APK SHA256 3e71c88c68c185a830f789fb02ab9210f159b36853b2db9bc106f097d3d97ba4. APK signature verified and certificate matches the previous release. Rollbacks under installed lib: app-web.before-web-update-1793990505148050000, app-updates.before-client-update-1793990505292918000. No device installation performed. Deferred desktop work and session export remained untouched.