Roland Geider
6646640b9c
Show set notes on the workout and the gym mode
...
https://github.com/wger-project/wger/issues/702
2021-07-17 13:25:04 +02:00
Roland Geider
b13a9472e7
Correctly set the category for test exercises...
2021-07-08 18:25:23 +02:00
Github-actions
97de128557
Automatic linting
2021-07-08 16:23:21 +00:00
Roland Geider
2ce9a8c8f3
Don't load category ID
...
The info endpoint returns the category object
2021-07-08 18:21:43 +02:00
Roland Geider
05b66605af
Regenerate mocks and generated files
2021-07-08 18:12:19 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
31edbb3b48
Loop through all result pages when loading logs
2021-05-19 22:34:36 +02:00
Roland Geider
e45115d26e
Make RiR form element a slider
...
This allows the user to select the correct value faster
2021-05-19 21:35:07 +02:00
Roland Geider
be0b1bf157
Add missing options for RiR values
2021-05-19 16:07:11 +02:00
Roland Geider
d5521082a6
Override the equals operator for workout plan logs
...
Two logs are considered equal if their content is equal. This is used e.g.
in the gym mode where we want to have unique values
2021-05-18 22:14:58 +02:00
Roland Geider
68552ea277
Rename conversion functions
...
This makes it clearer what gets converted to what
2021-05-18 22:14:58 +02:00
Roland Geider
b90d0a0008
Fetch plan details when visiting the detail page
...
See #14
2021-05-13 13:19:07 +02:00
Roland Geider
21cfa33978
Fix getter for images in exerciseinfo endpoint
...
This was renamed recently
2021-05-10 13:55:36 +02:00
Roland Geider
964af57f5b
Commit generated files
2021-05-08 21:10:54 +02:00
Roland Geider
edbb49e688
Allow submitting images to the gallery
2021-05-08 12:13:34 +02:00
Roland Geider
431f749674
Start adding user gallery
2021-05-06 14:02:04 +02:00
Roland Geider
6ab3e26db4
Rename workout description to name
2021-05-06 13:18:32 +02:00
Roland Geider
f0fa8a5173
Nutritional plan time is nullable
2021-05-01 15:33:28 +02:00
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