Skip to content

feat: enable direct exercise replacement without requiring deletion #110

Description

@codedmind

What problem does this solve?

Feature Description

Allow users to swap an exercise directly with another exercise inside a workout/plan without having to remove it first and then add the new one.

User Story / Motivation

As a user training at the gym, I often need to adapt my routine on the fly (e.g., equipment is occupied or I need an alternative variation). The current flow requires deleting the exercise and adding a new one, which resets its position and loses preset parameters (like target sets or reps).

Proposed approach

  • Add a "Replace" / "Swap" action to the exercise context menu or action buttons.
  • Open the exercise picker/search modal upon clicking "Replace".
  • Swap the selected item while retaining its relative position (order in the list) and, where applicable, preset sets/reps metadata.

Dependencies

  • This doesn't require adding a new dependency

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions