Commit Graph

71 Commits

Author SHA1 Message Date
Roland Geider
a4e381e4c8 Make order of sets a required attribute
Closes #109
2021-10-28 11:43:32 +02:00
Marvin M
1e8080cc02 always_declare_return_types 2021-10-07 20:43:55 +02:00
Marvin M
e5a6d930cb Minor changes 2021-10-07 19:58:56 +02:00
Github-actions
18622b0c62 Automatic linting 2021-10-07 06:00:51 +00:00
unknown
769043598b fix/preset-time-session-form creating constructor in session to initialize timeStart/end 2021-10-06 22:16:44 +03:00
unknown
320e61d2c2 fix/preset-time-session-form adding default values to timeStart/end 2021-10-06 20:57:21 +03:00
Marvin M
45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00
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
Github-actions
97de128557 Automatic linting 2021-07-08 16:23:21 +00: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
8286abd3e2 Rename workout description to name 2021-05-11 14:06:55 +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
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