Skip to content

fix: don't subtract set execution time from rest timer duration#78

Merged
hyldmo merged 1 commit intomainfrom
claude/fix-rest-timer-logic-JH4bR
Apr 5, 2026
Merged

fix: don't subtract set execution time from rest timer duration#78
hyldmo merged 1 commit intomainfrom
claude/fix-rest-timer-logic-JH4bR

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Apr 5, 2026

startSet() was setting _roundStartedAt, which caused time spent doing
a set to be subtracted from the subsequent rest period. This only makes
sense for superset transition time (already handled by confirmSet for
transition sets). Remove _roundStartedAt from startSet() so solo
exercise rest gets the full configured duration.

https://claude.ai/code/session_01N6ZgPHopv59xmXFh9iqG8V

startSet() was setting _roundStartedAt, which caused time spent doing
a set to be subtracted from the subsequent rest period. This only makes
sense for superset transition time (already handled by confirmSet for
transition sets). Remove _roundStartedAt from startSet() so solo
exercise rest gets the full configured duration.

https://claude.ai/code/session_01N6ZgPHopv59xmXFh9iqG8V
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

Preview deployment

URL https://claude-fix-rest-timer-logic.macromaxxing.pages.dev
Branch claude/fix-rest-timer-logic-JH4bR
Commit 24873a8

@hyldmo hyldmo merged commit 62b0b08 into main Apr 5, 2026
3 checks passed
@hyldmo hyldmo deleted the claude/fix-rest-timer-logic-JH4bR branch April 5, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants