Skip to content

feat(fork): turn the area right of the thread list into a work area of split panes - #216

Closed
orbitingflea wants to merge 39 commits into
mainfrom
proto/fullscreen-panels
Closed

orbitingflea wants to merge 39 commits into
mainfrom
proto/fullscreen-panels

Conversation

@orbitingflea

@orbitingflea orbitingflea commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

This prototype turns the area right of the thread list into split panes with a Chat tab. It is not meant to merge.

Behaviour change

Behaviour change: yes, web and desktop users on this branch see split panes instead of a chat beside a right panel.

  • Only a mini-player tab hides. It returns when the player closes, Chat hides, or preview permission ends.
  • Preview: Toggle floats the tab, docks it, or closes an empty New tab.
  • Diff: Toggle closes or reopens the Diff tab.
  • The terminal drawer is gone, so terminals open as tabs.
  • Cmd+J and Ctrl+J leave keybindings and reach the shell.
  • Dragging a file or chat link opens or moves it at the drop spot.
  • The Details popover opens under the Chat tab bar when Find is closed, or below the Find bar when Find is open.

Why

Hidden tabs were hard to track, so this removes them, the terminal drawer, and its shortcut. It rebases PR #249 link drops onto panes, removes the empty row above Details, and adds review and bug-sweep fixes.

Checks

  • About 520 fork and related unit tests pass. Work-area, Find, reply, and mini-player browser tests pass.
  • Format, lint, knip, and typecheck pass on changed files.
  • Browser tests that time out in parallel pass alone.
  • Real web app checks passed. Popover top moved from 96 px to 60 px (toggle row ends at 52 px). Reloaded linked files kept line 1 instead of jumping to line 300. Only browser tests cover drag and drop.

Undo

Revert the commit. There is no server, contract, or database change.

Design notes
  • A playing mini-player tab floats unsaved and returns to its pane on close, Preview: Toggle, dock, reveal, or reload. Old hidden lists load in panes. Forced reveals add a pane if no Chat shows.
  • Run and scripts reuse idle terminals. Unattached ones open in background. Closing a terminal tab hides it until reload, even when the viewer cannot stop the shell. Saved split drawers become split tabs once live terminals list, skipping closed ones. Opened files keep focus. Headers drop the terminal button, top band, and New thread in project; project text is plain.
  • Only the Details popover moves under the tab bar, keeping its width and right edge. The inline details card in wide panes stays below the header.
  • Drops target strip slots, edge quarters, or middle by origin. Clicks or keys cancel slow drops. Sub-360 px panes refuse Chat drops with no ghost. Other drops keep valid layouts and match clicks. Links in linked files (even if Chat hides), side Files trees, and other links (like remote PRs) drag where clicks open.
  • Reopen Closed Tab keeps source thread after a NUL byte in the path (shared code unchanged), skips reopened linked files, and opens the next closed tab.
  • Edge drags split panes. Move shifts tabs across panes. Last-tab close drops a pane. Moving Chat in a strip fixes splits so panes return on widen. Reorders keep the divider. Chat links show open tabs, split one pane right, or use the nearest non-Chat pane. Auto opens skip Chat, reply, side-chat, and subagent tabs.
  • Reply tabs keep own drafts. Find shows hidden or closed Chat first (as behind Files in a strip). Replies open in a fitting pane (Chat keeps focus) or under Find in a strip. Main steps return to Chat. Side-Chat Find keeps that thread's layout. Opening a result shows its Chat. Quote jumps and modifier/middle clicks match upstream. Same-project thread drags open Chat tabs.
  • State saves workArea, one floating tab max, and cited lines. Reload keeps place. New citations, repeat clicks, or reopens jump. Writes keep a Chat and 360 px floor. Unfit layouts use a strip. One table holds tab rules. Subagents act as own threads. PR chip opens beside Chat. Strip fallback keeps unique pane ids. Fork hooks 49 upstream files, English only.

