Repository navigation
UX wave U6b-5b: the app's zoom (⌘= / ⌘− / ⌘0), kept in the window's layout - #801
Merged
Merged
Conversation
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…in acted on, kept in ViewManager) and the menu seam's at() placed is kept for the reports place() acts on, as received, with their count; read only by the e2e inspector. at() is the point the last menu was handed to the presenter with, recorded only on the e2e path. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…be scenes The harness: one launch per part of rows a to j, RECORD lines and runs/<time>/results.json; it imports nothing from src/. placedOn (e2e/support/browser-scene.ts) waits on main's acknowledgment of a placement (decision 36). The probes, each skipped unless MAWS_ZOOM_PROBE=1, record and assert nothing: the view, the pointer, the lights and the device box (browser.spec.ts), the popup and the menus (browser-chrome.spec.ts), the pin (browser-comment.spec.ts), and the peer's factor (cross-build.spec.ts). The seam-shape case in index.test.ts now reads placed: null. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e living sections Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The harness: rows a to d stand only on a zooming launch that set 1.5 in its mode and ended as asked; the kill's mark right after the call; row i needs getZoomMode to read isolated; row j needs the move completed, and a launch with no answer fails rather than reading as not run; labels no longer overwritten; the harness's own path scrubbed from what it prints and stores. The device-box probe sizes the window to its display, waits for the room to settle, and says when a sample cannot be had; the pin probe acknowledges the placement before it reads bounds and records the caret. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The cross-build probe: each build's page URL and whether they match (a peer on another URL is not P7 evidence), this build relaunched as the same-URL reading, the forced exit after a default-mode write control reached Preferences (bounded; not established otherwise), the kill at once a labelled extra, every line scrubbed of the builds' roots, the scratch and the home folder and refused if a path is left. The harness: row h needs the page at the factor, f3 a painted frame before the show, row g a propagation control in place of a fixed wait, windows shown inactive unless --look, and its records scrubbed (scrub.mjs). The popup's predictions through popupBounds' clamp; the device box's ample room by Expand surface where the separator or the sheet cannot give it. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ctions Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…L less its fragment, the query kept) The relaunch is a same-URL reading only on the same key; on another it is neither the control nor P7 evidence. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…p stops at 76d0bbc Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ld out of App Nap; the Mac run of record The pin probe: the window at its display's work area and the target scrolled into the tab page's viewport, recorded as not established where it cannot fit. The popup and the menu probe: the panel's Browser hidden and the window at its work area, so the main tab's chrome draws its actions inline; a factor at which they fold, or the folder chip leaves for », is recorded. The cross-build write control: the app held out of App Nap while it waits, up to 120 s. FINDINGS.md gains the Mac's rows 2 and 3 as the run of record. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… itself; the actions' first match) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…factors; the peers' probe with the write control) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…INDINGS.md; the architect's rulings on what stays open Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…5b, before M2 Sminos-Session: ux-wave#10d85d03 (MAWS on macbook) # Conflicts: # e2e/browser.spec.ts # e2e/cross-build.spec.ts
…be's scene; M1's verdict and M2's start in the execution document (Decision Log 17) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… command, publish, S3 and the failed write, the three rows, and each placement pinned by the Mac's numbers Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ted at it from its first show, the three rows and their line, and the six placements in window points Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…o wire minor) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…h place) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ecution document (Decision Log 18) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… every zoom (red, Decision Log 18) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ts two buttons and its padding at every zoom (Decision Log 18) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…from the placed edges, a staged view, the startup race; the matrix and the preset table Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hip reads the placed edges, a staged view is left to staging's return, a late startup read yields to a heard change Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…f the factor opens on its element Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ks (the same line as ux-wave/U6b-5's resolution) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ment (Decision Log 21, 22) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…§I, Decision Log 22) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…measures its clamp; the chip's own menu at a set room; the zoom line witnessed, then gone; one sample for the acknowledgment and the four edges; settings.json read after the zoom; the presenter polled for; B10's page keys in browser-focus Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…r, which grows while the rows still fit; settings.json read after each of View's three zoom items, zoomed and not Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ng the tracker's row of 2026-10-27 (ruled); the row says the mark comes off when the scene passes Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…; Decision Log 23; Outcomes & Retrospective Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…of factor (sweep#1); the chip reads Blink's AdjustInt over the display's device pixels (scalpel-3#1) from both edges the pane sent (scalpel-3#2); the dock's caret takes the view's inset in its column (scalpel-3#3) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ange of the app's factor (sweep#1); the chip reads the page's size as Blink's AdjustInt does, over the display's device pixels (scalpel-3#1), from both edges the pane sent main (scalpel-3#2); the comment dock's frame carries the view's inset in its column (scalpel-3#3); the probe finalises on close (sweep#3) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…'s ruled findings (scalpel-1#1, scalpel-1#2, scalpel-2#1) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ly while it is the element's (within a pixel); a rect from before a new size reads the element's own (View.test's swap case, red at fefb2e0) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ep 4 and §G row 2 close an open popup on a change of factor (Decision Log 24) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ve origin as main rounds it, back in CSS pixels (at 50 %: 126, not 125) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ive origin; the e2e reads the chip and the page against Blink's rule at the display's scale (readsAsBlink); scenes for the popup's close at a zoom and the pin at a device size; dismiss takes the factor; the crashed-renderer row names the reconcile at a live frame Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…b-5a; #787 tracker rows) into ux-wave/U6b-5b, before the gate Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…cision Log 24; Progress Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…-wave/U6b-5b; cross-build's coverage comment keeps both rows (U6b-4c's, then U6b-5b's) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…cript's clamp scene judged by what it reaches The four-factor zoom scene compared the still's pixels per view point at 100 % and 150 %. Main caps a still's longer edge at CROP_MAX_EDGE (encodeCrop), so on the Mac mini's 2,560-point display at scale 2 the still was 1568 wide at both factors while the view was 1380 and 1302 points: the ratio cannot hold, and the product was right (the still's aspect is the view's at both). The scene now holds each still to the view's device size or the cap, whichever is smaller, from the view's native bounds, Electron's display scale and the cap's constant. The transcript's zoom scene was marked test.fail as a whole, so its unmet premise (no clamp more than 1 px short at 110 % on a scale-2 display) counted as the row's failure. It now seeks the row's condition before each clamp and judges at run time: a release after a clamp more than 1 px short is the row (test.fail at that point); a release after a shallower clamp fails as its own fault; a hold after such a clamp says the row is fixed; no such clamp skips as no evidence. The tracker row of 2026-10-27 records the run and Blink's rounding behind it. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…(Decision Log 25; Decision Log 21's 2 % reading superseded, 23 reversed) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…4 plainly; Mark up's still's own rect on the pane Per the architect's ruling (Decision Log 25): the transcript scene drops the padding search, the run-time test.fail and test.skip and the catch. At 110 % and 80 %, after each part, it asserts following, with the end's gap read as the list judges it (min(scrollHeight, the virtualiser's committed total) - clientHeight - scrollTop), and annotates per zoom the largest gap a clamp left, read the same way in the key's dispatch. The tracker row of 2026-10-27 is qualified to what was measured (the Mac mini, scale 2, 110 %: no clamp more than 1 px short, following held) and stays open. The four-factor browser scene also holds the still's own image rectangle to the pane at 100 % and 150 %. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… 25 says Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…th an action every peer has; the library tab retired in U7b The peer now folds its sidebar from View's item (sidebar.toggle, the same toggleSidebar and setSidebar on build F and every master since), and the scene polls regions.sidebar.collapsed in layout.json, where post-U7b peers add no Artifacts tab for the library's button. 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.
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), landing U6b-5b, the second half of U6b's fifth landing: zoom · execution documentdocs/doperpowers/plans/2026-11-17-ux-wave-U6b-5b-zoom.md(task reports under.doperpowers/sde/2026-11-17-ux-wave-U6b-5b-zoom/). Items: l7-shell-08 (zoom) and the last three of UC-6's six rows (Zoom In, Zoom Out, Actual Size); acceptance B10 to B12, and B13 and B14 for those rows. Board #674 (U6b-5, under #592): U6b-5a landed the keyboard and three rows, and this half lands the rest. This body is the short form the owner chose on 2026-11-17: what it does, the proof, what differs from the plan, and what is left over. The history of milestones, merges and review rounds is in the document's Decision Log, Surprises & Discoveries and Outcomes & Retrospective.What it does
window.zoominlayout.json({ version: 1, factor }, absent at 100 %), published with the file and the map together or not at all;layout.zoomandlayout.zoomChangedpass only between a window and its own main, which the wire's manifest leaves out, so no wire minor moves (the wire stays at master's 60). Neither settings file changes, and no action id is stored. Builds F (f1852de3a) and M (2c7044231) on the same profile show 100 % and keep the key through their own write.Proof
95cd94d8112ab8272f9c4d84bd7bb26ecc5fe628onux-wave/U6b-5b, tree85469f247. Masterb9b6ee0dd(U6b-4c landed) is merged atcb3c12cc7, so the landing is a merge commit with no conflict. Its change isgit diff --stat b9b6ee0dd 95cd94d81 | tail -1: 73 files changed, 4223 insertions(+), 159 deletions(-).85469f247. This head isfc4684b7aplus one commit toe2e/cross-build.spec.ts("(zoom, both ways)": the peer folds its sidebar from View's item to write its layout, since U7b retired the library's tab that the scene had opened);fc4684b7a: run 44686470472 (gate commit541068b71, tree6cbadc46a), plan, static-local, static, probes, unit 1/4 to 4/4 ande2e:desk-web, all success;cb3c12cc7: run 44680163452, the same jobs, all success. After it the branch changed only the document, the tracker,e2e/browser.spec.tsande2e/transcript.spec.ts;8e92a8690: class 1a run 44678004205, plan, static-local, static, probes and unit 1/4 to 4/4, success; the desk's web app, run 44679192389, success.8e92a8690, on the mini's display of 2,560 × 1,440 points at scale 2. This head adds master's U6b-4c and the reworked browser and transcript zoom scenes over it.8e92a86904fb-20261120T051238Z):e2e/browser-chrome.spec.ts:951 "zoom: a popup under its icon and the menus at their buttons, at 50 % and 125 %" and :1032 "zoom: an extension popup open across a change of the zoom closes";e2e/browser-comment.spec.ts:1580 "zoom: the pin on the picked element at 50 %, 80 % and 125 %" and :1627 "zoom: the pin of a page at the Mobile size, centred in a wider column, at 125 % and after a zoom to 150 %". All passed.8e92a86904fb-20261120T054220Z):e2e:browser-chrome9 passed,e2e:browser-comment20,e2e:terminal18,e2e:presentations40 (10 skipped),e2e:render-host4 (2 skipped),e2e:transcript51 (1 skipped),e2e:settings27 (1 skipped). Among them, the zoom scenes of the terminal ("the grid refits and a selection is under the pointer at 125 %"), the presenter's window, a deck's export and an artifact's capture.e2e:layout26 passed and one failed:e2e/ux2-shell.spec.ts:896"Acceptance: overflowing tabs remain reachable and F6 visits cards and surface content", ticket e2e: the F6 scene's strip offset can be undone by a late reveal of the tab in front (ux2-shell.spec.ts, one red under load) #729, the base's known flake (repeated five times it fails three at the basebdbfe863e).e2e/browser.spec.ts:1442"zoom: the page stays under its frame at 50 %, 80 %, 125 % and 200 %, … Mark up's still at 150 %; …" failed the same way in every run at8e92a8690(…T051238Z,…T053231Zon the host and in the guest's copy,…T053947Z,…T054220Z): its check held Mark up's still to the same pixels per point within 2 % (0.0599 against 0.02). Every still is capped on its long edge atCROP_MAX_EDGE(1,568), so on that display its sharpness differs between factors by design, while its place and scale on screen do not. The check now holds each still to the view's device size, or that size capped, within a pixel, and the image's own rectangle to the pane (Decision Log 25).e2e/transcript.spec.ts:3133"zoom: at 110 % and 80 % a streaming transcript keeps following while a key is pressed in a side surface" was then marked expected-to-fail (Decision Log 23). On the mini the row of 2026-10-27's condition never arose (no clamp landed more than 1 px short) and following held, so the scene now asserts following at both sizes, with notest.fail, and annotates the largest gap the product itself judges (Decision Log 25).e2e:browserwhole, atfc4684b7a, mini host): 16 passed.browser.spec.ts:1455"zoom: the page stays under its frame … Mark up's still at 150 %; the Mobile size, its chip and its menu at each" passed, the Mobile chip part included.e2e:transcriptwhole, atfc4684b7a, mini host): 51 passed, 1 skipped.transcript.spec.ts:3130"zoom: at 110 % and 80 % a streaming transcript keeps following while a key is pressed in a side surface" passed as an ordinary assertion. The largest gap a clamp left, as the list judges it, was 0.64 px at 110 % and 0.25 px at 80 %, under the 2026-10-27 row's condition of more than 1 px.e2e:defaultwhole, in the foreground, at8e92a8690, mini host): 287 passed, 379 skipped, 1 failed.e2e/browser-focus.spec.ts:77"zoom (B10): … ⌘= and ⌘- zoom the page alone, and draw no zoom line" passed. The one red is e2e: the F6 scene's strip offset can be undone by a late reveal of the tab in front (ux2-shell.spec.ts, one red under load) #729'sux2-shell.spec.ts:896at :964, with that ticket's numbers (scrollLeft 1172.5 against 1133).e2e:cross-buildwhole, at95cd94d81, mini guest), against four peers, green 4/4. "(zoom, both ways)" (cross-build.spec.ts:1365) ran and passed on each:f1852de3a37 passed, 7 skipped, 1 flaky;2c704423126 passed, 19 skipped;5e85340427 passed, 38 skipped;b89d6d1d725 passed, 20 skipped. The flaky case is:1029"(update) the older build's app keeps a session…" onf1852de3aonly: its first try saw the peer's terminal host misspty.list's 10 s answer and log it, and the retry passed. It passed first time on the other three peers, and this branch changes no terminal code. The run before it, at8e92a8690, failed the scene on the three peers built after U7b: its setup opened the Artifacts library tab, which U7b retired, so the peer wrote no layout.95cd94d81makes the peer fold its sidebar from View's item instead, which every peer has. At8e92a8690the old U2b scene "(to-human, to the peer)" also failed on5e8534042; that head predated UX wave U6b-4c: Markdown links open files, editable, in and outside the session's folder (wire 60) #798's guard, and at95cd94d81the scene skips there.unit:darwin, at8e92a8690, mini host): 23 files; 702 passed, 10 skipped.wf_a95dcd1e-0e4, on17f422d11..f39cc1289) returned "incorrect": four P2 and one P3 fixed red first, three P3 to the tracker; the fix wave's task review approved after one round (Decision Log 24).98f8e8c41, whose 11 failing files are each on the build brief's list or pass alone.What differs from the plan
Numbers are Decision Log entries of the document.
zoomMode: 'isolated'and nothing resets at quit. The peers' probe ran against build F; the run against2c7044231was dropped (16), and row j (a second display) and the look are owed to the owner.WindowZoomSchema; the factor reaches U12's placements as an optionalzoomOf, a named insertion insrc/main/browser/index.tsandextensions/index.ts; the popup's clamp moves tosrc/shared/browser/popup-bounds.ts(12); the Toolbar's leading box follows the factor, past §H's one class.AdjustForAbsoluteZoom::AdjustIntdoes, from both edges the pane sent and the display's scale (24, scalpel-3#1 and Main survives a closed stdout or stderr, and the W1 on-disk steer case takes delivery_id #2). A Mac scene takes its expected value from that rule at the display's actual scale, never a constant.close(24, sweep#3), with a 10 s bound on its drain.spikes/zoom-probe/stays as the spike's record.test.fail()(23) and back to a plain assertion when the Mac showed the condition does not arise there (25); Mark up's 2 % reading is superseded by the still's capture rule (25).Left over
docs/tech-debt-tracker.md: ten new rows, owner "UX wave U6 (U6b-5b, …)": ⌘+ (⇧⌘=) is not Zoom In, a row having one chord; the layout's breakpoints read the window in CSS pixels, so at 200 % a window under 1,400 points draws the side surface over the chat; the window's minimum size does not follow the factor; at 200 % a device width can read one pixel over; B11's sentence on a move to a display of another scale is not proven (row j); a comment's pin does not follow its element when the page reflows; a placement report that moves a staged view to another window takes the older window-change step; and the panel's three P3 (scalpel-1#1, one menu click steps twice with two windows; scalpel-1#2, a crashed renderer misses a zoom change; scalpel-2#1, an intermediate device width before the pane's report after a zoom). The 2026-10-24 row loses zoom; the 2026-10-27 row stays open, qualified to what was measured (not reached on the mini at 110 %, unproven at scale 1 and at other factors).Closes #674
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)