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/fsearch.golden | 92 +++++++++++++++++++++---------------------- 1 file changed, 45 insertions(+), 47 deletions(-) (limited to 'test/snapshots/fsearch.golden') diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden index 834c95af..a2367418 100644 --- a/test/snapshots/fsearch.golden +++ b/test/snapshots/fsearch.golden @@ -30,10 +30,11 @@ | 12 l12 | | · @p1 a copy of the terminal's text: Tab or B2 runs it; what the program draws next replaces it (Ctrl-b types to the program) 1 message · SPC h m -== snap slash grid=180x31 cursor=101,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / ⏎ land · M-⏎ as a list · C-r history · esc -== snap typing grid=180x31 cursor=105,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc +== snap slash grid=180x31 cursor=94,17 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls / ⏎ land · M-⏎ as a list · C-r history · esc +== snap typing grid=180x31 cursor=98,17 +|17: ls / MARK = Look /MARK/ 1/3 · 3 lines ⏎ land · M-⏎ as a list · C-r history · esc |18: g.txt 2▸MARK a == style typing grid=180x31 |0: 0-151 d,#1d2824, 152-179 #b2c3b8,#1d2824, @@ -52,8 +53,8 @@ |13: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |14: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |15: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, -|16: 0-1 d,#465a43, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #000000,#add38a, 92-98 #becfc4,#2c2c0f, 99-99 #bada9d,#2c2c0f,b 100-100 #bada9d,#2c2c0f, 101-106 #becfc4,#2c2c0f, 107-113 #79836f,#2c2c0f, 114-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, -|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#608269, 91-94 #e5eee5,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, +|16: 0-1 d,#465a43, 2-34 #b2c3b8,#1d2824, 35-89 #d3b0d9,#1d2824, 90-91 #000000,#add38a, 92-127 #becfc4,#2c2c0f, 128-133 #ecc8f2,#2c2c0f, 134-179 #becfc4,#2c2c0f, +|17: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-91 #e5eee5,#2c2c0f, 92-92 #bada9d,#2c2c0f,b 93-93 #bada9d,#2c2c0f, 94-99 #becfc4,#2c2c0f, 100-106 #79836f,#2c2c0f, 107-126 #becfc4,#2c2c0f, 127-179 #79836f,#2c2c0f, |18: 0-0 d,#608269, 1-1 d,#0d1410, 2-89 #e5eee5,#0d1410, 90-90 #e5eee5,#e5eee5, 91-91 #e5eee5,#0d1410, 92-94 #e5eee5,#0d1410,b 95-95 #616f64,#0d1410,b 96-96 #add38a,#0d1410,b 97-100 #0d1410,#917a53, 101-101 #0d1410,#0d1410, 102-179 #e5eee5,#0d1410, |19: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-94 d,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, |20: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-94 d,#0d1410, 95-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, @@ -67,55 +68,47 @@ |28: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-93 d,#0d1410, 94-96 #59675c,#0d1410, 97-179 #e5eee5,#0d1410, |29: 0-0 d,#608269, 1-89 d,#0d1410, 90-90 d,#608269, 91-179 d,#0d1410, |30: 0-1 d,#1d2824, 2-179 #6f7d75,#1d2824, -== snap list grid=180x31 cursor=110,15 -|15: ^ ‹@p1 › ␣ l /MARK/ 1/3 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes … -|17: ls │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a -|18: g.txt │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b -|19: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c -|20: │ │ -|21: 1 l1 -|22: 2▸MARK a -|23: 3 l3 -|24: 4 l4 -|25: 5 l5 -|26: 6 MARK b -|27: 7 l7 -|28: 8 l8 -|29: 9 l9 -|30: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m -== snap ctrln grid=180x31 cursor=110,15 -|15: ^ ‹@p1 › ␣ l /MARK/ 2/3 -|17: ls │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a -|18: g.txt │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +== snap list grid=180x31 cursor=103,13 +|12: ^ ‹@p1 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|13: ␣ l /MARK/ 1/3 +|14: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols … +|15: │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +|17: ls │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:10:1: MARK c +|18: g.txt │ │ +|19: 1 l1 +|20: 2▸MARK a |21: 3 l3 |22: 4 l4 |23: 5 l5 -|24: 6▸MARK b +|24: 6 MARK b |25: 7 l7 |26: 8 l8 |27: 9 l9 |28: 10 MARK c |29: 11 l11 -== snap landed grid=180x31 cursor=97,21 +|30: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m +== snap ctrln grid=180x31 cursor=103,13 +|13: ␣ l /MARK/ 2/3 +|15: │ │ /tmp/pardes-snap/fsearch/cwd/g.txt:2:1: MARK a +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash │ │ ▶ /tmp/pardes-snap/fsearch/cwd/g.txt:6:1: MARK b +|19: 2 MARK a +|20: 3 l3 +|21: 4 l4 +|22: 5 l5 +|23: 6▸MARK b +|24: 7 l7 +|25: 8 l8 +|26: 9 l9 +|27: 10 MARK c +|28: 11 l11 +|29: 12 l12 +== snap landed grid=180x31 cursor=97,22 +|12: +|13: +|14: |15: |16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del -|17: ls 2 MARK a -|18: g.txt 3 l3 -|19: 4 l4 -|20: 5 l5 -|21: 6 MARK b -|22: 7 l7 -|23: 8 l8 -|24: 9 l9 -|25: 10 MARK c -|26: 11 l11 -|27: 12 l12 -|28: -|29: -|30: ✓ C-o back to /MARK/ 2/3 1 message · SPC h m -== snap n grid=180x31 cursor=97,26 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del |17: ls 1 l1 |18: g.txt 2 MARK a |19: 3 l3 @@ -128,8 +121,13 @@ |26: 10 MARK c |27: 11 l11 |28: 12 l12 +|29: +|30: ✓ C-o back to /MARK/ 2/3 1 message · SPC h m +== snap n grid=180x31 cursor=97,26 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 3/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del == snap N grid=180x31 cursor=97,22 |16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del == snap cancel grid=180x31 cursor=97,22 -== snap nomatch grid=180x31 cursor=118,16 -|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › /MARK/ 2/3 › / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc +== snap nomatch grid=180x31 cursor=98,17 +|16: /tmp/pardes-snap/fsearch/cwd Del Term+bash ^ ‹@p1 › g.txt:1 › /MARK/ 2/3 › /tmp/pardes-snap/fsearch/cwd/g.txt Keep Del +|17: ls / zzqq = Look /zzqq/ 0 ⏎ land · M-⏎ as a list · C-r history · esc -- cgit v1.3