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
5bc1ca699d
Return a new instance when adding nutritional values
...
Changing the current one doesn't make sense
2021-04-22 10:28:53 +02:00
Roland Geider
8c31f2ef09
Add more tests
2021-04-21 22:05:50 +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
81a22a4052
Fix error when that prevented adding ingredients to a meal
2021-04-08 12:16: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
6a63a390ef
Use a nutritional plan object again for editing / adding
2021-04-05 18:59:17 +02:00
Roland Geider
9e8d2e055a
Polish the add set form
2021-04-05 17:20:46 +02:00
Roland Geider
110579aeb7
Some cleanup work on exercise images
2021-04-02 21:01:47 +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
23c277c54c
Also calculate the sugar contents for meals
2021-03-31 14:34:07 +02:00
Roland Geider
5263c074f2
Make tests work with (no sound) null safety
2021-03-30 12:51:18 +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
e9c9ae93d6
Allow users to register via the app
2021-02-15 22:27:06 +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
3ea243c43b
Allow toggling nutritional values for meals
2021-02-01 10:58:46 +01:00
Roland Geider
d3eaa11cf9
Properly log meal diary entries
2021-01-31 14:49:26 +01:00
Roland Geider
5cbdb64dea
Replace placeholder text in about dialog
2021-01-27 23:02:56 +01:00
Roland Geider
21f9d67fc4
Correctly calculate sodium value
2021-01-24 20:48:53 +01:00
Roland Geider
e3c729f917
Allow editing of meals
2021-01-24 20:48:31 +01:00
Roland Geider
ae003b0cdb
Fix URL to add meals
2021-01-24 20:07:03 +01:00
Roland Geider
192094399a
Fix errors when nutritional plan is empty
...
(this still is a bit dirty)
2021-01-24 19:44:59 +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