Round controls: drill PREV/NEXT seek the clock, -10 s and restart round #14

Merged
berkay merged 1 commit from round-controls into main 2026-11-10 13:05:08 +03:00
Owner

Requested by Berkay · project thread

What

  • Drill PREV/NEXT move the clock. The round is already split evenly between its combos. NEXT now jumps to the start of the next combo's part of the round (does nothing on the last one). PREV goes to the start of the current combo, or to the previous combo when the current one started less than 5 s ago. This also fixes a bug where PREV in drill was undone by the timer on the next tick.
  • Random mode PREV/NEXT unchanged (combo only).
  • Pause sheet (during rounds): shows time left, a -10 s button (sheet stays open so it can be tapped repeatedly) and Restart round. Rewound time still counts as work time; the last-10-seconds warning plays again after rewinding out of it; no voice while paused; restart does not ring the bell mid-pause and resets the "say each combo" counts.

Tests

flutter analyze clean, flutter test 79 passing (4 new engine tests).

No APK built, no version bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_015s4aKn6Q7AftVbZ2Mi5d1v

<!-- claude-projects-attribution --> _Requested by **Berkay** · [project thread](https://claude.ai/code/project/chan_01T5Cs4GeJAnhjXKSJKvCDa2?thread=cmsg_01T5Cs4GeJAnhjXKSJKvCDa27aDoFiirb6FRcT1pYH9rw7)_ ## What - **Drill PREV/NEXT move the clock.** The round is already split evenly between its combos. NEXT now jumps to the start of the next combo's part of the round (does nothing on the last one). PREV goes to the start of the current combo, or to the previous combo when the current one started less than 5 s ago. This also fixes a bug where PREV in drill was undone by the timer on the next tick. - **Random mode** PREV/NEXT unchanged (combo only). - **Pause sheet** (during rounds): shows time left, a **-10 s** button (sheet stays open so it can be tapped repeatedly) and **Restart round**. Rewound time still counts as work time; the last-10-seconds warning plays again after rewinding out of it; no voice while paused; restart does not ring the bell mid-pause and resets the "say each combo" counts. ## Tests `flutter analyze` clean, `flutter test` 79 passing (4 new engine tests). No APK built, no version bump. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015s4aKn6Q7AftVbZ2Mi5d1v
- Drill: NEXT jumps the round clock to the start of the next combo's
  segment; PREV goes to the start of the current combo, or the previous
  one within its first 5 s. Fixes PREV being undone by the clock on the
  next tick.
- Pause sheet (rounds only): time left, "-10 s" (sheet stays open, can be
  tapped again) and "Restart round". Rewound time still counts as work;
  the last 10 s warning re-arms. Nothing is spoken while paused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015s4aKn6Q7AftVbZ2Mi5d1v
berkay merged commit 302080a27b into main 2026-11-10 13:05:08 +03:00
berkay deleted branch round-controls 2026-11-10 13:05:08 +03:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
berkay/bagdrill!14
No description provided.