Repository navigation
UX wave · U6, landing U6b-1: a file opens beside the chat - #726
Conversation
…ngs with the later landings' sections, and the first landing's execution document (a file opens beside the chat) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…iew's nine findings and on the reported points (a file's tab never pinned, Reopen closed tab, a move's stored writes and held key, show_pane after hydration, Save's two arms, the route's own guarantees, the Overview a place, the draft before the confirmation); the four cards in final form Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…slot and a tree-only add resolves to the tree-only tab there is (PanelTool.reuse); paneNotReady for a wait that ran out; the unstarted session's draft as a named question for U6b-5 Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…b, a file's tab never pinned, the opens and show_pane before the layout is read, the read's repair, the prune of side files; today's openers with the new exports inert Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Every opener that knows a session opens the file as a tab of the Files tool in the session's side column (placeOpen, openFile): the preview tab reused by the next open and titled in italics by the file's name, a kept tab never reused, the main tab selected when one shows the file, a ⌘-click on a path link a main tab. Files is multi-instance: a tab holds a file in its params or is the tree alone, and an add with no file shows the tree-only tab there is (PanelTool reuse, asked by the host for a multi-instance tool). A file's tab is never pinned (the store's gate, the strip's glyph, the icon's menu) and the read repairs a pin the older build made, a file both beside the chat and in a main tab, the list's order and a second preview (repairFileTabs). Opens made before the layout is read are made when it is read, and show_pane answers then, in the panel-tool form, or paneNotReady when the wait runs out. The viewer's prune counts the files beside the chat. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ways) with the pinned round trip, and its row; layout-model's omitKeys (a second `without` there) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…acement (Review's body drawn again after a file took its place, the tree given back to read a selection, the preview reused by the next open, a Markdown file's link beside the chat and its ⌘-click in the main area) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…is made (the optional call to its answer had skipped evaluating it) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t (Decision Log 11, two observations) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…2, As built); the three providers that drop ⌘ join R6's tracker row Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e pin-on-add case a tracker row; the cross-build scene's first run read Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…arams name, so a relative path chip's side tab draws the viewer and its refusal, as its main tab does, never the tree Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…opens the file last, since F (as this build) opens a session from the sidebar in the place of a clean unpinned tab Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, a tracker row, one unit test file)
Two conflicts, both kept to both sides' intent:
- transcript/view/markdown/Link.tsx: U6d turns the path chip into its InlineLink (link text, click/Enter/Space, open(metaKey)); U6b-1's ⌘ rule rides on it as open={(metaKey) => actions.openFile(path, line, session, { main: metaKey })}; the header comment carries both.
- tools/maws/panes/connect.test.ts: the header names U6d's retired artifact pane; the imports are U6b-1's (vi for the fake timers, the Files tool, the held bridge, open-file's wait), U6d having dropped only the artifact cases' imports.
connect.ts, tools.ts (paneNotReady beside artifactPaneRetired), context.tsx, links.test.tsx and tools.test.ts merged without conflict. No wire change on this branch; the merged head's minor stands.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ment, { main: false } (U6b-1's ⌘ rule on the merged InlineLink)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…itor, before the modules The close question by the file's key and its answer while the tab moves (sequence 2), ⌘S and Comment on this line on the file that holds the keyboard (R4), the first edit keeping the preview tab, a session that goes leaving its unsaved file as a main tab (R5, sequence 6), the quit list, and the side tab's unsaved mark. The new exports are inert stubs. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
A side tab whose file has unsaved edits carries the dot a main file tab carries, and its close asks the question a main file tab's close asks, by the file's key (closeGuardOf), its answer acting only while the tab still holds the file (sequence 2). ⌘S and Comment on this line act on the file whose viewer holds the keyboard, else on the main file tab on screen (focusedFile, R4). The first edit keeps the preview tab. A file that leaves the side tabs unsaved by no answered close (its session archived or deleted) becomes a main tab, not in front, before the viewer's prune runs (R5, sequence 6). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nswer on card R8 (15); the cross-build scene on M1's head ticked Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…re peer for the two-build group, and the custom-connector landing) No conflicts. The one file both sides changed, e2e/cross-build.spec.ts, merged on its own: master's edits are in the shared helpers builds(), crossing() and handedOverCrossing(); this branch's are the files-beside scene and its row. The wire manifest follows master's (minor 47); this branch takes no minor. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…session goes; a conflict landing while the close question is open Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s before the held save (the fake disk answers as the call arrives) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… as the side's until its main tab exists; the merge view's veto holds after the close question's answer keepUnsaved decides every file to keep before the first open and counts them in sideFileKeys for the length of the loop, so the viewer's own layout subscriber, which prunes at each open, cannot take the next file's entry. closeGuardOf reads the entry again after the answer: a conflict that settled while the question was open keeps the tab in the merge view and writes nothing, for a side tab and a main tab alike. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…rk, in four pull requests Written against master 93905c9. The landing is cut into U10b-1 (a document's page, an HTML page published from a file), U10b-2 (the agent's delete with Undo), U10b-3 (the chat over an artifact as a bar, hidden, Show chat) and U10b-4 (Make something new, a Space's instructions, the design system's page): eleven milestones. Twenty-eight places where the child's file no longer holds at this pin, each with the default built and its one place; what each older build (2c70442, f1852de) does with what the landing stores and sends; the one new offer over the machine link; the frames to draw and seven cards for the owner. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…tate and the files.tree key The suites come first: treePlace's table (the owner's answer on card R8, the tree in the file's place), the session's tree state over a fake client (one read, the 250 ms write, the 200-folder bound, a session the window no longer knows, an act before the read, a refused read, the first root after a relaunch), the tree at the file's left over the panel host, and the files.tree schema. tree-state.ts is an inert stub; the schema and the copy are declarations. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, stored under files.tree Every Files tab draws the tree in a column at the left of its file (a tab with no file, the tree alone), where treePlace says: beside while the tab has room for both, unless the person folded it; in a tab too narrow for both folded, and the button at the start of the file's bar shows it in the file's place until a file is chosen or the button is pressed again (the owner's answer on card R8). The divider is the app's Resizer, between the tree's least width and what leaves the file 320 px; a double-click returns it to the default. The tree's state moves out of the tool's instance into tree-state.ts, one per session: the width, the fold and the folders open are read once from files.tree and written 250 ms after a person's act (the 200 folders opened last; a session the window no longer knows dropped), the selection and the scroll for this run only; after a relaunch a stored session's first root is only noted, so a deliberate collapse stands. A row's click opens the preview tab, a double-click keeps it, a Command-click opens a main tab; the row of the file in view is marked. The cross-build scene gains the key. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…gistry through an effect on its element (the React Compiler keeps the component) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e through its params offers Move to main area Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ea is read from the params the tab subscribed to, not the store at render Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… the main area takes theirs there Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…erge view draws the merge view anew, so its chunk controls act on that view Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…after the tab is shown again Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n as an id Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d height as the export does, through the system's resolver (a fallback, a reference, one that resolves to nothing), pinned (red) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…the export's own resolver — pageOf over exportDesign with the governing system's export helpers, which the seam now hands (exportSystemOf); css.ts back as it was Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…kept on line 2 and theirs taken on line 8 Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… architect): ticket 692's card column, the fixture walks' time bounds, the channel-feed cursor case No conflict: master's nine files since 63c97b5 (e2e/layout-transfer.spec.ts, e2e/panel.spec.ts, the normalizer-fidelity, replay-fixtures, journal and channel-feed tests, shell-view, surface-model, layout-model) share none with this branch. U10b-1 takes no wire minor; the merged head's minor stands. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…as a compact export resolves it, pinned (red) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ensity, as the export resolves a compact document (the review's finding) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, and ticket 692's session in view read against the landing (Decision Log 25) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… document Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… on top of 3678e3c, src/engine-host/journal.test.ts and test/endpoint/channel-feed.test.ts) No conflicts. The wire is master's, 3.48; this branch takes no minor. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ogged as debt (Decision Log 26; a tracker row) A redrawn merge view folds an expanded "unchanged lines" block again after a move. Read true; not fixed in this landing. Document only: no code, test or scene changes. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nding, U11c, PR 702) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ocument's page and an HTML page published from its file, on master ef1d659 with U11c's Customize) Three conflicts, each a pair of additions, both kept, the chain head's first: - docs/charter.md, X9's record (one line): U10b-1's dated amendment (artifact_publish's path), then U6b-1's two (show_pane's panel-tool answer for a file; paneNotReady). - docs/tech-debt-tracker.md: U10b-1's three rows, then U6b-1's seven. - e2e/cross-build.spec.ts: U10b-1's scene "(document page, both ways)", then U6b-1's "(files beside the chat, both ways)" with its mainFileIds helper; the coverage table holds both rows (merged on its own); no helper name of one scene is defined by the other. Merged on their own and changed on both sides: e2e/ux2-shell.spec.ts (U11c's live Customize scene; U6b-1's F6 reveal), src/shared/maws/tools.ts and tools.test.ts (U10b-1's artifact_publish path; U6b-1's paneNotReady). The wire is master's, 3.48; this branch takes no minor. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… the main strip hears a dragover The file scene's side-tab drag onto the main strip waited for "Move to tab" and never saw it. The strip draws that label only in its dragover handler, and Chromium fires dragover only on a second sample over the same innermost element: the first sample over an element gets dragenter (and the old one dragleave) alone. The helper's twelve coarse steps cross the session tab's parts (its status glyph, title, close button, the strip's background), so the last two samples can hit different elements, and Playwright sends nothing while the pointer rests: no dragover ever reached the strip. The panel, pane-body and group targets the other drags use light up on dragenter, which is why only this step failed. A second sample at the final point gives the strip its dragover as a resting real pointer does (macOS keeps sending updates). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…erged into pull request 718's head Master will be this tree once the two pull requests land in their order (718 fast-forward, then 717 merged into it): the flake fix of the desk web app's depth scenes (f50dee5) and the security fix of board ticket 711 (5f534f8). The merge has no conflict. The chain's first link merges this commit, so that the cascade's conflicts are resolved before the landings, and only a re-merge of the real master remains. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The cascade of the coming master: two pull requests land on master ahead of the UX wave's chain, board ticket 711's security fix (the ask tool's grant refusal and the answer envelope that holds no text the model wrote) and the depth scene's test fix. Their combined tree is the cascade base, origin/ux-wave/cascade-base at 9622061. It goes into the chain's first link here, so that every later link holds it. Conflicts, both resolved by keeping both sides whole: - docs/charter.md, X9: both sides append to the X9 entry; U10b-1's dated 2026-11-15 sentences stand first, then the base's "Amended 2026-11-16 (board ticket 711)" sentences, in date order. - e2e/cross-build.spec.ts, UC-14's coverage table: the base's row (an async ask's answer envelope, board ticket 711) first, then U10b-1's row (a document's page), in landing order. - e2e/cross-build.spec.ts, the scenes at the file's end: the base's block (the envelope's constants, helpers and two scenes) first, then U10b-1's block (the document page scene), each whole. The wire: the base takes no wire minor and no link minor; WIRE_MINOR stays 48 and RL2_PROTOCOL stays 1.14. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ster) The cascade of the coming master: board ticket 711's security fix and the depth scene's test fix land on master ahead of the UX wave's chain; their combined tree (the cascade base, 9622061) went into the chain's first link, U10b-1, at c6322b7. That head goes into U6b here, the chain's next link. Conflict, resolved by keeping both sides whole: - docs/charter.md, X9: both sides append to the X9 entry; U6b's "Amended 2026-11-14 (UX wave U6b-1, l5-code-11)" sentence stands first, then the base's "Amended 2026-11-16 (board ticket 711)" sentences, in date order. e2e/cross-build.spec.ts merged without a conflict. The wire: the base takes no wire minor and no link minor; WIRE_MINOR stays 48 and RL2_PROTOCOL stays 1.14. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…cene reads the steer in its new form) Master is at the test fix (f50dee5) since pull request 718 landed. Pull request 717 gained one commit that edits one e2e scene (a9a61f8). This commit's tree is master with that head merged, the tree master will have once 717 lands; it stands on the earlier base so the chain's links take only the one file's change. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Pull request 717 (board ticket 711) gained one commit after the first cascade: the to-human scene reads the steer in its new form (e2e/to-human.spec.ts). This merge brings that one file's change; no conflict. The wire and link numbers are unchanged. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Pull request 717 (board ticket 711) gained one commit after the first cascade: the to-human scene reads the steer in its new form (e2e/to-human.spec.ts). This merge brings that one file's change; no conflict. The wire and link numbers are unchanged. 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. |
|
Landed as master-first merge 44703e1 in batch 1 (#725 to #728, one sitting, chain order); merge tree equals this PR's head tree. Gate of record: the manual gate during the Actions billing lock, runs named in the body; final Mac default rerun 3b7493f-20261116T163807Z GREEN. Accepted for the batch: e2e:desk-web and cross-build on the tip only (no intermediate head is installed anywhere), unit:darwin and e2e:lane-a from 3b7493f-20261116T135342Z (same tree). Owed after the lock: the real class 1a on master. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook) |
Root:
docs/doperpowers/specs/2026-11-12-ux-wave-design.md· child U6 (docs/doperpowers/specs/2026-11-12-ux-wave/U6-files-links-keyboard.md), the first of the five landings U6b is cut into (U6b-1; the cut:docs/doperpowers/plans/2026-11-14-ux-wave-U6b-cut.md) · parent pinc6a22fe89· execution documentdocs/doperpowers/plans/2026-11-14-ux-wave-U6b-1-file-beside-chat.md. Items: l5-code-11 with the remainder of l5-code-13, and from U8's O-36 the drags of a side tab and the selected tab kept in view. Acceptance A1 and A2, and the document's own L1 to L11. Board #670, under #592.What it does
Until now every place that opens a file (a path in the transcript, Review's Open, a row of Files' tree, the agent's
show_pane) opened a tab in the main area and selected it, so the conversation left the screen at the moment the person wanted to read the file beside it.What is stored or sent, and what the peer builds do with it (UC-14). Nothing is added to a stored tab, to
main.tabs, toregionsor to the stored side surfaces; no version moves; neither settings file is touched. A file beside the chat is a Files ref{ id, toolId: 'files', pinned: false }inpanel.<session>(the tree-only ref, when there is one, first), with{ file, line, preview? }underpanelTools.params; the key isfile, notpath, because build F (f1852de3a) reads a Files tab'spathas a file to open in its main area. One new layout key,files.tree({ version: 1, sessions: { <session>: { width, folded, expanded } } },FilesTreeSchemainsrc/shared/ipc/schema/layout.ts), holds the tree's state. Build F, read in its source: draws one Files surface per session with its tree, keeps every ref and every params entry through its own writes, ignoresfile, and keepsfiles.tree, which it never names, whole. Its Files icon pins the first Files ref, which is the tree-only one where there is one; where it pins a ref that holds a file, this build reads that ref as the pinned tree-only tab (the file's side tab gone). A file it opens is a main tab here, and a side tab of the same file is dropped at the read. A stay on build F does not keep the arrangement in two groups (U8b's rule). Interfaces §A of the execution document has the table. The scene "(files beside the chat, both ways)" ine2e/cross-build.spec.tsholds the round trip, the pinned one included; it runs against any peer without this landing'stools/code/files/tabs.ts, so against bothf1852de3aand2c7044231. Nothing is sent between builds and no wire minor is taken:layout.getandlayout.setare main's own and outside the wire's manifest, and the branch's wire files are master's. No key changed (src/shared/keymap/actions.tshas no diff).To the agent (X9).
show_panewith panefileopens the file beside the chat and answersopenedin itspanel-toolform (toolId: 'files',titlethe file's name), or in itsmain-tabform when a main tab already shows the file; neither form's shape and no description changes. A call made before the window has read its layout waits for it; after five seconds it answers the new error textshow_pane: the MAWS window was still loading its layout; try again(TOOL_ERRORS.paneNotReady,src/shared/maws/tools.ts).The record. The branch makes the dated amendments the execution document's "The pull request" lists (
651b73f09): indocs/charter.md, one sentence each at §3 P0 ("Main tabs"), §5.6 Files and §12 C8's acceptance, dated 2026-11-12, the owner's mark on l5-code-11; X9's record gains its two lines, dated 2026-11-14 (theshow_paneanswer for a file, andpaneNotReady); and the coverage table ine2e/cross-build.spec.tsgains the row "U6b-1: files beside the chat".Verification
The head and what it holds. The head is
a295677aeaf39cb3a43a44655dda94256f588e2b: the branch's own last commit281ef5a6c(below), then two merges of U10b-1's heads, which hold masterb89d6d1d7by tree through the cascade:ae8f71798merged U10b-1'sc6322b7c3, which brought master's two fixes sinceef1d659ad(#711: an answer to a question asked without waiting carries no text the model wrote #717, board ticket 711's answer envelope and grant refusal, andf50dee557, the desk web app's depth scenes; 19 files changed, 1049 insertions, 82 deletions; one conflict, the X9 entry ofdocs/charter.md, resolved by keeping both sides whole), anda295677aemerged U10b-1's headff0474124, which brought one e2e file,e2e/to-human.spec.ts. Before the cascade,b730f60f5had merged U10b-1'sd3f6f7e16(masteref1d659adwith UX wave · U11, landing U11c: Customize as My items and Discover with Show inside, and an image for every item #702). U10b-1 (UX wave U10b: the rest of the artifacts work #595) must be on master before this pull request, so that its diff against master reads as this landing's own (git diff --stat ff0474124 a295677ae | tail -1: 77 files changed, 6608 insertions, 456 deletions).It lands as a master-first merge: the merge of master and this head, whose tree equals the head's tree (
a50205960), because the head already holds master's tree (with masterb89d6d1d7today, and with U10b-1's head, which this head holds, once U10b-1 has landed).Class 1a, on this head: manual gate run
a295677aeaf3-20261116T155559Z: GREEN.static's script tests 588 of 588;unitin four shards, 41,564 passed and 100 skipped (1/4: 10,163 passed, 35 skipped; 2/4: 10,869, 13; 3/4: 9,387, 44; 4/4: 11,145, 8);probes347 of 347. The desk web app (e2e:desk-web, which imports renderer files whose import graph reachesstores/layout.tsandtools/code/open-file.ts) was not in this head's run; it ran on the batch's tip, which holds this head, in class 1a run3b7493f443a1-20261116T140256Z: GREEN, 198 passed, 1 skipped.The Mac groups, on the batch's tip. By a ruling of the session that keeps master, the Mac groups of this batch's four links (U10b-1, U6b-1, U10b-4, U10b-2) ran once, as their union, on the batch's tip, U10b-2's head
3b7493f44, which holds this head; class 1a ran on each link's own head. The record is manual gate run3b7493f443a1-20261116T143056Z; the three groups that failed there ran again in3b7493f443a1-20261116T160258Z. This link's groups:e2e:code(39 passed),e2e:panel(31),e2e:side(12),e2e:remote(16),e2e:layout(25),e2e:library(12),e2e:tools(16),e2e:scm(8),e2e:browser-comment(18),e2e:supervisor-daemon(27). The Mac mini copies this link owed passed there too:e2e:remote(16) ande2e:supervisor-daemon(27) on its host, and in its gueste2e:code(39),e2e:panel(31),e2e:side(12),e2e:library(12) ande2e:scm(8).e2e:deliverables: in the record run 1 failed and 13 passed (e2e/deliverables.spec.ts:1172, a pass of comments on an HTML page); in the rerun, passed, 14 passed.e2e:defaultfailed in the record run and in the first rerun with one scene, a different one each time, and passed whole in a second rerun. In the record run (1 failed, 212 skipped, 103 passed) the failing scene wase2e/sessions.spec.ts:797, "sessions › New chat from each control, with three sessions open, adds one tab right after the tab in front and the three stay", a scene this landing does not change, which passed in the rerun. In the rerun (1 failed, 315 skipped, 239 passed) it wase2e/ux2-shell.spec.ts:891, "Acceptance: overflowing tabs remain reachable and F6 visits cards and surface content", the scene ofe2e:layout's to which this landing adds the ten kept files (below). It passed in the record run'se2e:layout; default ran it in the rerun becausee2e:layoutwas not in that run. The second rerun ofe2e:default, on the Mac mini's host, is manual gate run3b7493f443a1-20261116T163807Z: GREEN, 266 passed and 315 skipped, with both scenes passed in it (e2e/sessions.spec.ts:797, ande2e/ux2-shell.spec.ts:891in the whole group's order).unit:darwinande2e:lane-a. Both ran on the same tip in manual gate run3b7493f443a1-20261116T135342Z(whose build failed, so most of its groups did not run) and passed there:unit:darwin22 files, 574 passed and 10 skipped;e2e:lane-a17 passed. Neither is owed.e2e/layout-transfer.spec.tspassed ine2e:default(and again in the rerun), the describe "UX wave U6b-1: a file opens beside the chat" ine2e:code, and the F6 scene ofe2e/ux2-shell.spec.tsine2e:layout.The round trips with the older builds, on the tip, in the record run. This landing adds one scene to
e2e/cross-build.spec.ts: "(files beside the chat, both ways) three files beside one chat and one beside another, as this build stores them, are drawn by the peer as its Files tree; its main tab of one and its pin of the other's are read back here as the main tab alone and the pinned tree". The tip's file has 28 scenes. Againstf1852de3a: passed, 21 passed and 7 skipped; against2c7044231: passed, 9 passed and 19 skipped; against masterb89d6d1d7(the plan's peer, since the tip's wire is 3.50, a minor above master's 3.48): passed, 8 passed and 20 skipped. "(files beside the chat, both ways)" passed against each of the three; againstf1852de3aboth "(side column, …)" scenes and "(layout, from the peer)" passed too.Owed after landing: class 1a and the Mac groups on GitHub's own gate, of which no run exists for this head. The manual gate stands in for it; it uploads no artifacts (each job's reports stay beside its log) and runs the groups GitHub gives hosted Macs on the Mac mini instead. The paid live groups whose specs open a file, if they are run (Residue).
The branch's last commit,
281ef5a6c. Onb730f60f5, run 43743035055'se2e:defaultwas red at "a file moves to the main area and back by its menu and by a drag: the edit typed just before each move is there once and one undo removes it" (e2e/layout-transfer.spec.ts), at the side tab dragged onto the main strip: the step waited for "Move to tab" and never saw it. The strip draws that label only in itsdragoverhandler, Chromium firesdragoveronly on a second pointer sample over the same innermost element, and the scene'sdraghelper's last two samples could land on different elements of the session's tab, with nothing sent while the pointer rests.281ef5a6csamples the final point a second time, as a real pointer at rest does (macOS keeps sending drag updates); it changes only that helper (1 file changed, 5 insertions(+), 1 deletion(-)), and no product file. The scene passed on281ef5a6c(run 43751505537) and in both runs on the tip.The scenes this landing adds or changes, by group (Interfaces §G):
e2e:e2e/layout-transfer.spec.tsadds "a file moves to the main area and back by its menu and by a drag: the edit typed just before each move is there once and one undo removes it", "a relaunch brings back the files beside the chat, the preview tab and the tree's state" and "a side tab dragged onto the other group's strip joins it";e2e/sessions.spec.ts(U6c's linked file outside the folders: the text file and the PDF's row beside the chat, the main strip as it was) ande2e/c12-prerun.spec.ts(the viewer piece) change.e2e:code:e2e/code-tools.spec.tsadds the describe "UX wave U6b-1: a file opens beside the chat" (a path link, Review's Open and a tree row reusing the preview; the double-click keep; ⌘-click from a link and from a row) and changes four scenes; every scene ofe2e/code-editor.spec.tsfinds the file's tab in the side strip (e2e/support/code-product.ts), and its merge-view scene moves the file to the main area by the bar's button before its 600 px step.e2e:panel(the Sources card's file row),e2e:side(a side thread's anchored file),e2e:remote(the other machine's file beside the chat, read there, the main strip unchanged),e2e:layout(e2e/ux2-shell.spec.ts: F6 brings the selected side tab back into view among ten kept files),e2e:cross-build(above).e2e:deliverables,e2e:libraryande2e:tools(a File artifact's "Open as file" and a replayedshow_pane, where a scene has one) ande2e:scm,e2e:browser-commentande2e:supervisor-daemon(whose specs import the changede2e/support/code-product.ts) were read and needed no change;e2e:lane-aholds a terminal session's opens (the document's Proof 6).Earlier passes, not the record (on older heads, before the cascade). On
281ef5a6c: class 1a withe2e:desk-webrun 43751445876 (the desk web app 198 passed, 1 skipped),unit:darwinrun 43751445548 ande2e:defaultrun 43751505537 (198 passed, 287 skipped), each success. Onb730f60f5(the merge of U10b-1'sd3f6f7e16): class 1a run 43742067845,unit:darwinrun 43742077741,e2e:desk-webrun 43742084876 and the cross-build runs 43742089422 (f1852de3a, 17 passed, 7 skipped) and 43742093077 (2c7044231, 5 passed, 19 skipped), each success; the thirteen groups' run 43743035055 read failure, itse2e:defaultred at the scene281ef5a6cmends. On939e415c9(the merge of masterd91df63eb): class 1a run 43738595762,unit:darwinrun 43738563905,e2e:desk-webrun 43738591992 and the cross-build runs 43738596312 and 43738595832, green; the thirteen groups' run 43738618868 was cancelled part-way for the next merge. Before them: class 1a run 43715674829 on22fb3d824, green; the cross-build scene on M1's head, run 43664040760 on719b5fcbeagainstf1852de3a, failed on the new scene's own order (build F, like this build, opens a session from the sidebar in the place of a clean unpinned tab; the peer's part now pins first and opens last,12ca4f34c, Decision Log 13d), then runs 43682398588 (f1852de3a) and 43689819764 (2c7044231) were green.The first Mac run of the scenes, run 43715008756 on
d4b4a32ee, failed:e2e:default218 passed and 1 failed (e2e/layout-transfer.spec.ts, "a file moves to the main area and back …"), ande2e:codeand the Mac mini's copy of code, side and panel failed. Both failures were product faults, and the scenes were right (Decision Log 25; red first in each,ed804ea81..f14ba498c):ed804ea81red in the compiled project,1b1a37f51).@codemirror/mergecaches each chunk's widget, and the editor state handed to the next view carried those widgets. The code view now draws the merge view anew whenever it reuses a state (redrawMergeView,tools/code/editor/merge.ts;d7b234c85red,a871dd3b1), which also mends the older fault named above (676361533,a7304cccb,f14ba498c).Review: the
doperpowers:review-codexhigh panel on93905c9ef..22fb3d824: verdict "incorrect", five P2 findings, all fixed in this landing in one wave, each a failing test and then its fix (22fb3d824..f5f1149d6, Decision Log 24):2866a0098red,dd98e9ce1).main.tabswithout the file before the file's destination was stored, so a reload could lose the file's tab. The sessionsmain.tabsholds open are now counted as the write log takesmain.tabs(08ef29981red,cb9372a20).moveBetweenGroupsinpanel/TabStrip.tsx, now serves both (fbc809817red,7ea090109).698b9a127red,4a319e99a).a7dd7a987red,7bc94af27), and, found by the fix range's review, missed the case where the move joins the two groups into one (cf6f96c44red,f5f1149d6).The fix range:
doperpowers:reviewer-medium, verdict "correct", no material findings. The delta since the panel (22fb3d824..92ea0f226and2d12c4bef..6b974090c, which hold the fix wave and the two Mac fixes):doperpowers:reviewer-mediumraised one P2, recorded as debt with the architect's agreement (38ea81768, Decision Log 26):redrawMergeViewdraws the merge view anew whenever a view takes over a state, so an "unchanged lines" block the person had expanded is folded again after a move or after the tab was hidden and shown, and the restored scroll offset then stands over other lines. No text changes; it needs the merge view, an expanded block and a move or tab switch together, and the redraw replaces controls that did nothing. Before the panel, each of the five milestones was reviewed at its frontier by a task reviewer, its fixes red first, until clean (Progress and Decision Log 13, 16, 18, 19, 21 to 23).On the build VM (Linux), before the cascade: at
d4b4a32ee(M5's acceptance run),pnpm typecheckandpnpm lintexit 0, the script tests 588 of 588 and the desk web app's 811 tests pass; on939e415c9,pnpm typecheckexits 0 and the touched folders' suites pass apart from failures known to that VM or caused by its load. Class 1a above is the record for the whole suite.As built, beyond the document's first text (its Decision Log has each)
tools/code/viewer/MarkdownView.tsxpasses ⌘ through (Decision Log 11k, ruled 12). Three other Markdown providers still drop it (tracker row below).main.tabs, thepanel.<session>lists andpanelTools.params: what is stored is always a prefix of the log, and after every prefix each file is in at least one place (22). Two earlier designs, per-key gates, each left a window in which a file was stored nowhere.harness/code/CodeHarnessBlock.tsx), because its row's session is no real session (23(1)). §G's remote assertion that the read carries nonamedkey is held by M1's unit test, where the request can be observed; the scene asserts what a person sees (23(2)).Residue
docs/tech-debt-tracker.md, owner UX wave U6b-1:tools/maws/ask/HoverAsk.tsx,tools/maws/ask/AskSheetTool.tsx,request-card/variants/Plan.tsx) take no ⌘-click.panelHost.addTool('files', { pin: true, params: { file } })loses its file (no caller passespinwith a file; the exit is one condition inapplyAdd).layout.setand a reload before the next write, can cost one tab after the reload; the file on disk is untouched.viewer.test's Load-more case,Sidebar,journal,normalizer-fidelity,cua-broker), andsrc/main/org/rows.test.tsreaches its 5 s bound there even alone: the VM's, not this landing's.e2e/code-tools-live.spec.ts,e2e/p1-live.spec.ts,e2e/maws-tools-live.spec.ts): read, not edited;code-tools-liveassumes a side column wide enough for the tree beside the file. Whether they run is the architect's (root UC-10).dragoveronly, the event the scene's fix concerns): a file's tab onto the main strip, onto a pane's body and onto the right edge; a main file tab onto the side column; a side tab onto the other group and onto the lower part; with a page of the in-app browser shown beside, whose cover must hold while the drag is on (the document's Proof 3).Closes #670
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)