Allow the same routine to appear multiple times in a rotation

Open
#505 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
android, dart, flutter
Domain
mobile

Research direction

Start by tracing how rotations store routine entries and how the rotation editor adds and removes them. Check how routines are referenced when saved, then run the relevant rotation tests or add coverage for repeated entries. Done means one routine can appear multiple times, edits apply to every occurrence, and removing one occurrence leaves the routine and other occurrences intact.

Written by the indexing model from the issue text.

Description

enhancement

I’d like to set up the following rotation:

Legs A
Upper
Arms
Legs B
Upper
Arms

Currently, I can only achieve this by creating separate copies of Upper and Arms. If I change either routine, I have to update both copies manually.

Could the rotation support adding the same routine more than once? Both occurrences would share the same routine, so editing it once would update every occurrence. Removing one occurrence from the rotation should leave the original routine and its other occurrences intact.

If this fits your vision for the app, I’d love to see it supported.

Thanks for the app, by the way—it’s the best workout app I’ve used in years!

Dominant language
Dart
Stars
844
Forks
98
Avg merge
1d 2h
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InlitX/GymMane

All issues in InlitX/GymMane

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.