b95024abe0
Fix rest timers for newly edited Workouts
...
Previously if you were to add a new workout, then
add a set for that workout immediately afterwards,
the rest timers would be the default 3:30.
Now, they are the actual value set when creating the
workout.
2022-10-21 18:39:06 +13:00
3714db438e
Fix max number of sets for plan
...
Previously we were trying to get the max # of sets
from our query on the number of sets completed for today.
This meant if we hadn't completed any sets today, we would
get no result for that workout.
2022-10-16 16:46:38 +13:00
f078ede58a
Get max sets for each workout in plan
...
Closes #91
2022-10-16 16:08:38 +13:00
3cbabb723a
Add sessions page
...
Related to #82
2022-10-05 23:38:52 +13:00
93878f14e4
Fix image on new set prediction
2022-10-02 19:07:52 +13:00
a5c70050a7
Revert "Revert "Add setting for date format""
...
This reverts commit 3691c729b4
.
2022-10-02 18:04:36 +13:00
df45938bc3
Add image to set edit page
2022-10-01 15:35:52 +13:00
c41b8438d3
Prevent counting hidden sets for prediction
...
Closes #71
2022-09-30 13:00:27 +13:00
3691c729b4
Revert "Add setting for date format"
...
This reverts commit 023041b846
.
2022-09-26 19:13:48 +13:00
023041b846
Add setting for date format
2022-09-26 18:23:06 +13:00
91c0430760
Factor out massive switch
2022-09-26 16:10:13 +13:00
063425cd82
Use sql for counting todays sets in predictions
2022-09-25 18:05:15 +13:00
32e46c48dd
Remove unused code
2022-09-24 15:29:24 +12:00
fa56d48c25
Remove redundant fetching of workout in EditWorkout
2022-09-24 14:48:52 +12:00
462c42cfb7
Fix editing new workout
...
Closes #39
2022-09-24 14:16:33 +12:00
14d71fec8b
Remove workouts table in favor of storing steps on sets
2022-09-23 13:52:33 +12:00
f320d16c4b
Fix adding new set with no plan
...
Closes #36
2022-09-22 14:38:33 +12:00
85dd2b6d17
Move rest timer and sets per session settings to Workouts
...
Closes #32
2022-09-21 11:50:20 +12:00
cb446be7b0
Add steps to workouts
...
Closes #15
2022-09-18 18:08:09 +12:00
052d000e12
Make padding & margin consistent everywhere.
2022-09-16 21:07:02 +12:00
0f9ed2257b
Fix showing new workout image in workouts list
2022-09-11 15:06:00 +12:00
03e284ed87
Fix editing a workouts image
2022-09-10 19:02:16 +12:00
4b35a526b4
Fix error on editing plan
2022-09-04 17:33:05 +12:00
e3b3c6ca09
Split out database logic into service files
2022-09-04 16:56:46 +12:00