Repository navigation
feat(fork): turn the area right of the thread list into a work area of split panes - #216
Open
orbitingflea wants to merge 25 commits into
Open
orbitingflea wants to merge 25 commits into
orbitingflea wants to merge 25 commits into
Conversation
|
This PR changes the test suite by +137 test cases (browser +19, unit +118, server 0). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
orbitingflea
force-pushed
the
proto/fullscreen-panels
branch
from
November 20, 2026 00:43
377fc32 to
547954f
Compare
orbitingflea
force-pushed
the
proto/fullscreen-panels
branch
2 times, most recently
from
November 20, 2026 02:26
05fe5d0 to
66e542e
Compare
Thread transfer impact
This comment will update automatically after the next completed run. |
orbitingflea
force-pushed
the
proto/fullscreen-panels
branch
13 times, most recently
from
November 22, 2026 19:25
33416f9 to
b725f0d
Compare
…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>
…ce expires A linked file's persisted `shown` flag never expires, while the saved place it protects does after 30 days. With no saved place the file opened at line 1. Mark the reload as shown only while a saved place exists, matching a regular tab, whose receipt expires with the same TTL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A closed linked file is kept in history under a synthetic file surface id that never appears in the panel's surfaces, so the planner did not see it as open again and re-revealed it instead of restoring the next closed tab. Before planning, the shortcut now splits history into entries still closed and linked-file entries whose tab is open again in their owner's layout, and drops the latter as it drops other open entries. This also clears entries saved before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With a Files tab active in one strip, or the primary Chat closed, the Chat column is placed away and inert, so Find opened its field inside it: the shortcut was consumed and no usable search field showed. Each Find request now shows the thread's primary Chat first, unless it is already drawn or one strip shows the thread's reply under the Find bar. A store subscriber does this inside the Find store's update, before the field's focus effect runs, so every entry point (shortcut, palette, search results) is covered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s in A file chip or anchor in a linked file's Markdown took its drag owner from the source thread's panel host, which exists only while the source Chat is mounted. Once that Chat was hidden, the link was registered to the source thread while the drop listener belonged to the layout owner, so the drop did nothing. The drag owner now comes from the same opener the click uses, whose target writes to the layout that shows the link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nal tabs At startup a drawer saved open was converted by opening only its active terminal; the other sessions were later adopted as separate tabs, so the drawer's grouping, member order and split direction were lost. The startup pass now opens each saved group as one terminal tab, its members split in their saved order and direction, with the group's first member active (the saved active terminal for its own group). That tab is selected. Terminals a tab already holds stay there. Requests made later in the session still open a single terminal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… collapsed Moving a Chat tab onto a pane in the strip view kept the split's old ratio. The strip view has no fit check and hides the divider, so after the window widened the panes still did not fit and stayed collapsed with no way to fix the ratio. The strip-view join now settles the splits around the target pane, and settleSplit falls back to the ratio that fits at the smallest size when no ratio fits at the current one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A browser tab that floated into the mini player recorded only its tab id, not where it came from. Closing the mini player, Preview: Toggle and a reload all put it back through the fallback placement, so it often landed in another pane. The floating record now keeps the home pane and the next tab there, and unfloating puts the tab back in that pane in the background. When the home pane is gone the tab stays in no pane and the old fallbacks place it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Floating a second tab overwrote the first float's saved pane before the first tab was put back, so repair placed it in the wrong pane. floatTab now docks the earlier float in its home pane first, then floats the new tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atio Every strip-view move settled the splits around its target pane, so reordering two file tabs rewrote a ratio the user set. Only a move that gives the pane a Chat it lacked needs the room, so only that move settles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n widened The strip-view join settled the splits above its pane outermost first. With no ratio fitting at the strip size, the outer split took its fallback from the inner split's old ratio, so after widening the primary Chat had too little room. The join now settles from the pane up to the root, so each outer split counts the inner ratios it keeps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
force-pushed
the
proto/fullscreen-panels
branch
from
November 23, 2026 03:27
f17bea7 to
2c6f91c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Cmd+JandCtrl+Jleave keybindings and reach the shell.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
Undo
Revert the commit. There is no server, contract, or database change.
Design notes
hiddenlists load in panes. Forced reveals add a pane if no Chat shows.workArea, onefloatingtab 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: