# Phase 2: Flexible Sets - Context

**Gathered:** 2026-02-21
**Status:** Ready for planning

<domain>
## Phase Boundary

Users can add and remove sets on any exercise card during an active workout, and those changes persist to the database. The workout structure (which exercises are in the workout) is unchanged — that's Phase 3. Only the number of sets per exercise is flexible here.

</domain>

<decisions>
## Implementation Decisions

### New set defaults
- When a normal set is added, pre-fill weight from the set directly above it
- Reps: Claude's discretion (same as previous set is sensible)

### Set type selection
- Tapping "Lägg till set" opens a popup/modal with two choices:
  - **Vanligt set** — appends one set row, weight pre-filled from row above
  - **Dropset** — appends 3 set rows with progressively decreasing weight

### Dropset behavior
- First of the 3 dropset rows: same weight as the set row above
- Weight drops successively across the 3 rows at a fixed percentage step (e.g. ~10% per step — researcher should confirm what's conventional in strength training)
- All 3 dropset rows are pre-filled but editable before logging
- Reps for dropset rows: researcher should determine sensible defaults (typically dropsets use same or higher reps as weight decreases)

### Claude's Discretion
- Delete control placement on set rows (inline icon, swipe, etc.)
- "Add set" button placement on the exercise card
- Last-set deletion guard (block or confirmation — pick whichever is safer for mobile)
- Exact dropset percentage step (guided by research into conventional dropset weight reductions)
- Modal/popup design for the set-type chooser

</decisions>

<specifics>
## Specific Ideas

- The set-type popup should feel lightweight — this happens mid-workout, speed matters
- Dropset is a common enough pattern that it warrants first-class support alongside normal sets

</specifics>

<deferred>
## Deferred Ideas

- None — discussion stayed within phase scope

</deferred>

---

*Phase: 02-flexible-sets*
*Context gathered: 2026-02-21*
