-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersux
Description
User Story
As a lifter,
I want to copy an existing mesocycle to create a new one,
So that I can keep exercises that work well for me while adjusting only what needs to change.
Background
Experienced lifters often want to iterate on their training programs rather than start from scratch each mesocycle:
- Keep what works: Certain exercises produce great results and should carry forward
- Swap what doesn't: Replace exercises that caused issues (joint pain, poor mind-muscle connection)
- Progressive programming: Slightly modify volume or exercise selection based on previous block's feedback
- Seasonal adjustments: Make minor tweaks for equipment availability or schedule changes
Currently, creating a new mesocycle requires configuring everything from scratch, even if 80-90% of the program would be identical to the previous one.
Acceptance Criteria
- Add a "Duplicate" or "Copy" action to existing mesocycles (on MesocycleCard or detail view)
- Create a new mesocycle with all settings copied:
- Split type and day names
- All exercises assigned to each split day
- Exercise order within each day
- Open the new mesocycle in edit mode immediately after duplication
- Auto-generate a name like "{Original Name} (Copy)" or "{Original Name} - Week X"
- Allow user to edit the name before or after creation
- The new mesocycle should be in "Not Started" status
- Original mesocycle remains unchanged
- Works fully offline
UI/UX Considerations
- Duplicate action should be accessible from:
- Mesocycle card menu (three dots / overflow menu)
- Mesocycle detail/edit view
- Clear indication that this creates a copy, not modifies the original
- Consider showing a brief "Copied from {name}" reference in the new mesocycle
- Toast notification confirming successful duplication
Technical Notes
- Core (free) feature - local-only operation
- New mesocycle gets a new unique ID
- Copy exercise references (exerciseId), not the exercises themselves
- Reset any workout history - new mesocycle starts fresh
- Consider whether to copy:
- ✅ Split configuration and exercises
- ✅ Mesocycle name (with suffix)
- ❌ Workout history/logs
- ❌ Start/end dates (user sets new dates)
- ❌ Completion status (always starts as not started)
User Flow
- User views their mesocycle list or a completed mesocycle
- User clicks "Duplicate" action
- New mesocycle is created with copied configuration
- User is taken to edit view of the new mesocycle
- User can:
- Rename the mesocycle
- Adjust exercises in any split day
- Remove/add exercises as needed
- User saves when ready
Out of Scope (for this issue)
- Merging multiple mesocycles
- Copying only specific split days between mesocycles
- Sharing/importing mesocycles from other users
- Version history or diff view between mesocycles
Related
- Add "Copy to Split" feature for mesocycle exercise configuration #71 - Copy exercises between splits within a mesocycle
- Mesocycle management workflow
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersux