Skip to content

Optional streak mode based on the weekly goal instead of the weekly plan #488

Todo

Description

@jbinder

Follow-up to #200 (and #85). Right now, if you have a weekly plan, missing a planned day breaks the streak, even when you train on a different day and still reach your weekly goal. If you shift workouts around during the week, you lose the streak unless you mark the skipped day as a day off by hand every time.

Request: an opt-in setting, e.g. Settings → Streak → "Count by weekly goal". When it's on, the streak ignores which weekdays are planned and only checks whether each week reached the weekly goal.

Suggested behaviour:

  • A week counts if the number of days with a workout or check-in reaches the weekly goal (the same count as the goal ring on Home). It doesn't matter which days they were.
  • The streak breaks only when a finished week fell short of the goal. The current week can't break it while it's still in progress.
  • The streak keeps counting workout days in that chain of weeks, so the display, awards (3/7/30/100), widgets and Wear OS keep working as they do now. Optionally it could also show "X weeks".
  • Weeks begin on the configured first day of the week.
  • Days off (sick, travel, injury) reduce that week's goal by 1 each, so being sick doesn't cost the streak.
  • The first week of use, if it's partial, doesn't break the streak.
  • This mode replaces both the plan-based rule and the rotation rule (2 missed days allowed) while it's on. With the setting off, nothing changes.

Open question: if the weekly goal is changed later, past weeks would be checked against the new goal, because the goal history isn't saved. That's probably fine, but worth deciding.

Activity

  1. github-actions commented on Nov 26, 2026

    @github-actions

    Thanks for opening this issue, @jbinder! 🙌

    • Duplicate? If there is already an issue about this, please comment there instead (extra details, or just "it happens to me too").
    • Response time: GymMane is made by a student, so replies can take a while, but every issue gets read. Thanks for your patience!
    • Asking for an exercise? You can make it yourself in a few minutes, no coding needed: here's how.
    • Want to work on it? Comment /claim. Nobody is assigned until the maintainer approves the issue: if it is approved, it is yours; if not, it won't be done.
  2. jbinder commented on Nov 26, 2026

    @jbinder
    Author

    /claim

  3. added
    claim-pending
    on Nov 26, 2026
  4. github-actions commented on Nov 26, 2026

    @github-actions

    Thanks @jbinder! Your claim is saved. This issue isn't approved yet: nobody is assigned until the maintainer approves it. If it's approved, you'll be assigned automatically; if not, it won't be worked on.

  5. InlitX commented on Nov 28, 2026

    @InlitX
    Owner

    /approved

  6. InlitX commented on Nov 28, 2026

    @InlitX
    Owner

    Go ahead. Checking past weeks against the current goal is fine, no need to store goal history.

  7. added
    approved
    on Nov 28, 2026
  8. removed
    claim-pending
    on Nov 28, 2026
  9. github-actions commented on Nov 28, 2026

    @github-actions

    ✅ Approved. @jbinder, this issue is now yours. Thanks for helping! Link your pull request with Closes #488. If you can't finish it, comment /unclaim so someone else can take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

approved

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions