diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 19:28:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 20:02:56 -0300 |
| commit | c40d447e63663d947f241d60a2bdb8ce1bd141c0 (patch) | |
| tree | 93dcd149384624306166f1a7a6b5d75b138ca27c /test/snapshots/follow.golden | |
| parent | f26cf0be705280ff28ca69aaef6cc64e1466ed4e (diff) | |
| download | pardes-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/follow.golden')
| -rw-r--r-- | test/snapshots/follow.golden | 106 |
1 files changed, 52 insertions, 54 deletions
diff --git a/test/snapshots/follow.golden b/test/snapshots/follow.golden index 69749b42..fa9a8501 100644 --- a/test/snapshots/follow.golden +++ b/test/snapshots/follow.golden @@ -2,60 +2,58 @@ | Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit | New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol | /tmp/pardes-snap/follow/cwd/big.txt Save Term Collapse Follow Del /tmp/pardes-snap/follow/cwd/big.txt /tmp/pardes-snap/follow/cwd/big.txt -| 1 line 1 Follow Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo +| 1 line 1 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo | 2 line 2 ow llow -| 3 line 3 28 line 28 53 line 53 -| 4 line 4 29 line 29 54 line 54 -| 5 line 5 30 line 30 55 line 55 -| 6 line 6 31 line 31 56 line 56 -| 7 line 7 32 line 32 57 line 57 -| 8 line 8 33 line 33 58 line 58 -| 9 line 9 34 line 34 59 line 59 -| 10 line 10 35 line 35 60 line 60 -| 11 line 11 36 line 36 61 line 61 -| 12 line 12 37 line 37 62 line 62 -| 13 line 13 38 line 38 63 line 63 -| 14 line 14 39 line 39 64 line 64 -| 15 line 15 40 line 40 65 line 65 -| 16 line 16 41 line 41 66 line 66 -| 17 line 17 42 line 42 67 line 67 -| 18 line 18 43 line 43 68 line 68 -| 19 line 19 44 line 44 69 line 69 -| 20 line 20 45 line 45 70 line 70 -| 21 line 21 46 line 46 71 line 71 -| 22 line 22 47 line 47 72 line 72 -| 23 line 23 48 line 48 73 line 73 -| 24 line 24 49 line 49 74 line 74 -| 25 line 25 50 line 50 75 line 75 -| 26 line 26 51 line 51 76 line 76 -| 27 line 27 52 line 52 77 line 77 -== snap hop grid=150x30 cursor=82,5 -|3: 1 line 1 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo -== snap wheel grid=150x30 cursor=hidden +| 3 line 3 27 line 27 51 line 51 +| 4 line 4 28 line 28 52 line 52 +| 5 line 5 29 line 29 53 line 53 +| 6 line 6 30 line 30 54 line 54 +| 7 line 7 31 line 31 55 line 55 +| 8 line 8 32 line 32 56 line 56 +| 9 line 9 33 line 33 57 line 57 +| 10 line 10 34 line 34 58 line 58 +| 11 line 11 35 line 35 59 line 59 +| 12 line 12 36 line 36 60 line 60 +| 13 line 13 37 line 37 61 line 61 +| 14 line 14 38 line 38 62 line 62 +| 15 line 15 39 line 39 63 line 63 +| 16 line 16 40 line 40 64 line 64 +| 17 line 17 41 line 41 65 line 65 +| 18 line 18 42 line 42 66 line 66 +| 19 line 19 43 line 43 67 line 67 +| 20 line 20 44 line 44 68 line 68 +| 21 line 21 45 line 45 69 line 69 +| 22 line 22 46 line 46 70 line 70 +| 23 line 23 47 line 47 71 line 71 +| 24 line 24 48 line 48 72 line 72 +| 25 line 25 49 line 49 73 line 73 +| 26 line 26 50 line 50 74 line 74 +| ✓ /tmp/pardes-snap/follow/cwd/big.txt Follow ×2 1 message · SPC h m +== snap hop grid=150x30 cursor=82,6 +== snap wheel grid=150x30 cursor=82,5 |3: 2 line 2 Save Term Collapse Follow Del Unfoll Save Term Collapse Follow Del Unfo |4: 3 line 3 ow llow -|5: 4 line 4 29 line 29 54 line 54 -|6: 5 line 5 30 line 30 55 line 55 -|7: 6 line 6 31 line 31 56 line 56 -|8: 7 line 7 32 line 32 57 line 57 -|9: 8 line 8 33 line 33 58 line 58 -|10: 9 line 9 34 line 34 59 line 59 -|11: 10 line 10 35 line 35 60 line 60 -|12: 11 line 11 36 line 36 61 line 61 -|13: 12 line 12 37 line 37 62 line 62 -|14: 13 line 13 38 line 38 63 line 63 -|15: 14 line 14 39 line 39 64 line 64 -|16: 15 line 15 40 line 40 65 line 65 -|17: 16 line 16 41 line 41 66 line 66 -|18: 17 line 17 42 line 42 67 line 67 -|19: 18 line 18 43 line 43 68 line 68 -|20: 19 line 19 44 line 44 69 line 69 -|21: 20 line 20 45 line 45 70 line 70 -|22: 21 line 21 46 line 46 71 line 71 -|23: 22 line 22 47 line 47 72 line 72 -|24: 23 line 23 48 line 48 73 line 73 -|25: 24 line 24 49 line 49 74 line 74 -|26: 25 line 25 50 line 50 75 line 75 -|27: 26 line 26 51 line 51 76 line 76 -|28: 27 line 27 52 line 52 77 line 77 -|29: 28 line 28 53 line 53 78 line 78 +|5: 4 line 4 28 line 28 52 line 52 +|6: 5 line 5 29 line 29 53 line 53 +|7: 6 line 6 30 line 30 54 line 54 +|8: 7 line 7 31 line 31 55 line 55 +|9: 8 line 8 32 line 32 56 line 56 +|10: 9 line 9 33 line 33 57 line 57 +|11: 10 line 10 34 line 34 58 line 58 +|12: 11 line 11 35 line 35 59 line 59 +|13: 12 line 12 36 line 36 60 line 60 +|14: 13 line 13 37 line 37 61 line 61 +|15: 14 line 14 38 line 38 62 line 62 +|16: 15 line 15 39 line 39 63 line 63 +|17: 16 line 16 40 line 40 64 line 64 +|18: 17 line 17 41 line 41 65 line 65 +|19: 18 line 18 42 line 42 66 line 66 +|20: 19 line 19 43 line 43 67 line 67 +|21: 20 line 20 44 line 44 68 line 68 +|22: 21 line 21 45 line 45 69 line 69 +|23: 22 line 22 46 line 46 70 line 70 +|24: 23 line 23 47 line 47 71 line 71 +|25: 24 line 24 48 line 48 72 line 72 +|26: 25 line 25 49 line 49 73 line 73 +|27: 26 line 26 50 line 50 74 line 74 +|28: 27 line 27 51 line 51 75 line 75 |
