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

2.2 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.