diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 11:54:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 12:15:13 -0300 |
| commit | 75534de566388fe8dcb17b8257d535c680ae4b7d (patch) | |
| tree | 6528b3315a76dc80710a8c1c0f6268cca21fa7e5 /test | |
| parent | e9991ca68067ee835af43868a193e8e6bd5dd420 (diff) | |
| download | pardes-75534de566388fe8dcb17b8257d535c680ae4b7d.tar.gz pardes-75534de566388fe8dcb17b8257d535c680ae4b7d.zip | |
Pick, Prompt, TagState, test/process: the act/source row goes, and every head row ends with its count and at most one dim hint, the one key to what the head and the band do not show; a list known at open is exactly its rows tall (UX DESIGN O4, binding; the user, on W5's field under the tag: "why so many builtins are shown below still? most of them don't make much sence in the picker context right? also why other pickers names are there? that's wayyyyy to crowded, we only want to keep the absolute necessary there"); THE WAY IT WAS: Pick.head put a second row under every picker's head, under the spines, `Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist …` (the acts, then the other sources' words, cut with `…`), the head row's right block carried up to 43 cells of hints (`⏎ land · M-⏎ as a list · C-r history · esc`, `↑ roll up · ? field · esc`, `⏎ wear it · esc`, `⏎ or 1-9 apply it · esc`, `⏎ rename · esc`, `⏎ run · esc`), and Pick.bandRows held 4 rows at least (D6's 4 counted the act row), a Grep's and All's 11 from the first frame whatever they found; THE CHANGE: Pick.head is one row, the count and `M-l acts` (dim, dropped first when the row is narrow; none for Themes, code actions and Lists, which have no acts); the acts stay on their keys and in the act step (M-l, M-Enter), each source on its own leader key, M-h's spine switching with the query kept, and any word typed into a tag still runs (Pick.execWord: `Grep`, `Split`); every text prompt and `:` hints `C-r history` (Prompt's table loses its `hint` column: one const), a rolled or unrolled level and the registers `? help`, describe-key keeps its question `press a key or a sequence` (its `· esc` and a found key's `⏎ run · esc` go), rename none; Pick.bandRows: a list known at open (Panes, Recent, Jumplist, a list, Messages, Themes, code actions, Lists) exactly its rows (1 at least, 11 and the cap at most), one whose rows come later (Find, Grep, All, Symbols) 3 at least and growing as they come, never shrinking while it is up: `tall`, a picker's most rows since it unrolled (a new field, reset by unroll, raised in produceAll a step at a time: in the dump and the digest), so typing a Grep's query never moves the body; RUN (TEST FIRST): Pick "a picker's head is one row: the count and one dim hint at its right end, `M-l acts`; no row of acts and sources, the list's rows right under it; Themes hints nothing" (replaces the act-row test; fails on the change before at Pick.zig:3979, the head two rows) and Pick "a picker's band is its list's rows (UX DESIGN O4, D6): a list whose rows come later (Find) holds 3 at open, never moved by typing; a list known at open exactly its rows: SPC b b with two panes covers its head and 2 rows" (was "… 4 rows at least …"; fails on the change before, 4 rows for 3), pass now; the tests that read the old hints read the new ones (TagState's right block, at 14 columns now where `? help` no longer fits, its rolled-level and wrapping tests, Band's SPC Down, draw's dim-hint ink, Prompt's `/ ? s K |` heads, Command's `:`), Pick's 40 % test lets the Grep's lines come (the clock to the pause's end: 40 lines, the band from 3 to its cap), and views' short-column test runs at 40x14 (at 40x15 the band, a row shorter, now fits whole); a user saw the crowded row under every picker and the long hints on every head; the process cases that wait for a rolled level wait for its `? help` (tty_boot leader twice, tty_editing find; they waited for `↓ unroll`); GATES (Debug tui): core-test 1172/1346 (174 skipped; one program's 7 cached), shell-test 1387/1390 (3 skipped); process-test 7 of 149 failed (3 skipped): pipe, msg, selregex, fsearch, lsp on their goldens, leader and find on the old wait, the goldens re-recorded by the next change; the dump changes (Pick.tall, and the change before's TagState.waits): the dump fuzz and the soak with the next change; load 1.4 to 4.7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test')
| -rw-r--r-- | test/process/tty_boot.zig | 4 | ||||
| -rw-r--r-- | test/process/tty_editing.zig | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig index 09311e8f..e3c09fb6 100644 --- a/test/process/tty_boot.zig +++ b/test/process/tty_boot.zig @@ -539,7 +539,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // SPC's level, rolled in the tag once its delay is up (a frame on the // clock, which a quiet screen does not wait for) try t.key("space"); - try t.wait(5000, "↓ unroll"); + try t.wait(5000, "? help"); try t.stable(400, 5000); try t.snap("spc"); try t.key("h"); @@ -550,7 +550,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("abandoned"); try t.key("space x"); - try t.wait(5000, "↓ unroll"); + try t.wait(5000, "? help"); try t.stable(400, 5000); try t.snap("unmapped"); // A key the level has no child for is struck and the level stays diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index 862897e7..093832ce 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -616,7 +616,7 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // screen does not wait for) try t.key("space"); try t.key("f"); - try t.wait(5000, "↓ unroll"); + try t.wait(5000, "? help"); try t.stable(400, 5000); try t.snap("group"); // the second f opens the query pane: every file listed, line 1 `Find ` |
