S034: screenshot matrix and UI review fixes

--matrix renders every screen light/dark, hovered/pressed, empty/full and
at 720x480. Fixes: breadcrumb overflow mark, compact toolbar, names-only
narrow panes, short-window dialogs, scrolling settings pages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-19 04:49:45 -06:00
commit b042dfe29c

View file

@ -259,6 +259,13 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
- Safety: trash tests hold one lock, and skip when a per-mount trash of the user is visible (`EmptyTrash` would delete it); none found on this machine.
- Not done: permission tests skip as root; cross-device test skips when /dev/shm shares the temp device; no pkexec/polkit run; per-mount (`.Trash-$uid`) trash paths untested.
## S034 — Screenshot matrix and UI review
- Done: `tunal --matrix <dir>` (screenshot.rs) renders 37 cells / 58 PNGs (every shell state, dialogs, settings pages, gallery; light + dark; 720x480) over a stand-in fixture, one child process each. New hooks `TUNAL_POINTER=x,y[,press|click|menu]`, `TUNAL_ACTION=<id>`. CLAUDE.md §5 row added.
- Unslop (polish mode, D-035 look kept; design calls mine): breadcrumb overflow shows a `…` mark at the left edge (click edits); toolbar under `Theme.toolbar-compact-width` drops Forward + previews toggle (set from the window on resize: a binding would loop); details pane < 400 px shows names only; dialogs drop the cookie below `Theme.dialog-cookie-min-height`; settings pages scroll and fit at 720x480.
- PNGs: before /tmp/claude-1000/-home-astar76-Projects-Tunal/9f8868e3-106e-44a3-ab18-75f381125aa4/scratchpad/before, after /tmp/claude-1000/-home-astar76-Projects-Tunal/9f8868e3-106e-44a3-ab18-75f381125aa4/scratchpad/after (contact sheets in /tmp/claude-1000/-home-astar76-Projects-Tunal/9f8868e3-106e-44a3-ab18-75f381125aa4/scratchpad/sheets).
- Verified: workspace build, `clippy -p tunal --all-targets -D warnings`, fmt --check, literal grep empty. Workspace clippy fails only in S033's uncommitted `tunal-player/tests/waveform.rs` (manual_range_contains).
- Not done: press squeeze not drawn by software renderer (pressed == hover in PNGs); conflict/errors dialogs have no hook (not in matrix); single-sentence captions keep their periods; Material You pink-tinted surfaces kept (D-035) though unslop prefers neutral.
- Later: Network settings "Keep alive" subtitle elides (Setting subtitle should wrap); settings scrollbar sits tight to the switches.
## Later
- (orchestrator) Breadcrumb: a long path is hard-clipped at the bar's left edge with no elision mark, and the root crumb elides at 960 px — for S034.
-