Repository navigation
Web: Ctrl+K command palette and keyboard shortcuts - #38
Merged
Merged
Conversation
Ctrl+K (Cmd+K on Mac), or the search pill in the header, opens a palette that filters the page's actions (tour, agent replay, a check per example, jumps to each section, sound) and every non-rejected decision, which opens in the entry drawer. Arrow keys, Enter and Esc drive it; Esc closes the palette before a dialog or the drawer. "/" still jumps to the check input, now from one capture-phase key handler registered once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Shipwright · ApproveRecommendation: approve PR #38 · Tier
WalkthroughThis PR adds a command palette to the single-page web UI in web/static/index.html, opened via Ctrl/⌘+K or a header button, listing commands and ledger entries that can be filtered and run, along with the CSS and markup for the palette and a consolidated keyboard-shortcut listener.
Estimated review effort: 3 (Moderate) · ~20 minutes Review11 findings are in the Shipwright check instead of an inline comment. ✅ Full review input coverage: 12/12 changed files · 4 review shard(s) · 653 changed lines. Open the Shipwright check for full evidence and the audit bundle. Use |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #37.
Why
The page now has a lot to do (check, tour, agent replay, re-check, the drawer, seven sections) and a long scroll on a phone. A command palette gets a judge or a user to any of it, or any decision, in one keystroke, and makes the demo faster to drive live.
What
All in
web/static/index.html, styled with the existing design system (pressed cards,--saffronselection, kind colours on the group tags):tour()), Replay an agent session (scrolls to it and callsreplay()), one "Check: …" per entry inEXAMPLES(throughrunCheck()), "Go to" each section, and toggle sound (clicks the existing#soundbutton).role="dialog"+aria-modal, input ascomboboxwitharia-activedescendant, alistboxofoptions witharia-selected. All labels go in throughtextContent.prefers-reduced-motion: no-preference. On phones it is full width with a 16px gutter and no horizontal scroll.#wallsec) to jump to.Test plan
pytest -q: 61 passed/api/checkwith the model offline)🤖 Generated with Claude Code
Summary by ShipWright
Change: Feature · Merge risk: 🟢 Low · updated on each push