feat(dashboard): inbox density + keyboard cockpit + default-submit-recommended#10
Closed
OriginalGary wants to merge 1 commit intofeat/cockpit-chromefrom
Closed
feat(dashboard): inbox density + keyboard cockpit + default-submit-recommended#10OriginalGary wants to merge 1 commit intofeat/cockpit-chromefrom
OriginalGary wants to merge 1 commit intofeat/cockpit-chromefrom
Conversation
…commended
Three changes that turn the Inbox from a form into a cockpit.
Density:
- Compact two-line gate row (title row + slug/risk/playbook row)
- Risk pill is now color-coded — green low, amber medium, red high,
saturated red irreversible. Text-only 'risk: medium' was invisible
at scan.
- Priority rail on the left of each row (red/amber/muted by P0..P3)
- 12 cards above the fold on 1440x900 (was 5 before chrome change,
9 after chrome change)
Keyboard cockpit:
- j / arrow-down: next gate
- k / arrow-up: previous gate
- 1-9: pick option N
- Enter: submit selected option
- Cmd/Ctrl+Enter: submit (works inside form fields too)
- ?: toggle help overlay
- Esc: close help / drawer
- Form fields (input/textarea/contenteditable) opt out of letter
shortcuts — j/k/1/? inside a form field type normally.
Default-submit-recommended:
- When the gate carries a recommended option, the decide block is a
single primary button labelled with that option, plus a 'change…'
affordance that expands the full radio group.
- One click + Enter ships the recommended path. The radio fieldset
only opens for actual overrides, with numbered keys (1, 2, ...)
matching the listed options.
Inbox is sorted by priority then most-recent gate-entry, so P0 work
bubbles to the top and the keyboard 'first item' is always the most
critical gate.
Adds priority/updated/due to the GateRow contract so the page server
component can sort and surface the priority rail.
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.
Stacks on #9 (cockpit chrome). Three changes that turn the Inbox from a form into a cockpit.
Density
risk: mediumwas invisible at scan.Keyboard cockpit
j/ ↓k/ ↑1–9Enter⌘↵/Ctrl↵?EscForm fields (input / textarea / contenteditable) opt out of the letter shortcuts so typing isn't hijacked.
Cmd+Enterstill works inside form fields because the modifier is unambiguous.Default-submit-recommended
When the gate carries a recommended option, the decide block is a single primary button labelled with that option ("Click merge on PR #20 — ships Wave 0 bootstrap…"), plus a
change…affordance that expands the full radio group. One click + Enter ships the recommended path — the click count for the ~99% case drops from 2 (radio + submit) to 1.The radio fieldset only opens for explicit overrides. Each option is numbered (1, 2, …) so the keyboard mapping matches what's on screen.
Test plan
?, closes on Esc / backdrop click. Confirmed via Playwright.jadvances selection (URL hash flipped from109-animal-impact-intelligence-scraperto50-enforce-worktree-discipline).Entersubmits the recommended option.1/2pick option 1/2.What's NOT in this PR