summaryrefslogtreecommitdiff
path: root/test/snapshots/find.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 07:26:39 -0300
committerGabriel Schneider <[email protected]>2026-11-25 07:36:10 -0300
commitc225fe093d7b4cb23bd5f66c7369f93beb5cfb18 (patch)
treed0f484b696d284d00f075713c79f0100ebf07832 /test/snapshots/find.golden
parent1ee22df4c6c8fb2fd63325fcec616ea8aedad147 (diff)
parent415b4e2683d03624f5600c23bfabde749a1a207c (diff)
downloadpardes-c225fe093d7b4cb23bd5f66c7369f93beb5cfb18.tar.gz
pardes-c225fe093d7b4cb23bd5f66c7369f93beb5cfb18.zip
walk UI M5: the polish round's P3 (uppppkkk 1ee22df4c6c8: code actions as a picker, /kbdin as typed, Esc at once, `]` targets in one pass and cached, a pane keeps its number when it walks, B3 on an answer word) and P2 (zvkrxzwq 415b4e2683d0: the colour roles of UX DESIGN.md D4, the tui reading box, the themes picker's `in use`, registers D11, painted targets D10, the preview legible D7, prompts D14, 29 goldens, the roles derived faster) merged, both on G3's kytxrnnk, resolved by meaning: Pick.zig's five conflicts: Row carries P3's `key` (an action's digit) and P2's `meta` (`in use`), rowAt keeps P2's themes arm and P3's actions arm, steps passes both to Band.Row, head's no-second-row branch is P3's (themes and actions) with P2's hints as a dim span (`⏎ or 1-9 apply it · esc` dim as `⏎ wear it · esc` is), and both lines' tests at the file's end; body_layer.zig merged without a conflict and agrees: P3's treeTargets cache answers targetLine's `]f` `]c` `]T` arms, and P2's paintTargets paints whatever targetLine answers in place of the line's number, so the cached lines are the painted ones; the `g` target and the `]g` motion both ask jj.nextChange (body_layer targetLine, normal.zig goto_change), whose P2 change finds the last unsaved edit with the Changes layer off, so they agree; Band.zig is P2's alone: its Row.meta (right-aligned, dim, the first to give way) is the "right-aligned row meta" P3 left as not done, nothing more to build for it; an action's rows are drawn by P2's painter (Band.Row.key: the digit bold in the roles' key ink) and its ghost lines stand on colors.Grounds add/del, which D4's add/del role is (as the Changes layer), so neither needed wiring; A MERGE FAULT FOUND BY A TEST FIRST: P2's D7 preview (Pick.landingLine, Pick.sentence) held for every picker that previews but themes, and P3's actions picker previews: its body got the hit ground and `▸` on the caret's line (the line the edit starts, or for an edit that only puts lines in, the untouched line under them) and the notice row said `⏎ lands here · its text is the preview · S-⏎ a new pane` where Enter applies an edit and lands nowhere; both now leave out actions as they leave out themes (an action's preview is its edit on the Changes grounds, the head says what Enter does); TEST: Pick.zig's code actions test asks no landing line, no `▸` before the line the edit changes, no sentence on the notice row, and no hit ground on the line under an edit that puts a line in (fails on the merge at Pick.zig:2188, landingLine answered the caret's line); find.golden (the conflict) resolved by meaning and checked by process-test: snap nomatch's and topbar's notice rows are P2's D7 sentence with P3's count `1 message` (the walked pane's two Find echoes one entry), cancel's is P3's row; leader.golden (P3's, CodeAction's new doc) passes as P3 wrote it; docs/typ/builtins-tui.json is P3's, current (core-test's builtins_json test passes); core-test 1072/1242 (170 skipped), process-test 0 of 147 failed (3 skipped, gui-only)
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.golden14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden
index c2eac2df..5fe63c16 100644
--- a/test/snapshots/find.golden
+++ b/test/snapshots/find.golden
@@ -49,8 +49,8 @@
|7: sub/ZQMARK-beta.txt
|8: sub/nest/zqmark-gamma.txt
|9: zqmark-alpha.txt
-|10: 1 Find zqm
-|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find 1 message · SPC h m
+|10: 1▸Find zqm
+|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 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
@@ -60,14 +60,14 @@
|7: sub/nest/zqmark-gamma.txt
|8:
|9:
-|10: 1 alpha body
+|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
+|10: 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
@@ -76,23 +76,25 @@
|6:
|7:
|10:
+|40: ✓ /tmp/pardes-snap/find/cwd/here.txt Find 1 message · SPC h m
== 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
-|40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find 1 message · SPC h m
+|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · 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:
+|40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find 1 message · SPC h m
== 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
-|40: ✓ /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Find ×2 1 message · SPC h m
+|40: ⏎ lands here · its text is the preview · S-⏎ a new pane 1 message · SPC h m