Repository navigation
feat(web): chats, files, terminals and PRs open as tabs in split panes - #28845
maria-rcks wants to merge 845 commits into
Conversation
|
Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting). This review would cost an estimated $97.72, which exceeds your per-review limit of $15.00. The top 3 files driving up this estimate:
Tip To get this pull request reviewed, you can:
|
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — The change expands a lint configuration exception to allow Uniwind theme escape hatches in ComposerSurface.tsx. This diagnostic override requires human review under the repository’s stated requirements. Needs human approval because:
Review your spending limits in Billing settings, or comment |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
f6f00d4 to
b653b87
Compare
b653b87 to
f0dd9b6
Compare
f0dd9b6 to
ba88740
Compare
ba88740 to
91b0851
Compare
91b0851 to
814c2e3
Compare
|
Really looking forward to this. One column per project, each with its own chat and terminal, is what I miss most in T3 Code today. I saw the stack is marked do-not-merge while it's in review. Is there a rough idea of when it might reach a stable release, or whether the panes could show up in Nightly first? Thanks for building it. |
…s title row Connected pane tabs previously shifted tabs and bar controls 5 px down inside a 43 px bar so labels centered inside a 41 px joined tab, disconnecting them from the sidebar title row (26 px center) and macOS traffic lights. Set the pane header row to 36 px (8 px top inset, matching the design) and drop the 5 px join shift so the connected tab bar matches the 36 px header row: tabs, icons, scroll chevrons, new-tab button, and right controls all center on the sidebar's 26 px line while the joined tab spans 8–44 px symmetrically (4 px rise and drop, 36 px tall, 8 px shorter than before).
After the connected tab bar dropped its 2 px top offset so the joined tab spans 8..44 px, the pane's 14 px top-left corner ([data-pane-cut="start-top"] and border-start-start-radius under --desktop-window-corner-radius) sliced across the joined tab's 10 px corner and erased its rim round the arc. Clear the pane's top corner cuts and top border radii on notched panes in connected-tab mode, and mark left-notched [data-pane-notch-host] sub-panes with data-pane-notched so every joined tab keeps a continuous rim round a 10 px corner while keeping the 36 px bar and 26 px centerline.
…ch at the pane's corner
… without bars Limit rows in the thread details card spent half their width on bars that repeated the percentage and turned multi-window providers into tall stacked lists. Replaced the bar rows with provider-grouped two-column Badge chips ordered tightest first, keeping full-width spans for single or compound labels, warning tone plus pace cue for low or fast-burning windows, full details in tooltips and aria labels, and moving the context segmented meter inside the expanded breakdown panel.
Filled chips on every usage limit and context row made the bottom of the thread details card read as a stack of boxes underneath plain workspace rows. Render healthy limits without a fill or border in the same two-column grid aligned with the card's icon edge, keeping tinted fills only for low or fast-burning windows and keeping hover fill and focus rings on the full tile. Restore Context and Limits Unavailable / Not linked to plain card rows using ThreadDetailsControl.
…sage limits Recaptures the README hero, homepage screenshot, and social card from the current web UI using the existing staged offline-sync demo scene. The updated captures show the slimmer 36 px top bar with tabs aligned on the sidebar title row, unbroken joined tab corners, sidebar rows showing the environment, and thread details usage limits as plain numbers without bars.
Grok reported no context usage. The prompt response's _meta carries the last call's occupancy and its input, cached, output and reasoning counts; the window comes from the model the response names. The dev replay transcript reports usage too, so the Context row can be exercised without a paid provider.
On layer 5 the chat owns the window. The terminal is a drawer under it, and diffs, files, the browser, pull requests and devices share one right panel.
Here each of those is a tab in a pane. Panes sit in columns, a column can split down, and every pane has its own tab strip. Drag a tab to reorder it. Cmd+\ opens a new pane, Cmd+T a new tab, Cmd+Shift+T restores a closed one. Pull requests, issues and both lists open as tabs. Cmd+N still asks which project when there are several, as on main, and the new thread replaces the focused tab. Settings › Layout sets the default panes and where the terminal and side pane open, once per device.
Settings › Labs › Scrolling workspaces is off by default. Off, a new pane shrinks the others to fit, and the workspace, overview and center-column commands do nothing and are hidden from keybindings, the palette and the shortcut sheet. On, panes keep their width and the strip scrolls sideways, extra workspaces stack with an overview (Cmd+Alt+O), and a layout intro, tour and hints appear.
layoutModel.tsholds workspaces, columns, panes and tabs.SurfaceHost.tsxrenders them and replacesChatRightPanel,RightPanelSheet,ChatTerminalDrawersandPersistentThreadTerminals.surfaceSync.tskeeps the right panel store and the tabs in step. The layer also adds a desktop app icon picker, Claude's context breakdown in thread details, and a Labs toggle that folds each turn's work.Read first:
apps/web/src/layout/layoutModel.ts: the workspace, column, pane, tab modelapps/web/src/layout/SurfaceHost.tsx: renders panes, strip and overviewapps/web/src/layout/surfaceSync.ts: thread surfaces mirrored into tabsapps/web/src/layout/PaneTabs.tsx: tab strip, drag, close, restoreapps/web/src/layout/useSyncLayoutBehavior.ts: what the Labs flag switchespackages/contracts/src/settings.ts: layout settings and defaultsNeeds approval: Theo for
apps/web/src/components/ui/scroll-area.tsx(neworientationprop; the scroll fade re-measures on resize), rootvite.config.ts(lint ceilings only: 50 lowered, 42 removed, none raised; no bundling),patches/@legendapp__list@3.7.3.patch(new: rows measured in layout pixels inside the scaled overview, plus animmediateWebShrinksoption),patches/@pierre%2Ftrees@1.0.0-beta.6.patch(new: the tree viewport leaves out overlaid chrome),pnpm-workspace.yaml(patchedDependencies entries for those two patches) andpnpm-lock.yaml(their patch hashes). Theo or Julius forpackages/contracts:settings.ts(LayoutSettingsand its template; client settingslayout,scrollingWorkspacesEnabledandlayoutThreeFingerSwipedefaulting to false,appIcon,turnWorkFoldEnabled; the panel animation default goes from 0 to 150 ms),keybindings.ts(tab.new,tab.next,tab.previous,tab.close, 25layout.*commands andpullRequests.toggle;rightPanel.newandrightPanel.toggleMaximizedretired but still decode),ipc.ts(shortcutandacceleratoron context menu items; optional desktop methods that forward layout chords from a focused preview),server.ts(the config'ssettingsalso decodes an older server'slayout, for migration only),orchestrationV2.ts(optionalretryOfRunIdon user messages and commands, optional token usagebreakdown),providerRuntime.ts(theContextBreakdownschema),server.test.ts,settings.test.ts.Stack
Do not merge: this stack still needs review. Each PR targets the one below it.
1-primitives-shell2-composer-timeline3-panels-pages4-settings-setup5-voice6-workspace-panes(this PR)What it looks like
Captured at 1440x900 from two isolated dev servers (layer 5 before, layer 6 after) with one copied database: made-up
harbor-labsrepos, freeReplay (dev)threads, and a local fake GitHub for #142 and #150. Sidebar ages differ because the sides ran minutes apart.The same chat, terminal and
store.ts: a drawer and a right panel become three panes, each with a tab strip.The same in light.
Pull request #142 opens as a tab next to the diff and the file.
Issue #150 leaves the full-page Issues view and opens as a tab beside the chat.
Thread details gains the checkout and changes rows; #142 stays linked with its checks.
New in this layer: three panes side by side, each with its own tabs.
Dragging store.ts to the front, Cmd+\ opening a new pane, then closing store.ts and restoring it with Cmd+Shift+T (9 seconds).
Settings gains a Layout page, and Labs gains Scrolling workspaces, off.
With it on: the overview shows four columns that no longer fit the window.
Checks
On Blacksmith at this head (311223e, main c5badf4 merged in): typecheck, lint (0 errors, 17 warnings), knip,
fmt --checkandi18n:checkpass. Web tests in four shards pass 3136, 1523, 1552 and 1288 after two test files were fixed and rerun. Server tests: 9208 pass, 15 skipped. After the last GitHub drift merge, 22 web files (373 tests), client-runtimecontextWindowand issues (32) and the desktop menu tests (7) pass.Not verified: dragging a tab onto another pane (it did not move in the capture run), reopening a closed issues tab with Cmd+Shift+T, desktop (three-finger swipe, forwarded chords from a preview, app icon), the mobile app, Safari, real providers (Claude context breakdown), the browser and device panes, the layout tour past its intro, extra workspaces, touch and narrow widths; mobile, desktop and shared suites not run.
Done with Claude Code (Opus 5.5) in T3 Code.