Known limits:

  • Link browsers may flash elsewhere before moving beside source.
  • A lone floating browser moves to another pane if its pane closes.
  • Sourceless main-Chat opens (like subagent clicks) may cover side chats.
  • Side-thread tool diffs open beside main Chat.
  • Side chats under 360 px stay a strip until moved or closed.
  • Other-environment thread links open upstream's read-only view in a pane.
  • Open Details covers the header right end, including Stop sharing.
  • Rarely, a file round-trip before a late terminal list lets the terminal take focus. Opening a split's second terminal early gives it its own tab. Some three-pane layouts stay a strip after a narrow Chat move and widen.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL labels Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

This PR changes the test suite by +192 test cases (browser +70, unit +122, server 0).

New browser test files: apps/web/src/fork/dashboard/dashboardLinkDrag.browser.test.tsx, apps/web/src/fork/rightPanelMenu/rightPanelMenu.browser.test.tsx, apps/web/src/fork/sidebarLinks/sidebarLinks.browser.test.tsx, apps/web/src/fork/subThreads/subThreadFind.browser.test.tsx, apps/web/src/fork/workArea/WorkArea.browser.test.tsx, apps/web/src/fork/workArea/changeRequestLink.browser.test.tsx, apps/web/src/fork/workArea/hostedChatFind.browser.test.ts, apps/web/src/fork/workArea/linkedItemsDrag.browser.test.tsx, apps/web/src/fork/workArea/secondaryChatStash.browser.test.tsx, apps/web/src/fork/workArea/useLinkDrops.browser.test.tsx, apps/web/src/fork/workArea/workAreaDrag.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@orbitingflea
orbitingflea force-pushed the proto/fullscreen-panels branch from 377fc32 to 547954f Compare November 20, 2026 00:43
@orbitingflea orbitingflea changed the title feat(fork): make the chat a tab of the maximized right panel feat(fork): turn the area right of the thread list into a work area of split panes Nov 20, 2026
@github-actions github-actions Bot added size:XXL and removed size:XL labels Nov 20, 2026
@orbitingflea
orbitingflea force-pushed the proto/fullscreen-panels branch 2 times, most recently from 05fe5d0 to 66e542e Compare November 20, 2026 02:26
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB ✅
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB ✅
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Codex long turn running, history page HTTP decoded 92.4 KiB 92.4 KiB 0 B (0.0%) 107.4 KiB ✅
Codex long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, work page HTTP decoded 186.2 KiB 186.2 KiB 0 B (0.0%) 200.2 KiB ✅
Codex long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Codex fleet shell resume check rows 0 0 0 0 ✅
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex stale shell reload rows 27 27 0 (0.0%) 27 ✅
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB ✅
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB ✅
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB ✅
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB ✅
Claude long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, work page HTTP decoded 188.1 KiB 188.1 KiB 0 B (0.0%) 200.2 KiB ✅
Claude long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Claude fleet shell resume check rows 0 0 0 0 ✅
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude stale shell reload rows 27 27 0 (0.0%) 27 ✅
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB ✅
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅

Baseline: 51c4782 · PR result: bd4b698 · Source CI: failure

Scenario and decoded snapshot size

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

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

orbitingflea and others added 6 commits November 23, 2026 01:20
…f split panes

Everything right of the thread list is one work area of nested panes, and
the chat is one kind of tab in it. Dragging a tab onto an edge of a pane
splits that pane; closing a pane's last tab closes the pane. Dragging a
thread of the same project from the thread list into the area opens its
chat as another Chat tab, whose file links open that thread's files. The
last Chat tab cannot close. Each thread keeps its own layout in its
right-panel record, and the right panel's show, hide and maximize
controls are gone.

A tab opened from a chat or a linked file shows a tab already open, or
splits a lone pane to the right, or else lands in the nearest other pane,
preferring one not showing a Chat, looking right, left, down, then up.
A whiteboard chip in the composer and a board:// link in a chat show the
region on the Whiteboard and never open a file.

