Repository navigation
feat: shuffle overlay redesign (UX-04) - #208
Merged
Merged
Conversation
- one reel (1 s) with "Überspringen"; no automatic spin and no automatic navigation - result card: category, duration, difficulty, target for the current HCP; Starten (opens the drill with a running session), Nochmal, Details; announced to screen readers; haptic feedback on stop - filter chips for category, place and duration; favorites switch with explanation; pool count; empty state - avoids drills of the last 5 sessions and earlier picks (src/shuffle/pick.ts) - dialog semantics, Tab trap, Escape/close/Android back, focus returns to the opener, closes on route change; reduced motion shows the result instantly - overlay is lazy-loaded (start chunk 146 KB); tests (239) 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.
Summary
ui.requestStart), Nochmal (any number of times, no navigation), Detailssrc/shuffle/pick.tsInterpretation to confirm
The spec says "no auto-start". I implemented it as "no automatic spin when the overlay opens", so filters can be set before drawing; the cost is one extra tap (Drehen). If you prefer an immediate spin on open (the opener press already is the user action), that is a one-line change.
Test plan
npm test(239),npm run lint,npm run typecheck,npm run build(local)🤖 Generated with Claude Code