Commit Graph
18 Commits
Author SHA1 Message Date
Peter Stockings 0c0bcdc4b6 Show consecutive stall count beside previous performance 2026-10-11 11:30:30 +11:00
Peter Stockings d5e3e1d930 Reorganize workout view for desktop and compact session details 2026-09-06 17:10:06 +10:00
Peter Stockings 86fade54f1 Learn session forecasts from training blocks and clarify progress UI 2026-09-06 16:20:15 +10:00
Peter Stockings 0dea94fec0 Simplify forecast panel and extend horizon 2026-09-06 14:50:51 +10:00
Peter Stockings d26da9a066 Move forecast map into exercise history 2026-09-06 14:38:30 +10:00
Peter Stockings 73e02a7b12 Show exercise weekly/monthly progress on exercise history table 2026-02-26 23:53:47 +11:00
Peter Stockings 895b813a35 Add button to topsets to show history as a table 2026-02-26 23:26:49 +11:00
Peter Stockings 0cd74f7207 Create blueprint for exercises 2026-02-08 16:08:30 +11:00
Peter Stockings 3f3725d277 Improve look of SQL explorer page, and improve validation of exercise selection in workouts 2026-02-04 12:37:05 +11:00
Peter Stockings d7c9f71d22 Add activity logs table 2026-01-31 14:53:01 +11:00
Peter Stockings 9e20976591 Add 'Machine vs Free Weight' & 'Compound vs Isolation' breakdowns for workouts 2026-01-31 13:11:21 +11:00
Peter Stockings d03581bff4 feat: assign tags to exercises and show muscle distribution of workout 2026-01-30 23:53:04 +11:00
Peter Stockings 78f4a53c49 Fix error when attempting to update set due to missing exercise id param in template 2026-01-30 22:54:50 +11:00
Peter Stockings e156dd30cc Add badges to sets showing stats ie weight/rep increase or how many weeks stalled 2026-01-30 22:42:06 +11:00
Peter Stockings 036d852aab Add authentication for update/delete endpoints 2026-01-29 18:41:24 +11:00
Peter Stockings e7d125d57b Move workout tag logic into tags blueprint 2025-04-21 20:13:30 +10:00
Peter Stockings 3da0dc3b3d Fix for regression where selecting exercise for a new set on an exercise that hasnt had an set recorded wouldnt diplay the name 2025-04-13 18:04:11 +10:00
Peter Stockings eaeb4ab2c8 feat: Refactor workout functionality into blueprint
- Moved workout-related routes (create/delete/edit workouts, topsets, tags, start dates, show workout) from `app.py` into a new blueprint at `routes/workout.py`.
- Integrated workout view model logic from `features/workout.py` directly into `routes/workout.py` helper function `_get_workout_view_model`.
- Removed `features/workout.py` and the corresponding class instantiation in `db.py`.
- Registered the new `workout_bp` blueprint in `app.py`.
- Removed the original workout route definitions from `app.py`.
- Updated `url_for` calls in relevant templates (`workout.html`, `person_overview.html`, `partials/workout_tags.html`, `partials/topset.html`, `partials/start_date.html`, `partials/new_set_form.html`, `notes.html`, `calendar.html`) to reference the new blueprint endpoints (e.g., `workout.create_workout`).
- Updated `templates/changelog/changelog.html` to document this refactoring.
2025-03-31 22:38:48 +11:00