summaryrefslogtreecommitdiff
path: root/dev/Inbox.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 03:18:54 -0300
committerGabriel Schneider <[email protected]>2026-11-25 03:50:26 -0300
commit744c4519dc812f2b2a10769965384981249a9c4c (patch)
tree3a8002f3a7a6a7438ae700b1be446c7c150ad07e /dev/Inbox.zig
parentbdbe524d8ea6b08689b2eec77d2a2db316ae32d2 (diff)
downloadpardes-744c4519dc812f2b2a10769965384981249a9c4c.tar.gz
pardes-744c4519dc812f2b2a10769965384981249a9c4c.zip
gui: a reading pane's tag is its reading tint in a window too, round its button, inside its ring and in the underlay between its rows, and the layer-cover test meets the notice row (walk UI M4 item 3; G2's gui unit-test failures under the walk default: 1872/1878 here, those two failed, nothing else): RUN: "every pixel of a grip column is band, button or ring, and the button sits over the scrollbar" failed at gui.zig TestButtonUnderFirstRow: its pane is a test file never edited, so where jumps walk (the default since G's pumvrovu) it READS and the core paints its tag's ground the reading tint (draw.zig tagGround: chrome.tag_reading_bg, "its focus is its grip's"); the test held the column to the focused tag's or the tag's colour; made to hold it to the tag's ground, it then met what the window draws itself: gripDecor's band round the button (`grip.active ? tag_focus_bg : tag_bg`), the unfocused ring's inside (gripFill: tag_bg) and the tagline cells' underlay (emitSurfaceCell's band_base: `here.focus ? tag_focus_bg : tag_bg`, the gutters between rows a smaller tagline font leaves), none of which knew a pane reads: a window showed every reading pane's tag (most file panes, by default) with slivers of the focused or plain tag colour round its button and stripes of it between its tag rows; THE FIX: Region.reading (surface.zig, set by draw.zig on a pane's grip and tag regions: Trail.reading) and Chrome.tag_reading_bg carry it to the window; Cover.reading (coverFrame, from the grip and tag regions) picks the underlay, gripDecor's band and gripFill's ring inside take the reading tint for a reading pane (a focused ring keeps its fill, a dirty one its colour); the frames of a session whose jumps are new-pane (the frame gate's corpus) are unchanged (no pane reads); "the layer cover is the per-cell layer scan, over a core's layouts and random layers" failed at its `notices` check: line C's messages are said on the notice row (the window's foot, a tag layer of kind `notice_row`), no longer as a chip over a body (a `notice` layer is now only a pane's own prompt band: Del's question, a REPL's choice; E's prompts are in the tag), so its `Msg` made no `notice` layer in any of its 32 frames; DECIDED: it covers the notice row (some frame's tag layers hold a `notice_row` layer with rows, scanned by the cover as every other layer), its `Msg` said so; a pane's notice band keeps draw.zig's own test (core-test); TEST: both fail before (gui.zig:7232, gui.zig:7127), pass now (the grip test holds every pixel of the column, the button's row too, to the reading tint, the button, the rings and the rules); gui unit-test 1874/1878 (4 skipped, none failed; its perf step the known BaselineHarnessMismatch)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'dev/Inbox.zig')
0 files changed, 0 insertions, 0 deletions