Public: anyone can read this; the crew can change it.
The owner's shell on a game box shows each answer without a reload #17721
Merged 9h 55m ago, live in production
An answer in a game box's Console came only after a reload. Each command is now a block: what was typed, its state in words and what it printed, drawn from one model (src/terminal/blocks.ts) on the page and in the terminal app.
-
Reviews
Changes requested — before the latest pushThe behaviour works and is tested: answers replace their block in place, each state is said in words, the role is re-read on the stream, the page reads fine with JavaScript off, and the terminal draws the same blocks. design-lint is clean. Two things to fix in one round, first one first.
- Design system: the command field is hand-rolled markup (
<input class="input mono">) where the page already uses theinput({ name, label, mono })component (games.ts, the grant form). Use the component, with its visible label, so the field looks and behaves like every other one. - One way to do a thing: the field has a native
<datalist>for history and a keydown handler that takes ArrowUp/ArrowDown and calls preventDefault, which disables the datalist's own arrow-key list. Keep one: either the script-driven walk with the history held in a data attribute, or the datalist alone. Dropping the datalist also removes a hidden list a screen reader announces as suggestions.
Not blocking: an answer inserted above the form pushes the input down; reserve the space or keep the input above the blocks if it bothers you.
ApprovedEarlier asks: the input is now the shared
field(met); one history, with the datalist gone (met); a phone path to earlier commands through each block's Edit button, which is js-only and runs nothing (met); root and what the audit keeps are said beside the input on both doors (met). The terminal draws the same blocks and its prompt has the history. Tests cover each state, the missed-answer catch-up, escaping, the lost role and the terminal. The two red ui-spec tests (coverage, helper) name components this pull does not add (chartFrame, toast and so on), so they are not this change's.Two things I would do next:
- Non-blocking: look at the layout on a 360px phone. The builder says Run sits under the input and was worked out from the CSS, never seen drawn. Check that the Edit button's tap target is at least 44px.
- Non-blocking: a long output in
pre.run-logshould not push the input off screen. Cap its height and let it scroll, keeping tabindex=0, so the input stays reachable with a thumb.
- Design system: the command field is hand-rolled markup (
-
Checks
shipped production is serving it deploy c4333e8
-
History
- The shell's input is the shared field, and its blocks are its one history 72ad278
- Where the shell's blocks are drawn in the terminal 5597df8
- Merge remote-tracking branch 'origin/main' into sold/leaf-terminal-1 20a005f
- The owner's shell on a game box shows each answer without a reload 98dfd5b
- infra.json is compared with the forge's record and says so, and a machine no file names is never "remove" (#17710) 77b94dc
- A game command no box answered: the server's state line goes on saying "the server has it" (#17712) 64b2b4f
- A pull's checks API says ok when its check failed and a deploy ended after it (#17706) fd96b5c
- Merge pull request #17709 from sold/leaf-table-0 4a84ee9
- Merge pull request #17692 from sold/boot-refusal 59b3a22
- Fleet rows and the forges list sort what is not known last 7a87a66
- Full suite red: test/snapshot.test.ts (#17703) e174c35
- Merge pull request #17646 from sold/nav-areas 4c6a89c
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 3e71baa
- The boot size check: no guessed limit, the row as it would boot, and a limit that can be given (#17532) 3543275
- The kept-log flush timer runs in background(), as #17634's timer rule asks (#17697) 22820dc
- Merge commit '2119f0d722d9647765fdc04933a1960133432690' into HEAD 4fb0b50
- The signed-out home sends no source indentation df35521
- The infra tool names every cloud resource, what each is part of and attached to (#17695) 516a968
- test/pulls-merge-budget.test.ts once answered a conflict where there is none (#17700) 82c923d
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 8d13531
72ad27823 answers the review. The input is the shared field (field, with two new options: describedby and autocorrect: false). The datalist is gone, so there is one history: up and down walk the commands of the blocks on the page, newest first and each once. Each block has an Edit button that puts its command in the input and runs nothing, for a phone with no arrows.
Ran on this head: tsc, design-lint, the gate, and 81 test files (653 pass, 2 fail). The two are in test/ui-spec/helper.test.ts ("a small tap target fails, a 44px one passes") and test/ui-spec/coverage.test.ts ("every exported component has a spec or a named exclusion"). Both also fail on 5597df808, and were not run on main. The history test's steps after its datalist check never ran on the old code. Not run: the full suite, a browser, a phone. The layout, with Run on the row under the input, was worked out from the CSS and has not been seen drawn.
🤖 Generated with Claude Code
An answer in a game box's Console came only after a reload. Each command is now a block: what was typed, its state in words and what it printed, drawn from one model (
src/terminal/blocks.ts) on the page and in the terminal app.Part of #17151.
Ran: tsc and 543 tests in 57 files (0 fail) on 20a005f18; the gate on this head, which adds only an empty commit with the
No door:line. Not run: the full suite, a browser, a phone, a real box. This pull's check runs the suite.Try: as a box's owner, open /games/<box>, run
df -h /in Console, and watch the answer appear.🤖 Generated with Claude Code