Repository navigation
#692: the session card column stays placed while either pane of a split shows a session - #695
Merged
Merged
Conversation
…it shows a session The column's session is the focused pane's, else the other pane's of the split (the focused pane's wins when both show one), so a focus move between a session's pane and another pane no longer adds or removes the 304 px padding, and the first press on the other pane's header control acts. The side surfaces' session (surfaceSession) reads the same sessions in view, so the column and the side column never speak of two sessions. cardColumnNow's unit test (red on master) covers both focus orders, both-sessions and a single pane; one Electron scene presses Expand pane once with the session pane focused; the panel scene's diagnostics step now asserts the column stays beside a session in the other pane. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…cs tab's id is a literal type) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… hex colour (the tokens guard) Sminos-Session: GUI AI agent workspace charter#37052769 (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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 15, 2026
…et 692, the card column follows the session in view in a split, and the 60 s bound on the two unit cases that walk every recorded fixture No conflicts: the merge and this branch change no file in common. The wire: U8d takes no wire minor; the merged head's minor stands as master has it. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
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.
Fixes #692 (the architect's ruling, option 1).
Ruling
The session card column stays placed while the focused pane's tab is a session or the other pane of the split shows one; when both panes show sessions the focused pane's session wins, as before. A focus move between the panes of such a split no longer adds or removes the 304 px padding, so the first press on a header control of the non-session pane lands and acts.
Pane.tsx(focus on pointer-down) is unchanged.Change
stores/layout-model.ts:sessionsInView(main), the sessions of the focused pane's active tab and (in a split) the other pane's, focused first.app/shell-view.ts:cardColumnSession(the first of them) feedscardColumnNow,cardFactsNowanduseCardColumn, sosession,sessionTab,knownand every consumer (Shell's padding and cards,toggleSessionCards, the surface row's Session cards control) read one choice.panel/surface-model.ts:surfaceSessiontakes the first known session in view before falling back to the remembered one, so the side column and the card column never speak of two sessions in this state.shell/floating.ts) and the toolbar's session menu follow the focused tab by design; Expand pane folds the side panel, which keeps the column from being placed beside a floated split card.Proof
src/renderer/src/app/shell-view.test.ts(new) runscardColumnNowacross a focus move in a split of a session and a non-session pane in both focus orders and both pane positions, a split of two sessions (focused wins), two non-sessions, an unknown session, and a single pane. On master: 2 failed, 4 passed (the two failures are the session-beside-document cases); with the fix 6 passed.surface-model.test.tsgains one case forsurfaceSession.e2e/layout-transfer.spec.ts(group e2e:default): a split of a session and a document at 1440 wide, no side surface, session pane focused; the column is placed; the pointer goes down on the document pane's Expand pane, two frames pass (the control has not moved, the column is still there), the pointer goes up, and the session has floated into its card. The existing scene ine2e/panel.spec.tsthat read the old rule (a non-session tab beside a session shows no cards) now checks the single-pane no-cards case separately and, in the split, that the column stays and speaks of the other pane's session.#692in a comment) and its typecheck-2 shard failed on the new test's tab type in the run before it, both fixed in the commits after.doperpowers:reviewer-medium, lens: every reader of the column's session agrees withcardColumnNow; no layout change on a focus move): correct, no findings.Not verified: the scene was never run before the fix on master (no Electron run on this machine), so its red state is argued from the layout, not observed.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)