Repository navigation
The side chat resizes by mouse; a picture zooms by pinch; a file opened from the conversation adds a tab - #928
Merged
Merged
Conversation
The owner, 2026-12-01: with a file in the session's preview tab, a click on another file in the transcript replaced it, so the first file's tab was lost. The transcript's open (`codeTranscriptActions.openFile`: the path link, the Read and Edit chips, a prompt's anchor chips) now passes `apart`: the tab is kept and `placeOpen` passes over the preview tab, so it keeps its file. A file that has a tab is still selected (now kept); ⌘-click, the tree's single and double click, and an open the agent asked for are as they were. U6b-1's Decision Log 27 records it. e2e:code's U6b-1 scene reads the link's kept tab, then a second link's tab added beside the preview. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nter The owner, 2026-12-01: the file viewer's image zoomed only by its buttons and the click toggle. The stage's wheel listener (not passive) now takes a wheel with ctrlKey or metaKey, which is how Chromium delivers a trackpad pinch, and scales by e^(-deltaY / 100) per event (one to one with the fingers; a mouse notch moves at most e^0.5), within the ladder's ends, keeping the point under the pointer where it was. The label reads the scale live; - and + go on to the next rung; Fit and Actual size are as before. A plain scroll still pans, and every other wheel is left alone. The window takes no pinch: Electron's visual zoom is off unless a page asks (nothing here calls setVisualZoomLevelLimits), and the app window's webContents has no zoom-changed handler, so a pinch elsewhere zooms nothing. It serves every ZoomStage: the image in a file's tab beside the chat, in a main tab and in the File artifact's view, and a video in the artifact store's viewer and in a file's frame. e2e:code gains a scene that pinches through DevTools' synthesizePinchGesture and Ctrl/⌘ wheels, and checks the page's and the window's zoom stay as they were. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ery side chat The owner, 2026-12-01: the side chat over the pane's corner was a fixed 320 px wide and up to 360 px tall. It is anchored at its bottom right, so it is now resized from its left edge, its top edge and the corner between them; at the card column's foot it keeps the column's width and its top edge sets its height (the cards above give way as the column's list scrolls, so no new layout). The edges are the app's one Resizer (separators with the pane resizers' 8/32 px arrows, Home, End, Enter; a captured drag that selects no text); the corner, two axes and so no separator, is a pointer handle beside them that counts its drag on the document as Resizer's drags do (dragStarted/dragEnded, exported). A double-click on any handle, or Enter on an edge, returns the default. Held to at least 280 x 200 and at most the pane less the corner's insets (24 px across, 68 px down; the column's half at the foot); the classes' caps shrink it with its pane, and the size as dragged is kept. Undragged, each side is as before (320 px; the content's height up to 360). One size for every side chat, under the layout key `btw.size` (BtwSizeSchema), read once and written 250 ms after the last change and at unload, as `summary.sections` is: a key of its own, since a field in `regions` would make an older build refuse that whole value. e2e:side's case 5 drags the corner across the transcript, keys an edge, reads the key, and double-clicks back. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nks kept 1. A pinch from a fit outside the ladder (a large picture fits under 10 %, a small one over 1600 %) no longer jumps to the ladder's end against its own direction: `pinchedScale` stops only at the end it moves toward, and one away from the ladder leaves the scale as it is. 2. The side chat's corner writes only the sides its drag has moved, so a width held narrower by a small pane, or a height that is the content's, keeps what is stored. 3. The pinch's pointer is dropped with every zoom drawn, one whose events end at the scale they began from too (the effect follows the zoom state, not the scale), so the next gesture never scrolls toward an old pointer. 4. The side chat's answer links (`answerFiles`, in the card and under a side thread) open a kept tab of their own, as the transcript's do; U6b-1's Decision Log 27 says so. Each has a test that fails without its fix. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
1. The corner writes a side only once its drawn size has moved from where the drag began, so a slip of the pointer along a side the pane holds at its cap (a 700 px width drawn at 476) writes nothing there. 2. As the card is resized, a log at its end stays at its end, the newest answer in view; a log scrolled up to an older exchange keeps its place. 3. A change made before the first read of `btw.size` wins for the sides it set, and the read gives the others; a reset before the read is an edit of both, so the read's size does not replace it. Each has a test that fails without its fix. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…w logged Review round 3. The log's at-the-end intent was read from every scroll event, so in a drag the pin written on one resize, heard after the next shrink had been laid out, read the shorter viewport and dropped the intent; and a grow's clamp to the bottom, heard late, made a scrolled-up log jump to the newest answer on the next shrink. A resize's own scroll events are dispatched in the frame after it, so every scroll event until a frame has passed since the last resize now leaves the intent as it was. Two tests, each failing without it, deliver the scroll events late against a log that clamps as a browser does. Logged, not fixed: the pane's cap changing during a corner drag reads the capped side as moved (docs/tech-debt-tracker.md). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
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.
Three changes the owner asked for on 2026-12-01, from the running app.
What it does
Resizer: separator role, arrow steps, Enter to reset. The corner is pointer only.btw.size.Proof
9a802b2bfda5452194f738761ca8595c2393db7eonux-wave/resize-pinch, holding master6e1bc8551a3d4746b5cf7885179adc07f801df55.docs/tech-debt-tracker.md: the pane changing size during a corner drag.e2e:code(a CDP pinch, and a transcript link adding a tab) ande2e:side(a corner and keyboard resize, and the stored size).1597083cdthe same route was green apart from theassistant-ink5 s timeout the outage rule names.e2e:codeatea3ff8217: 60 passed.e2e:sideat1597083cd: 13 passed.side/or merge master's test-only changes.Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)