Commit Graph

309 Commits

Author SHA1 Message Date
Roland Geider
6e059ad66d Translated using Weblate (German)
Currently translated at 100.0% (100 of 100 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-04-16 11:27:01 +02:00
Roland Geider
7c9a75df48 Use list tiles for list of logs in gym mode
This improves usability and allows to just tap the whole tile to copy the
values over
2021-04-15 17:40:20 +02:00
Roland Geider
761a6b0f06 Transfer log data to form in gym mode
Closes #13
2021-04-15 17:40:20 +02:00
Roland Geider
7e2ba3468d Show past logs in gym mode
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
6fe0841cc1 Use correct label for button 2021-04-15 11:10:32 +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
a0d3df6d8d Delete commented code 2021-04-13 17:12:30 +02:00
Roland Geider
254cc4bdfe Simplify nutrition diary by using a listview 2021-04-13 17:12:30 +02:00
Stefano Rossi
e58d855b4f Translated using Weblate (Italian)
Currently translated at 100.0% (99 of 99 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-04-13 13:06:34 +02:00
Roland Geider
6275f54b33 Improve validator for set form
Check that the user has entered at least the repetitions or the weight for at
least one set
2021-04-13 12:58:37 +02:00
Roland Geider
6911160f10 Reduce vertical padding
This is not needed anymore with the SafeArea widget
2021-04-13 11:57:03 +02:00
Roland Geider
d65c3e1779 Show exercise category and equipment in gym mode 2021-04-13 11:55:13 +02:00
Roland Geider
6973f2eb52 Read exercise data as UTF8 2021-04-13 11:10:40 +02:00
Roland Geider
c663a65b1e add missing import 2021-04-13 10:47:12 +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
e3dc898a6e Return created workout and nutrition plan 2021-04-10 13:22:16 +02:00
Roland Geider
e60236042b Remove more hard coded strings 2021-04-10 13:22:15 +02:00
Roland Geider
ab5021fc12 Only attempt to draw log charts when there is data 2021-04-10 13:22:15 +02:00
Roland Geider
a24630424e Re-activate showing a snackbar after saving a log in the gym mode 2021-04-10 13:22:15 +02:00
Roland Geider
78c70c7918 Move gym mode content into a SafeArea widget 2021-04-10 13:22:15 +02:00
Roland Geider
b3dc1d23cb Don't prefill the user and password with development values 2021-04-10 13:22:15 +02:00
Roland Geider
e1d97f4f91 Make list of exercises in gym mode overview scrollable 2021-04-10 13:22:15 +02:00
Stefano Rossi
423ba71c3d Translated using Weblate (French)
Currently translated at 90.5% (86 of 95 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-04-09 20:10:17 +02:00
Stefano Rossi
c5574312b3 Translated using Weblate (Italian)
Currently translated at 100.0% (95 of 95 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-04-09 20:10:17 +02:00
Roland Geider
0b8c8ce3de Correctly fetch the synthetic repetitions when creating a workout 2021-04-09 18:18:57 +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
ec8e8294e0 Allow the user to start the gym mode from the dashboard 2021-04-09 18:18:57 +02:00
Roland Geider
2738f24466 Add buttons to increase and decrease the number of reps in gym mode 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
7e28c06615 Remove dart analysis warnings 2021-04-09 18:18:57 +02:00
Stefano Rossi
04e7d33e61 Translated using Weblate (Italian)
Currently translated at 100.0% (95 of 95 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-04-08 13:25:27 +02:00
Roland Geider
9c213a1af7 Translated using Weblate (German)
Currently translated at 100.0% (95 of 95 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-04-08 13:25:27 +02:00
Roland Geider
ec2325b3e2 Redirect to the correct screen after editing a workout plan 2021-04-08 13:09:28 +02:00
Roland Geider
ddad869fc9 Don't use the returned workout plan when editing
This gets rid of all attached objects such as days
2021-04-08 13:04:11 +02:00
Roland Geider
fad1e9e61c Replace generic "add" label with "add set" 2021-04-08 12:57:20 +02:00
Roland Geider
1d1d62d950 Search ingredients and exercises in the current locale 2021-04-08 12:46:36 +02:00
Roland Geider
e9446e8cae Redirect to the correct screen after editing a nutritional plan 2021-04-08 12:39:06 +02:00
Roland Geider
19d8862fb6 Localize the nutrition diary dates 2021-04-08 12:21:17 +02:00
Roland Geider
0a2222de21 Add a new line after the macroutrient name
This makes the pie chart more readable, before the grams were often cropped
2021-04-08 12:19:37 +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
68268757b8 Don't allow selecting a date if there is already an entry 2021-04-07 21:26:14 +02:00
Roland Geider
5d8396cf4d Remove comment from the null safety migration tool 2021-04-07 21:09:31 +02:00
Roland Geider
dbcb1efb43 When editing a weight entry, don't pre select the current date 2021-04-07 21:02:48 +02:00
Roland Geider
596385fbc2 Replace deprecated snackbar method 2021-04-07 20:56:14 +02:00
Roland Geider
aae79cb4a5 Render the exercise's description HTML 2021-04-07 13:46:32 +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
eca0336706 Initialise the weight and reps unit objects for computed settings 2021-04-07 12:37:06 +02:00
Roland Geider
5557686ff7 Polish the gym mode and other widgets 2021-04-06 20:41:44 +02:00