You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed1e15b
Browse filesBrowse the repository at this point in the historyBrowse files
Opens multiple chat threads side-by-side in a configurable grid.
- Grid is a new route at `/$environmentId/grid`, reachable via a grid icon in
`ChatHeader` or `Ctrl/Cmd+Shift+G`. Dimensions are configurable from 1×1
to 6×6 via a Google-Docs-style hover picker.
- Each cell hosts a full `ChatView`; empty cells offer "Pick thread" (existing
threads in the env) or "New thread" (creates an isolated draft under a
grid-scoped logical-project key so sibling panes don't evict each other).
- Layout and chosen threads persist per environment via a zustand store
(`gridLayoutStore`) backed by localStorage. A `lastView` flag is also
persisted so reopening the app restores whichever view (grid or single-
thread) the user was last in.
- Inside a grid pane the header's grid button is swapped for a × that
removes the pane (not the thread). The diff toggle stays visible but
opens an in-pane diff sheet instead of navigating away — `DiffPanel`
takes optional `threadRefOverride` / `diffSearchOverride` /
`onSelectTurnOverride` props when rendered inside a pane, and a new
`GridPaneContext` lets `ChatView` route `onToggleDiff` /
`onOpenTurnDiff` through the pane's local state.
- `GridToolbar` reserves the Electron title-bar-overlay inset on the
desktop build so the Reset/× controls don't slide under the window
buttons.
Tests: 47 new unit tests covering layout reducers, store persistence, and
the grid keyboard shortcut.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
0 commit comments