summaryrefslogtreecommitdiff
path: root/test/snapshots/find.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 04:58:53 -0300
committerGabriel Schneider <[email protected]>2026-11-25 05:18:54 -0300
commit920aaa6e6c2317aa775937b01f727fa9418b7db2 (patch)
tree1cb02617ddfbe59712717e9ecb60ad766bf743ee /test/snapshots/find.golden
parent3c4b2c99b1a969abad0a530fa99b70b2cb564af3 (diff)
downloadpardes-920aaa6e6c2317aa775937b01f727fa9418b7db2.tar.gz
pardes-920aaa6e6c2317aa775937b01f727fa9418b7db2.zip
tagline, Trail, Core, layout: the tag out of rest is the owner's word, the newest step's and the head, nothing else (walk UI polish P1, UX DESIGN.md D1, the coordinator's R1-CORRECTED: the user's "why the tagline is still showing the regular tagline text?"): out of rest the path, Keep, the forward steps, the progress and the tag's own words were drawn before the head, so the key cells and the band's spines hung 40-50 columns in (shot 02's spines at column 50) and a picker's tag named the PREVIEWED file as the pane's own (shot 04: `/tmp/.../core/Store.zig ␣ f Find re 2/3`); now `‹@p1 › rank.zig:20 › ␣ ▸ b buffer…`, the head from the tag's first text column when there is no walk (`␣ f Find re`), the spines at columns 2-4; THE CHANGE: Trail.Part `.newest` writes the owner's word and the newest back step's alone, each with ` › `, a word past 24 cells cut in its middle with `…` (D1 item 4), and `stepAt(.newest)` maps a Look or Exec on any of its cells to that step; tagline.pathPrefix returns it while Trail.outOfRest (the live view's host is the pane: asking is rest and keeps its path), the old body now `restPath`; `restPrefix`, the prefix as at rest whatever the state, is what Core.sync measures `tag_lead` by (the tag's cursor and selections are offsets in its text at rest: a head over its own text moves none of them; on the shown prefix they were shifted by the path's length and back, and `| in a tag pipes the tag's own text` piped 4 wrong bytes) and what layout.wantedTagRows counts the rest rows with (a tag out of rest keeps them at least); the heads no longer lead with a space (TagState's Help/Keys/Rename/level, Pick.head, Prompt.head: the out-of-rest prefix ends in its own ` › `); no name tint, forward-step ink, unlit search word or progress out of rest (draw.zig tagTintRange, paintPaneTag; Prompt.unlit); tagline.onName and forwardSpan are off out of rest; `Trail.folded` is gone (it only told out of rest, now `.newest`: at rest it is `shown_steps`), `nameAt` takes no Pardes; TEST FIRST: Trail.zig "Enter on a word of the walk ...": out of rest `‹@pN › rank.zig:20 › ␣ ▸ ` with no older step, no directory, no Keep (on the base `‹@pN › · › rank.zig:20 › <dir>/rank.zig`: fails), a step back hides its forward step out of rest, Look maps the newest word and the owner's to their steps, and the tag at rest byte-identical after Esc; Pick.zig's reader test: the picker's head starts the tag's text (`␣ f Find pick 1/1`), no previewed path; the heads' other tests drop their leading space; test/behaviour keys.zig's prompt case reads the tag file out of rest as the head alone (`s zq`, no `/test.txt`); behaviour-test 277/277; core-test 1062/1232 (170 skipped); process-test: 8 goldens regenerated and read, each changed row the out-of-rest tag with no path (leader, pipe, msg, selregex, find, fsearch, lsp, ttyhelp: the band's spines at columns 2-4, the steps right of them, the rows no longer pushed onto a second tag row; msg's `s EXT` head and fsearch's `/` head still wrap their hints mid-word: D3's); a user meets it in every state out of rest
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/snapshots/find.golden')
-rw-r--r--test/snapshots/find.golden84
1 files changed, 40 insertions, 44 deletions
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden
index b461c1d8..8cef240d 100644
--- a/test/snapshots/find.golden
+++ b/test/snapshots/find.golden
@@ -1,8 +1,7 @@
-== snap group grid=120x41 cursor=7,4
+== snap group grid=120x41 cursor=7,3
| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
| New Term Find Grep Joincol Delcol
-| /tmp/pardes-snap/find/cwd/here.txt Keep ␣ f ▸ c Config f Find g Grep h History n New r Recent s Save ↓ unroll
-| · ? help
+| ␣ f ▸ c Config f Find g Grep h History n New r Recent s Save ↓ unroll · ? help
| 1 Find zqm
|
|
@@ -39,35 +38,31 @@
|
|
|
+|
| /tmp/pardes-snap/find/cwd/here.txt:1
-== snap armed grid=120x41 cursor=51,2
-|2: ^ /tmp/pardes-snap/find/cwd/here.txt Keep ␣ f Find 1/5
-|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbol
-|4: s All Jumplist
-|5: ▶ here.txt
-|6: other.txt
-|7: sub/ZQMARK-beta.txt
-|8: sub/nest/zqmark-gamma.txt
-|9: zqmark-alpha.txt
-|10: 1 Find zqm
+== snap armed grid=120x41 cursor=11,2
+|2: ^ ␣ f Find 1/5
+|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist
+|4: │ │ ▶ here.txt
+|5: │ │ other.txt
+|6: │ │ sub/ZQMARK-beta.txt
+|7: │ │ sub/nest/zqmark-gamma.txt
+|8: │ │ zqmark-alpha.txt
+|9: 1 Find zqm
|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find 1 message · SPC h m
-== snap typing grid=120x41 cursor=57,2
-|2: ^ /tmp/pardes-snap/find/cwd/zqmark-alpha.txt ␣ f Find zqm 1/3
-|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Sym
-|4: bols All Jumplist
-|5: ▶ zqmark-alpha.txt
-|6: sub/ZQMARK-beta.txt
-|7: sub/nest/zqmark-gamma.txt
-|8:
-|9:
-|10: 1 alpha body
-== snap next grid=120x41 cursor=60,2
-|2: ^ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt ␣ f Find zqm 2/3
-|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes
-|4: Symbols All Jumplist
-|5: zqmark-alpha.txt
-|6: ▶ sub/ZQMARK-beta.txt
-|10: 1 beta body
+== snap typing grid=120x41 cursor=14,2
+|2: ^ ␣ f Find zqm 1/3
+|4: │ │ ▶ zqmark-alpha.txt
+|5: │ │ sub/ZQMARK-beta.txt
+|6: │ │ sub/nest/zqmark-gamma.txt
+|7: │ │
+|8: │ │
+|9: 1 alpha body
+== snap next grid=120x41 cursor=14,2
+|2: ^ ␣ f Find zqm 2/3
+|4: │ │ zqmark-alpha.txt
+|5: │ │ ▶ sub/ZQMARK-beta.txt
+|9: 1 beta body
== snap promoted grid=120x41 cursor=7,3
|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Save Term Collapse Follow Del
|3: 1 beta body
@@ -75,24 +70,25 @@
|5:
|6:
|7:
-|10:
-== snap nomatch grid=120x41 cursor=85,2
-|2: ^ · › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep ␣ f Find zzqq 0/0
-|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep D
-|4: rop | Grep Recent Panes Symbols All Jumplist
-|5: nothing matches
-|7: 1 beta body
+|8:
+|9:
+== snap nomatch grid=120x41 cursor=30,2
+|2: ^ Find zqm 2/3 › ␣ f Find zzqq 0/0
+|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist
+|4: │ │ nothing matches
+|5: │ │
+|6: 1 beta body
|40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find 2 messages · SPC h m
== snap cancel grid=120x41 cursor=7,3
|2: here.txt:1 › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep Save Term Collapse Follow Del
|3: 1 beta body
|4:
|5:
-|7:
-== snap topbar grid=120x41 cursor=84,2
-|2: ^ · › Find zqm 2/3 › /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Keep ␣ f Find bod 0/0
-|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep D
-|4: rop | Grep Recent Panes Symbols All Jumplist
-|5: nothing matches
-|7: 1 beta body
+|6:
+== snap topbar grid=120x41 cursor=29,2
+|2: ^ Find zqm 2/3 › ␣ f Find bod 0/0
+|3: │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist
+|4: │ │ nothing matches
+|5: │ │
+|6: 1 beta body
|40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find ×2 2 messages · SPC h m