diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 10:31:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 10:36:02 -0300 |
| commit | 5bfea157e191f2ce8442ddfa9af0955c345d1623 (patch) | |
| tree | 6a8f1458f286a1c95d5f11f06cf3953f900dd4bf /test/snapshots/lsp.golden | |
| parent | 8d90edcec1ba432d0f67ecc3a79eb6bf193369ff (diff) | |
| download | pardes-5bfea157e191f2ce8442ddfa9af0955c345d1623.tar.gz pardes-5bfea157e191f2ce8442ddfa9af0955c345d1623.zip | |
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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/snapshots/lsp.golden')
| -rw-r--r-- | test/snapshots/lsp.golden | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/test/snapshots/lsp.golden b/test/snapshots/lsp.golden index ba9eb781..5f0720a9 100644 --- a/test/snapshots/lsp.golden +++ b/test/snapshots/lsp.golden @@ -57,31 +57,32 @@ |12: 9 } |13: ~ |40: ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover 1 message · SPC h m -== snap symbols grid=120x41 cursor=24,1 -|1: ^ a.zig:8 › ␣ l Symbols 1/3 -|2: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist -|3: │ │ ▶ a.zig:3:4-9 f helper -|4: │ │ a.zig:7:8-11 f main -|5: │ │ a.zig:1:7-9 c std -|6: │ │ -|7: 1 const std = @import("std"); -|8: 2 -|9: 3▸fn helper(x: u32) u32 { -|10: fn helper(x: u32) u32 -|11: (fn (u32) u32) -|12: 4 return x + 1; -|13: 5 } -|14: 6 -|15: 7 pub fn main() void { -|16: 8 _ = helper(41); -|17: 9 } -|18: ~ +== snap symbols grid=120x41 cursor=14,2 +|1: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Del +|2: ␣ l Symbols 1/3 +|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist +|4: │ │ ▶ a.zig:3:4-9 f helper +|5: │ │ a.zig:7:8-11 f main +|6: │ │ a.zig:1:7-9 c std +|7: │ │ +|8: 1 const std = @import("std"); +|9: 2 +|10: 3▸fn helper(x: u32) u32 { +|11: fn helper(x: u32) u32 +|12: (fn (u32) u32) +|13: 4 return x + 1; +|14: 5 } +|15: 6 +|16: 7 pub fn main() void { +|17: 8 _ = helper(41); +|18: 9 } +|19: ~ |40: ⏎ lands here · its text is the preview · S-⏎ a new pane 2 messages · SPC h m -== snap step grid=120x41 cursor=27,1 -|1: ^ a.zig:8 › ␣ l Symbols jn 0 -|3: │ │ nothing matches -|4: │ │ -|5: │ │ -|9: 3 fn helper(x: u32) u32 { -== snap nothing grid=120x41 cursor=29,1 -|1: ^ a.zig:8 › ␣ l Symbols jngd 0 +== snap step grid=120x41 cursor=17,2 +|2: ␣ l Symbols jn 0 +|4: │ │ nothing matches +|5: │ │ +|6: │ │ +|10: 3 fn helper(x: u32) u32 { +== snap nothing grid=120x41 cursor=19,2 +|2: ␣ l Symbols jngd 0 |
