diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-22 09:31:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | a1d5ee19a648abc65b557dffa14a3b2f70577286 (patch) | |
| tree | ef36c11168bcc2f7bbb9b7a6a29519c7e0882fab /test/snapshots/tagnav.golden | |
| parent | 43b9d696f9e25ad7589527b91a74666e71ff0472 (diff) | |
| download | pardes-a1d5ee19a648abc65b557dffa14a3b2f70577286.tar.gz pardes-a1d5ee19a648abc65b557dffa14a3b2f70577286.zip | |
Notices become chips that float over the body, not rows taken from it
A notice is an overlay now, which is the one place it is NOT like the
tree-sitter context: it takes no row from the body and moves no text. Each one
is a chip as wide as its own message plus a blank cell either side, anchored
to the pane right edge on the body top rows. The rest of each of those rows is
ordinary body text that still reads and still answers a click -- Notices.left
records where each chip starts, and the hit test refuses only the cells it
covers rather than the whole row.
The width is counted in GRID columns rather than scaled into the tagline face
the chip is drawn in, because the canonical grid is what a terminal client
draws and a chip narrower than its own text there would clip it; the narrower
tagline face simply leaves a little more room inside the chip. The tag layer
takes the geometry the grid pass already chose, so the two cannot disagree and
the GUI skipping the cells a tag layer covers leaves no stub behind.
Pane.body_offset is gone with the reservation it existed for, and bodyTop
takes only a rect. The body layer keeps every row it had, the scrollbar runs
the full body again, and the GUI smooth-scroll extents go back to the pane.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Diffstat (limited to 'test/snapshots/tagnav.golden')
| -rw-r--r-- | test/snapshots/tagnav.golden | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/test/snapshots/tagnav.golden b/test/snapshots/tagnav.golden index e796d6c5..5aa9e8fb 100644 --- a/test/snapshots/tagnav.golden +++ b/test/snapshots/tagnav.golden @@ -17,14 +17,11 @@ | | | /tmp/pardes-snap/tagnav/cwd Tty Save Mode Filte -| Up -| ls +| ls Up | w.txt == snap colon grid=100x31 cursor=28,2 |2: es-snap/tagnav/cwd/w.txt Save Tty Collapse Del /tmp/pardes-snap/tagnav/cwd Tty Save Mode Filte |18: ls -|19: w.txt -|20: == snap right-tag grid=100x31 cursor=29,2 == snap left-tag grid=100x31 cursor=28,2 == snap down-tag grid=100x31 cursor=7,3 @@ -38,46 +35,29 @@ == snap back-down grid=100x31 cursor=7,5 == snap arrows-still-motion grid=100x31 cursor=9,5 == snap back-to-body grid=100x31 cursor=4,20 -|3: Last ls -|4: 1 alpha w.txt -|5: 2 beta -|6: 3 gamma +|3: 1 alpha Last ls == snap tty-on grid=100x31 cursor=54,5 |2: /tmp/pardes-snap/tagnav/cwd/w.txt Save Tty Coll$ /tmp/pardes-snap/tagnav/cwd Tty Save Mode Filte |3: 1 alpha $ ls -|4: 2 beta w.txt |5: 3 gamma $ -|6: == snap tty-tag grid=100x31 cursor=57,5 |5: 3 gamma $ h:l == snap tty-restored grid=100x31 cursor=4,20 -|3: 1 alpha Last -|4: 2 beta $ ls -|5: 3 gamma w.txt -|6: $ h:l +|3: 1 alpha $ ls Last == snap topbar-dollar grid=100x31 cursor=48,17 |3: 1 alpha $ ls -|4: 2 beta w.txt -|5: 3 gamma $ h:l -|6: |17: p/tagnav/cwd Tty Save Mode Filter Collapse Del == snap topbar-dump-word grid=100x31 cursor=25,17 -== snap topbar-exec grid=100x31 cursor=4,21 +== snap topbar-exec grid=100x31 cursor=4,20 |17: /tmp/pardes-snap/tagnav/cwd Tty Save Mode Filte -|18: Look -|19: ls -|20: w.txt +|18: ls Look |29: /tmp/pardes-snap/tagnav/cwd/+Search Save Tty Co |30: 1 == snap topbar-restore-word grid=100x31 cursor=49,17 |17: p/pardes-snap/tagnav/cwd Tty Save Mode Filter C |18: ls -|19: w.txt -|20: -== snap topbar-restored grid=100x31 cursor=4,21 +== snap topbar-restored grid=100x31 cursor=4,20 |17: /tmp/pardes-snap/tagnav/cwd Tty Save Mode Filte -|18: Look -|19: ls -|20: w.txt +|18: ls Look |27: /tmp/pardes-snap/tagnav/cwd/+Search Save Tty Co |28: 1 |
