From 5bfea157e191f2ce8442ddfa9af0955c345d1623 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 26 Nov 2026 10:31:24 -0300 Subject: test/snapshots: the eight goldens with a frame out of rest re-recorded under UX DESIGN M (the change before: the tag stays as at rest, the head on the row under it, then the band), read snap by snap against their recording on M2 (8959b031dc33) with .scratch/walkui/W5/gdiff.py (M2's gcmp.py parser: each label's changed rows, its cursor, the rows whose styles moved); every moved row is one of five classes, none other: (1) A LEVEL ROLLED (leader's spc, spc-h, unmapped; find's group): the tag's row is the rest tag again (`/…/cmds.txt Keep Del`, `/…/here.txt Keep Del`), the level's rows one row down from the row under it (`␣ ▸ b buffer…` row 1 -> 2, its continuation rows 2-3 -> 3-4), over the body's first row; spc-h's and group's caret, on line 1, hidden while it is covered (`cursor 7,2 -> hidden`: UX DESIGN I1, the caret's line may be covered while a level is up); (2) A TEXT PROMPT (pipe's prompt; selregex's prompt-armed, preview, narrowed; msg's prompt, prompt-wins; fsearch's slash, typing, nomatch): the tag's row the rest tag (selregex's narrowed `Edit x/const/ › /…/m.zig Keep Del`, its recipe word in the trail as at rest; fsearch's `‹@p1 › /…/g.txt Keep Del`), the head (`| tr a-z A-Z = Exec Edit |tr a-z A-Z … 1 line → 1`, `s const = Exec Edit x/const/ … 3 selections in 3 lines`, `/ MARK = Look /MARK/ … 1/3 · 3 lines`, `s EXT … 0`) on the row under it over the body's first line, the field's caret one row down; the styles that moved are those two rows' alone (selregex preview and narrowed: 219 cells on rows 1-2; fsearch typing: 152 cells on rows 16-17); (3) A PICKER IN A READING PANE (find's armed, typing, next, nomatch, topbar; lsp's symbols, step, nothing; fsearch's list, ctrln): the tag's row the rest tag (lsp's `a.zig:8 › /…/a.zig Keep Del`, where its head followed `a.zig:8 › `), the head `␣ f Find … 1/5` / `␣ l Symbols …` from the tag's text column on the row under it, the act row and the list's rows one row down, their spines under the head's key cells at columns 2 and 4 (lsp's were after the prefix, at 12 and 14), the field's caret one row down; the preview under them a row lower; (4) A PICKER'S BORROWED ROWS (fsearch's list, ctrln): the landing pane holds a body of 60 % under its tag, head and band (UX D6, M4), and the head's row is one more row above that body: its floor goes from 15 rows to 18 (tag 1 + head 2 + band 4 = 7, then 11), so the pane above gives three more rows and the landing pane's tag is three rows higher (row 15 -> 12); and at rest after the landing (fsearch's landed) the view is a line less scrolled (line 1 at its top, `6 MARK b` on row 22, was 21): the landing put the place at a third of the preview's body, two rows taller now; (5) HELP IN A +Help (ttyhelp's leaderworks): the tag's row `/…/+Help Del`, `Help tutor 1/1` on the row under it, the rows and the doc one row down; no golden at rest moved (the 94 others, and every rest frame of these eight but fsearch's landed, the same byte for byte); the dump format did not change (no pane or view field), so no fuzz and no soak; GATES: process-test 0 of 149 failed (3 skipped; the eight failed on the change before, each its golden); pane-test 184/185 (1 skipped), term-test 17/17, kitty-test 45/45 (this tree, the code-actions fix in); load 3.3 to 6.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE --- test/snapshots/selregex.golden | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test/snapshots/selregex.golden') diff --git a/test/snapshots/selregex.golden b/test/snapshots/selregex.golden index 664c8cca..4b704ee9 100644 --- a/test/snapshots/selregex.golden +++ b/test/snapshots/selregex.golden @@ -1,7 +1,7 @@ -== snap prompt-armed grid=160x25 cursor=4,1 +== snap prompt-armed grid=160x25 cursor=4,2 | New Term Find Grep Newcol Help Exit -|^ s ⏎ select · M-⏎ as a list · C-r history · esc -| 1┃const one = 1; +|^ /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +| s ⏎ select · M-⏎ as a list · C-r history · esc | 2┃const two = 2; | 3┃const three = 3; | ~ @@ -24,13 +24,13 @@ | | | /tmp/pardes-snap/selregex/cwd/m.zig:3 -== snap preview grid=160x25 cursor=9,1 -|1: ^ s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc +== snap preview grid=160x25 cursor=9,2 +|2: s const = Exec Edit x/const/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc |24: /tmp/pardes-snap/selregex/cwd/m.zig:1 == style preview grid=160x25 |0: 0-1 d,#1d2824, 2-159 #b2c3b8,#1d2824, -|1: 0-1 #000000,#add38a, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|1: 0-1 #000000,#add38a, 2-31 #becfc4,#2c2c0f, 32-37 #ecc8f2,#2c2c0f, 38-159 #becfc4,#2c2c0f, +|2: 0-1 d,#2c2c0f, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-10 #becfc4,#2c2c0f, 11-17 #79836f,#2c2c0f, 18-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#24382c, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#24382c, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, |5: 0-0 d,#608269, 1-4 d,#0d1410, 5-159 #59675c,#0d1410, @@ -63,14 +63,14 @@ |2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-11 #f5f7ee,#3c614a, 12-12 #f5f7ee,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#24382c, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-10 #e5eee5,#24382c, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, -== snap narrowed grid=160x25 cursor=21,1 -|1: ^ Edit x/const/ › s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc -|2: 1┃const one = 1; +== snap narrowed grid=160x25 cursor=5,2 +|1: ^ Edit x/const/ › /tmp/pardes-snap/selregex/cwd/m.zig Keep Del +|2: s t = Exec Edit x/t/ 3 selections in 3 lines ⏎ select · M-⏎ as a list · C-r history · esc |3: 2┃const two = 2; |4: 3┃const three = 3; == style narrowed grid=160x25 -|1: 0-1 #000000,#add38a, 2-17 #becfc4,#2c2c0f, 18-18 #bada9d,#2c2c0f,b 19-19 #bada9d,#2c2c0f, 20-22 #becfc4,#2c2c0f, 23-29 #79836f,#2c2c0f, 30-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, -|2: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-5 #616f64,#0d1410,b 6-6 #add38a,#0d1410,b 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, +|1: 0-1 #000000,#add38a, 2-47 #becfc4,#2c2c0f, 48-53 #ecc8f2,#2c2c0f, 54-159 #becfc4,#2c2c0f, +|2: 0-1 d,#2c2c0f, 2-2 #bada9d,#2c2c0f,b 3-3 #bada9d,#2c2c0f, 4-6 #becfc4,#2c2c0f, 7-13 #79836f,#2c2c0f, 14-115 #becfc4,#2c2c0f, 116-159 #79836f,#2c2c0f, |3: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-18 #e5eee5,#0d1410, 19-19 #f8c082,#0d1410, 20-159 #e5eee5,#0d1410, |4: 0-0 d,#608269, 1-4 d,#0d1410, 5-5 #59675c,#0d1410, 6-6 #add38a,#0d1410, 7-10 #e5eee5,#0d1410, 11-11 #3c614a,#f5f7ee, 12-12 #3c614a,#0d1410, 13-20 #e5eee5,#0d1410, 21-21 #f8c082,#0d1410, 22-159 #e5eee5,#0d1410, == snap esc-restores grid=160x25 cursor=11,2 -- cgit v1.3