A pane holding a chat, reply or side-thread box is at least 360 px wide,
and automatic opens never cover a reply or side-thread tab. The chat
header loses its terminal button and the band above it, and its details
toggle sits at the right end of the pane's tab bar. A lone pane has a
Split right button that opens a New tab launcher beside it. A thread link
of the same project opens that thread as a Chat tab by the same rule; a
thread of another project or environment opens on its own page.
Subagents and side chats use upstream's side-thread tabs. Each Replies
sub-thread opens as its own tab with its own draft. A quote link shows
its reply tab; a Find step keeps the Find field and never covers its
chat. Both reuse the reply tab the last reveal opened until the user
takes it over.

The only tab in no pane is a browser or device tab that floats in the
mini player. Preview: Toggle, picture-in-picture and device Float move
it there; closing the player, Open in panel or Preview: Toggle again
puts it back, and so does any view that stops drawing the Chat that
holds the player. Preview: Toggle on an empty browser tab closes it.
Diff: Toggle closes the Diff tab when shown and opens it otherwise, so
Reopen Closed View sees the close.

There is no terminal drawer under the chat. A request to open the drawer
becomes a terminal tab in the PTY's own thread record, so scripts, chat
code-block Run and the setup banner keep working; server terminals with
no tab are adopted as background tabs, and a tab the user closed stays
closed while the server still lists it. Terminal: Toggle (Cmd/Ctrl+J) is
filtered out of the web client's keybindings and settings, so the key
reaches the shell; split, new and close act on the focused terminal tab.

Files tree rows and chat links (upstream's drag sources, moved into the
work area) drop onto a pane's tab strip, one of its four edges, or its
middle, through the same open origin a click uses; a press or key before
a slow open lands cancels the drop place. On a subagent's own page its
child's side thread is the page's own thread; the composer's pull
request chip opens beside its chat; pane ids are not reused after the
layout falls back to the default. Upstream files carry only small hooks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The details toggle moved from the chat header into the Chat pane's tab
bar, but the popover still opened from the header's bottom edge, one
header row below the toggle. While Find is closed it now opens from the
header's top edge, which is the tab bar's bottom edge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared Details card now only calls the fork's offset helper instead
of holding the work-area anchoring rule itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea and others added 9 commits November 23, 2026 01:47
The upgrade of a drawer saved open ran before the thread's first session
list, so a split member closed on another client came back in the new
terminal tab, where the old drawer dropped it. The saved groups now wait
for that list and become tabs of their listed members only, keeping order,
split direction and the active terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…click opens

A chat anchor took its drag owner from the opener's layout, but a click on a
pull request or issue link in a Chat from another environment writes that
thread's own record. Such a link offered drops on the owner's panes and
then opened in a record drawn nowhere. An anchor's drag owner is now the
record its click writes, found the way the click finds it inside the
opener's origin. File chips keep the owner's layout, where their link-file
open lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Find in a thread shown as another thread's side Chat ran open-thread on
that thread's own record, which is drawn nowhere, so the thread later
opened on its Chat instead of its focused tab. Find now shows the primary
Chat only for a thread whose panel is not hosted elsewhere; the side Chat
it searches is already drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… its session list

Startup closed a drawer saved open at once but kept its pending conversion only in
memory, so a reload or restart before that thread's first session list turned each
shell into its own tab. The threads still awaiting conversion are now persisted, and
the conversion reads the groups the terminal store already keeps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ehind the user's file

When a thread's first session list arrived after the user had opened something, the
conversion of a drawer saved open activated the terminal and took focus from it. Each
waiting thread now keeps the tab focused when its drawer was found open. If the focus
changed since, the tabs open in the background (splitTerminal gains the same
`automatic` flag openTerminal has); otherwise the saved active terminal is shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it again when widened

In the strip view, moving a Chat onto another pane settled only the splits above the
destination pane. The branch the Chat left kept its old ratio, so after widening the
panes did not fit although usable ratios existed. The move now settles the splits
above the destination pane and above each pane the moved tabs came from, innermost
first. Other splits and plain reorders keep their ratios.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as a side Chat

A sidebar message result opens Find before the route to its thread commits. While that
thread was still shown as another thread's side Chat, the Find follower skipped its own
layout, so the thread's page then opened on its file and Find's Chat was not drawn.
openThreadFindOnQuery, which every search result uses to open its thread's page, now
marks its request, and the follower shows the Chat for it. Find opened in place in a
side Chat still leaves that thread's own layout alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…thers

