Repository navigation
feat(web): accessible touch pills — picker, journal browser, confirm - #5
Merged
Merged
Conversation
…sessions) Mobile had no way to start a session (the picker had no touch surface) and the journal redesign was keyboard-only. Extend the pill bar into a full state-derived touch control surface that mirrors the desktop keys: - picker — reflect · journal · unburden (filled 'primary' pills) · my journal · help - journal browser — ↑ ↓ select · export · delete (confirmed) · continue · export all · back - delete confirm — a two-pill yes/keep (the touch equivalent of y/n) - sessions — unchanged (done · pause · raw⇄clean · …) syncChips() derives the right set from state each frame and rebuilds only on change. A pill tap stops propagation so it doesn't also fire the terminal's begin/resume/dismiss; a terminal tap closes help / dismisses the closing moment / resumes the mic. Boot reads 'tap to begin' on touch. Accessibility: 44px min tap targets (WCAG 2.5.5), touch-action: manipulation (no tap delay), aria-labels on glyph pills (↑/↓), focus-visible rings, danger styling on delete. Desktop is unchanged (pills are touch-only). tsc clean; 225 vitest pass (new mobile.test.ts locks the pill sets); canary 2/2. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Mobile couldn't start a session (the picker had no touch surface) and the journal browser was keyboard-only after its redesign. This makes the pill bar a full, state-derived touch control surface mirroring the desktop keys.
Pills per screen
Wiring
syncChips()derives the set from state each frame, rebuilding only on change. A pill tapstopPropagations so it doesn't also trigger the terminal's begin/resume/dismiss; a terminal tap closes help, dismisses the closing moment, and resumes a suspended mic. Boot shows "tap to begin" on touch.Accessibility
44px min tap targets (WCAG 2.5.5),
touch-action: manipulation(no 300ms delay),aria-labels on glyph pills, focus-visible rings, distinct danger styling on delete. Desktop unchanged (pills are touch-only).tsc clean · 225 vitest (new
mobile.test.tslocks the pill sets) · canary 2/2 · build ok. Touch interaction needs an on-device pass after deploy.🤖 Generated with Claude Code