summaryrefslogtreecommitdiff
path: root/test/snapshots/tagnav.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-24 19:28:29 -0300
committerGabriel Schneider <[email protected]>2026-11-24 20:02:56 -0300
commitc40d447e63663d947f241d60a2bdb8ce1bd141c0 (patch)
tree93dcd149384624306166f1a7a6b5d75b138ca27c /test/snapshots/tagnav.golden
parentf26cf0be705280ff28ca69aaef6cc64e1466ed4e (diff)
downloadpardes-c40d447e63663d947f241d60a2bdb8ce1bd141c0.tar.gz
pardes-c40d447e63663d947f241d60a2bdb8ce1bd141c0.zip
messages: one notice row at the window's foot indexes the live messages, and the chips over the bodies go (pick-ui SPEC §10.3, walk UI line C item 2): the panes' area ends a row higher (layout.noticeRowHeight, none on a screen under 3 rows, as the column tags); the row is a header layer of its own (Layer.Kind.notice_row, NOTICE_ROW_LAYER, Region.Kind.notice_row) in the workspace tag's colours: on the left the message the row leads with (error > question > warn > notice > echo, the newest within a rank: its glyph in its kind's ink, its cause unless its words name it, its words without a host's clock stamp, ×n, its places as words), dimmed once its bright time is over; on the right +N more, N questions · SPC e, SPC e walk for an error with places, or N messages · SPC h m; with nothing live the focused pane's path:line (a terminal's directory); built each frame from the state (Messages.noticeRow, bounded by notice_row_cap), the left part giving way to the right; B2 runs and B3 Looks at a word on it (mouse.zig); Pane.Notices keeps the leader's and a prompt's chips only; a latent fault found by it: a kind's pane reopened (its file changed on disk, a Restore) kept the hashes of the views its old state was told, so the new state was never told its view and a PDF stayed blank until something moved its pane; the reloaded message's chip used to move it (Kind.reopen now tells a new state every view; behaviour addons_pdf's disk-change and Restore tests, failing before the fix); a message's cause for a kind's pane is its path; every frame changes (the foot row): boot's foot reads '/tmp/pardes-snap/boot/cwd', msg's 'repainted' '· saved /tmp/pardes-snap/msg/cwd/a.txt 2 messages · SPC h m' where a chip stood on the body's first row; the 98 tty goldens rewritten and read (57 the rows shifted alone, the rest the chips gone and racy shell output re-recorded; no file-written block and no snapshot's name changed), the four tty cases that click at fixed rows given a row more (chordcut, layout-open, images, respawn: their cursors unchanged), the addon scripts' outputs (fake, snake, life, pdf: windows a row shorter, the chip gone), hxdiff's core a row taller (22 rows as helix's), the tests over tiny screens a row taller, the drag edge of a bottom pane over the notice row (mouse.zig); tests: Messages.zig 'the notice row leads with the most important live message ...', 'a builtin announces itself on the notice row, an echo ...', draw.zig 'the word under the pointer on the notice row is lit ...', 'a message wider than the notice row ... gives way to the row's right end'; tui gate: core-test, pane-test, shell-test, behaviour-test (and --replay: 20 seeds, 0 failures), term-test, kitty-test pass; process-test 0 of 146 failed; the gui build is gated at the line's end
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/tagnav.golden')
-rw-r--r--test/snapshots/tagnav.golden38
1 files changed, 30 insertions, 8 deletions
diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden
index 748330fd..1039c40a 100644
--- a/test/snapshots/tagnav.golden
+++ b/test/snapshots/tagnav.golden
@@ -10,32 +10,53 @@
| Filter Collapse Del
| ls
| w.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| ✓ @p3 Window 2 messages · SPC h m
== snap colon grid=100x31 cursor=36,2
== snap word grid=100x31 cursor=40,2
== snap in-tag grid=100x31 cursor=42,2
== snap right grid=100x31 cursor=54,6
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 3 messages · SPC h m
== snap right-tag grid=100x31 cursor=90,2
== snap left-tag grid=100x31 cursor=42,2
+|30: ✓ @p2 Window 4 messages · SPC h m
== snap back-to-body grid=100x31 cursor=7,4
== snap tty-on grid=100x31 cursor=54,6
|2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll$ /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode
|4: 1 alpha $ ls
|6: 3 gamma $
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Window 5 messages · SPC h m
== snap tty-tag grid=100x31 cursor=95,2
== snap tty-restored grid=100x31 cursor=54,6
== snap column-tag grid=100x31 cursor=2,1
|2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode
-|4: 1 alpha Up ls
+|4: 1 alpha ls
|6: 3 gamma
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up 8 messages · SPC h m
== snap column-word grid=100x31 cursor=5,1
-|4: 1 alpha ls
== snap workspace-tag grid=100x31 cursor=2,0
-|4: 1 alpha Up ls
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 8 messages · SPC h m
== snap topbar-dollar grid=100x31 cursor=84,0
-|4: 1 alpha ls
== snap topbar-dump-word grid=100x31 cursor=53,0
== snap topbar-exec grid=100x31 cursor=7,4
-|4: 1 alpha Themes ls
|12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co
|13: llapse Follow Del
|14: 1 # Pardes themes
@@ -54,14 +75,14 @@
|27: 14 Theme forge_black
|28: 15 Theme forge_soft
|29: 16 Theme orchard_black
-|30: 17 Theme acme
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Themes 10 messages · SPC h m
== snap topbar-restore-word grid=100x31 cursor=75,0
-|4: 1 alpha ls
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Up ×2 12 messages · SPC h m
== snap topbar-restored grid=100x31 cursor=7,4
|1: New Term Find Grep Joincol Delcol New Term F╭────────────────────────────────────╮
|2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Term Coll /tmp/parde│pardes resizes=1 │
|3: apse Follow Del Filter Col│theme orchard │
-|4: 1 alpha Debug ls │font default │
+|4: 1 alpha ls │font default │
|5: 2 beta w.txt │terms 4 cols 2 │
|6: 3 gamma │active #0 48x3 │
|7: /tmp/pardes-snap/tagnav/cwd Term+bash Save Mode │scroll 0/3 │
@@ -71,3 +92,4 @@
|11: │ │
|12: /tmp/pardes-snap/tagnav/cwd/+Themes Save Term Co │ │
|13: llapse Follow Del ╰────────────────────────────────────╯
+|30: ✓ /tmp/pardes-snap/tagnav/cwd/w.txt Debug 14 messages · SPC h m