Each app tab wrote the map of drawers awaiting terminal tabs from its own
in-memory copy, so one tab could put back a drawer another tab had
already converted, and a later reload converted it again and took focus.
Read the stored map before every write instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s side Chat's layout

The mark for a Find request that opens a thread's page was a plain flag,
so an in-place Find for another thread started from a store listener
during that request inherited it and rewrote the side Chat thread's own
layout. Mark the thread whose page opens instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@orbitingflea
orbitingflea force-pushed the proto/fullscreen-panels branch from f17bea7 to 2c6f91c Compare November 23, 2026 03:27
Brings the prototype branch up to main after the 2026-11-23 upstream
catch-up (#265). Six files conflicted:

- ChatMarkdown.tsx: imports follow main's move to @pierre/words and the
  work area's module paths; a chat file link keeps opening through the
  work area's file opener and now resolves its path against the link's
  folder when that differs from the thread's (upstream pingdotgg#41073).
- ComposerPromptEditorTiptap.tsx: keeps the prototype's board mention
  chip imports (the chip takes the hover from boardChannel).
- ChatComposer.tsx: main's queued-attachment openFile, with the
  prototype's chat-opener openMention.
- MarkdownFileLink.tsx: main's shared-tooltip chip, with the
  prototype's panel opener for link drags.
- FilePreviewPanel.tsx: both sides' imports.
- markdown-whiteboard.test.ts: main's wordsHast board-link tests plus
  the prototype's boardMentionParts tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea and others added 7 commits November 23, 2026 22:33
…s-20261123

chore(sync): merge main 48f6dc0 into proto/fullscreen-panels
On a board host, Diff, Pull request, Linked items and Device drop out of
the "+" menu and the empty-panel launcher until this browser or the
machine's menu layer shows them. One built-in default set and one
resolver serve both the menu and the Settings row's "Default" label.
While the board-host role is still unknown, the built-in defaults apply
with no machine layer, so the items do not show before it arrives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a board host the sidebar footer shows Pull requests and Issues only
after this browser turns them on in Settings > General > Sidebar. The
choice is a browser-local client setting with its own reset, offered in
settings search on board hosts only, and left out of Restore defaults
like the right panel menu choices. Off a board host the buttons follow
upstream's support checks as before.

The fork's search gate for board-host-only entries is renamed from
rightPanelMenuOnly to boardHostOnly, since it now covers a sidebar row.
The README and run-t3.md describe both defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-dev-controls

feat(fork): hide developer controls by default on board hosts
Give work-area panes and the primary Chat column `contain: size layout`,
so a layout change inside one (a streaming Chat, a diff, a PDF) starts at
that box instead of the document. Both boxes are sized by their style, so
size containment changes no rect. The pane gets it as Tailwind classes, so
it applies only with the classes that position and size the pane. On
touch screens a pane holding the Files tree is left uncontained: the
tree's touch drag preview is fixed at viewport coordinates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-containment

perf(workArea): contain each pane and the primary Chat column
Brings the prototype branch up to main after the 2026-11-24 upstream
catch-up (#284, #289) and #275 (file link path depth). Three files
conflicted:

- ChatView.tsx: keeps the prototype's onOpenToolDiff only when the
  parent panel has one, and takes main's removal of onOpenTurnDiff
  with the changed-files card (upstream pingdotgg#41317).
- RightPanelTabs.tsx: the tab context menu keeps the prototype's
  withChatClosing items and passes main's contextMenuSourceOf(event)
  so keyboard-opened menus start on their first action (pingdotgg#41674).
- useRightPanelActions.ts: takes main's deletion of onOpenTurnDiff;
  onOpenToolDiffStable keeps the prototype's fromPrimaryChat wrap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea and others added 2 commits November 24, 2026 20:14
…s-20261124

chore(sync): merge main 51c4782 into proto/fullscreen-panels
Brings main 8957e56 (upstream catch-up PR #308 with migrations
112-116, and PR #274) into the full-screen panels prototype.

Conflicts keep both sides:
- ChatView.tsx: the chat column keeps the work area's style, inert and
  focus handlers, and takes main's --chat-header-height in the same style.
- SideThreadPane.tsx: both import sets.
- useChatTerminalActions.ts: the prototype's tab-only split/close/new and
  no terminal.toggle, plus main's terminal.previous and terminal.next.
- subThreadsState.ts: main's readSubThreadSummaries; openSubThread and
  useSubThreadsStore stay removed.
- useThreadActions.permissions.test.ts: the prototype's async session
  mock with main's readEnvironmentScopeDenied.

cycleThreadTerminal.test.ts drops its last close-then-false check: the
prototype has no panel close, as in its other right-panel tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea and others added 4 commits November 25, 2026 10:22
Anything whose click opens a work-area tab can now be dragged onto a
pane or tab strip and opens there, through the existing panel-link
drop: Reply buttons and Replies list rows, the pane "+" menu and
empty-pane launcher items (Device only once set up; Chat places the
primary Chat at the drop), Dashboard web links (into the preview
browser, as chat web links), and pull request and issue rows in Linked
items and Thread details (their tab, or the preview browser where the
click opens a browser). Each source builds its PanelLink from its own click opener
and predicate.

A thread chip now drags only where its click opens a tab: a thread of
the same project as a Chat tab, or a side chat of the panel's own
thread. Another project's thread no longer falls back to a side-thread
pane attached to this thread's workspace. Sidebar rows already used the same
check; a real-pointer regression test now covers them.

Also: `opensChat` becomes `composer`; async "+" opens (Browser, Side
chat) return their promise so a newer click still cancels the drop's
place; a release over an open menu is ignored; a user open of a
surface that is already shown, or an async "+" open that settles
without its tab, ends the "+" menu pick instead of leaving the pane
armed (a sync open such as Device setup keeps it); under a live drop a
"+" or launcher open adds no pick or launcher place of its own, so an
overtaken drop lands where the user's newer action put the focus; the
"+" menu closes when the drag ends, however it ends; a dropped link
whose open joins the pane already holding its tab keeps the tab in its
slot, as its click does; a web link outside chat drags for any HTTP
or HTTPS URL, as its click opens any, opens the URL its click
resolves to, and joins the project's browser
history when it opens in the preview browser, as a chat link does; the
Device item's drag checks setup when it starts and again at the drop,
where it opens nothing once setup is needed. Every link drop still
plans with the stand-in tab.

Tests: the drag tests live in workAreaDrag.browser.test.tsx and use a
fork-only helper, dragTestEnvironment.ts, that answers the shell and
side chat fork commands through answerRpc; the shared fixture
fakeEnvironment.ts is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-all

feat(web): drag replies, launchers, links, and PR or issue rows to panes
…e work area

The merge of main 8957e56 brought features that assume upstream's
right panel, with one side chat at a time:

- Each chat view that draws a thread's Find bar counts itself while it
  is mounted. A thread's Find closes when its last such view unmounts,
  so closing a secondary Chat or side-chat tab closes its Find, and
  opening the thread on its own page keeps it. This replaces main's
  per-pane Find close in SideThreadPane.
- Find (Mod+F) in a reply view opens only while a chat view draws that
  thread's Find bar.
- Mod+S stashes only the composer in the pane where it was pressed, so
  two side-chat panes side by side keep each other's drafts.
- A pane's chat column sets --chat-header-height to its 36 px header,
  so the timeline minimap starts at the header's top, not 16 px above.
- terminal.previous and terminal.next cycle terminal tabs in the order
  the work area draws them, so a dragged tab keeps its place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-20261125

chore(sync): merge main 8957e56 into proto/fullscreen-panels
@orbitingflea

Copy link
Copy Markdown
Owner Author

Closing per the person's decision to retire the fullscreen-panels host prototype and return the host to plain main (415cf6, 092a2b, 35940b, 6f0c91 on 2026-11-26). Keeping the branch temporarily until t3code-engineer completes the host switch to main and records the rollback commit.

@orbitingflea
orbitingflea deleted the proto/fullscreen-panels branch November 26, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant