Skip to content

fix: 按组完成训练并在组间启动休息计时 - #2

Merged
YXX168 merged 14 commits into
mainfrom
YXX168-patch-1
Jul 29, 2026
Merged

fix: 按组完成训练并在组间启动休息计时#2
YXX168 merged 14 commits into
mainfrom
YXX168-patch-1

Conversation

@YXX168

@YXX168 YXX168 commented Jul 29, 2026

Copy link
Copy Markdown
Owner

修复内容

  • 每次点击动作卡只完成一组,而不是直接完成整个动作
  • 每一组完成后自动启动该动作配置的休息倒计时
  • 最后一组完成后标记整个动作为完成,不再启动多余倒计时
  • 动作卡显示“已完成 X/Y 组”,方便确认当前进度
  • 兼容旧版已经保存的布尔完成记录

测试

  • 增加逐组完成进度测试
  • 增加最后一组不启动休息计时的回归测试
  • GitHub Actions 将执行格式检查、静态分析、测试和 APK 构建

YXX168 and others added 14 commits July 29, 2026 12:52
Track completed sets per exercise so rest starts between sets, while the final set completes the exercise without starting another timer. Existing boolean completion records remain compatible.
Verify set progress advances one set at a time and the final set does not start another rest timer.
Show a clear reset instruction on completed exercise cards and pulse the card until the user resets it.
Add assertions to verify exercise completion UI elements.
Use the workflow Flutter 3.41.6 toolchain to normalize formatting before analyze, test, and APK build so remaining failures reflect actual code issues.
Use a bounded pump after completing the final set because the completed exercise intentionally keeps pulsing until reset.
Added permissions for write access and automated formatting commit.
Removed permissions and commit steps, added formatting check.
@YXX168
YXX168 merged commit ca695b3 into main Jul 29, 2026
1 check passed
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.

1 participant