Complete TASK-017 simplified EMOM and per-side entry

This commit is contained in:
rob
2026-11-07 15:29:12 +00:00
parent 9c0e82037f
commit 922d1f6bd7
30 changed files with 646 additions and 236 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
# TASK-015 UI and storage implementation brief
> Historical brief: TASK-017 / ADR-020 supersede every EMOM minute-table and format-switch requirement below. Current normal EMOM entry has only Weight (kg), Total reps and Save; existing minute history remains separately accessible.
Design mode: extend the existing React-Bootstrap layout and green/light visual language. TASK-016 owns dark theming. Captain engaged implementation on 2026-11-04; timer-free behavior is authoritative (ADR-018).
## Composition and interaction
@@ -8,7 +10,7 @@ Keep the app header, wall clock, date strip and exclusive period switch. Each ex
Use a reusable performance editor for sets, EMOM minutes and hang attempts. New rows start blank except for copied preceding loads/count. EMOM starts with ten blank minute rows; conventional-set format remains available. There are no completion checkboxes. Explicit Save marks fully filled valid rows complete and retains incomplete rows as drafts; invalid entered values fail validation. Never auto-save on navigation or count suggested values as performed.
Rep-per-side and duration-per-side use independent left/right fields. Dumbbells use kg each with count supplied internally from the definition; no exercise shows a count field. Floor flys always use two, vest/bar loads have separate fields. Bodyweight-only work has no external-load inputs. The existing prescription remains separate from actual values; seed load presets never initialize actuals.
TASK-017 / ADR-021 supersede separate side controls: rep-per-side and duration-per-side now use one shared input applying to each side. Historical unequal values remain read-only text until explicitly replaced. Dumbbells use kg each with count supplied internally from the definition; no exercise shows a count field. Floor flys always use two, vest/bar loads have separate fields. Bodyweight-only work has no external-load inputs. The existing prescription remains separate from actual values; seed load presets never initialize actuals.
Use one Save performance action, Add set/attempt where relevant, optional Use previous session action with date and compatibility check, and clear saved/unsaved/error feedback. Suggestions require action and completion is reset. Initial loading disables logging; failure preserves drafts with retry. Save failures leave values intact. Validation errors identify the row and field; completed data and incomplete drafts are distinguished by saved summary counts and unsaved/saved feedback.