Roland Geider
37e4cf3551
Save local date
...
This hopefully fixes an error where no logs would be shown in the calendar when
running the app on a real device
2021-04-25 16:17:16 +02:00
Roland Geider
f67cb1797b
Calculates reps for a set locally
...
This saves us unneeded round trips to the server
See #14
2021-04-24 13:58:14 +02:00
Roland Geider
3c21650003
Translate week day names in workout screens
2021-04-24 12:31:08 +02:00
Roland Geider
2424199e09
Add tests for PlanForm
2021-04-23 12:47:12 +02:00
Roland Geider
1b7b78c640
Add tests for DayFormWidget
2021-04-23 11:32:00 +02:00
Roland Geider
3ae15688c5
Correctly order workout logs by date
2021-04-21 13:05:10 +02:00
Roland Geider
98981b0c68
Improve workout log page
...
This view now shows the logs performed on the selected day, as well as charts
for the individual exercises
Closes #17
2021-04-19 16:31:58 +02:00
Roland Geider
1f20c87a2d
Update calendar widget to 3.0
2021-04-19 16:31:57 +02:00
Roland Geider
7e2ba3468d
Show past logs in gym mode
...
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
d2a7733703
Add simple widget test for gym mode screen
2021-04-14 20:28:49 +02:00
Roland Geider
e76ba740c8
Use setter to save ID and object references
2021-04-14 12:21:40 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
9c851f202f
Add test for setting model
2021-04-13 10:28:15 +02:00
Roland Geider
20ed6966b5
Allow setting the weight and repetition units in gym mode
...
(still needs to get a better UX)
2021-04-09 18:18:57 +02:00
Roland Geider
2f32111702
Add progress bar to to gym mode to give feedback on workout length
2021-04-09 18:18:57 +02:00
Roland Geider
392c353b85
Show reps and weight for each exercise in gym mode
2021-04-07 13:17:18 +02:00
Roland Geider
5557686ff7
Polish the gym mode and other widgets
2021-04-06 20:41:44 +02:00
Roland Geider
9edcaaaf0f
Saving sessions at the end of the gym mode works
2021-04-06 10:48:15 +02:00
Roland Geider
9e8d2e055a
Polish the add set form
2021-04-05 17:20:46 +02:00
Roland Geider
bf9abea7aa
Render forms in own scaffold
...
This eliminates many of the overflow problems from the bottom sheet
2021-04-02 17:35:31 +02:00
Roland Geider
63584fb8f2
Use individual endpoints to load plan data
...
While this results in way more requests needed, it has the great benefit of using
the same data structure for reading and writing. This saves us a lot of headaches
in the data modelling and we don't have to care that the info endpoints looked a
bit different.
2021-04-01 16:28:35 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
ef645e10f4
Make app more inviting when the user has no workout plans, etc.
2021-03-16 22:42:10 +01:00
Roland Geider
e8608976ea
Make forms in gym mode work
2021-03-10 12:05:27 +01:00
Roland Geider
b647ec64ca
Set correct workoutID name
2021-03-10 11:06:52 +01:00
Roland Geider
50092c010f
Commit re-generated model files
2021-03-09 11:43:06 +01:00
Roland Geider
65a6987a3c
Render correct number of pages in gym mode
2021-03-08 23:00:02 +01:00
Roland Geider
0c857df953
Further work on gym mode
2021-03-03 00:47:26 +01:00
Roland Geider
0d3e2ef8ff
Add gym workout screen
2021-02-23 22:31:25 +01:00
Roland Geider
a8488e4625
Add space after comma in exercise names
2021-02-18 22:00:37 +01:00
Roland Geider
c0759c913e
Correctly save sets to the server
2021-02-06 01:18:53 +01:00
Roland Geider
0dd6135378
More work on set form
2021-02-05 22:00:44 +01:00
Roland Geider
aba9680ce9
Allow adding meals to a workout
2021-02-02 12:53:19 +01:00
Roland Geider
5cbdb64dea
Replace placeholder text in about dialog
2021-01-27 23:02:56 +01:00
Roland Geider
3217a7f357
Add dropdown menu to workout detail page
2021-01-24 11:42:01 +01:00
Roland Geider
b8c159c841
Add nutritional diary data to calendar
2021-01-16 13:44:19 +01:00
Roland Geider
ffcf0f5ea4
Load the workout sessions to dashboard calendar
2021-01-13 13:45:27 +01:00
Roland Geider
914d93d17d
More work on workout logs
2021-01-10 12:23:01 +01:00
Roland Geider
f84ddcad78
Show error message when adding weight entries doesn't work
2020-12-05 12:52:00 +01:00
Roland Geider
4f1e0b8b15
Commit current state of set editing widget
2020-11-27 20:17:02 +01:00
Roland Geider
8c247f70d9
Add a bit of background color to workout day header
2020-11-27 15:55:02 +01:00
Roland Geider
2a3dcb6ff6
Add logic to add days to workout plan
2020-11-27 11:48:39 +01:00
Roland Geider
a00ac1afdf
Allow editing the workout name when creating one
2020-11-21 21:01:30 +01:00
Roland Geider
8c7c4bde13
Fix some required flags
2020-11-18 18:45:29 +01:00
Roland Geider
e92caa8eae
More work on workout serialization
...
Also, it is now possible to delete workouts from the DB
2020-11-18 14:13:22 +01:00
Roland Geider
69639bfbdc
Use generators to read/write JSON
2020-11-15 17:25:51 +01:00
Roland Geider
cf877764bf
Move workout_plan.dart to models folder
2020-11-12 23:08:14 +01:00
Roland Geider
9dd20cd000
Show exercise images
...
The data structure from the server needs to be streamlined
2020-11-09 20:17:33 +01:00
Roland Geider
eefec0d5e6
Render the individual workout days
2020-11-09 18:04:31 +01:00
Roland Geider
e1f4ccfa18
Show sets within a day
...
Still problems with scrolling
2020-11-08 15:02:39 +01:00