Commit Graph

858 Commits

Author SHA1 Message Date
Roland Geider
8bd0c99816 Redirect the user to the created exercise after loading
This still needs some work in fetchAndSetExercise
2022-04-15 14:16:48 +02:00
Roland Geider
94ab5b747b Cleanup 2022-04-15 14:08:07 +02:00
Roland Geider
26808e1ebe Don't automatically save the form when reaching the last step 2022-04-15 14:07:09 +02:00
Roland Geider
48ec2edbb3 Cleanup app bars
The dashboard has the main app bar that allows to change the settings, while
each screen has its own with custom actions
2022-04-15 13:03:35 +02:00
Roland Geider
3b2d9bf902 Only create aliases when they exist 2022-04-13 21:43:36 +02:00
Roland Geider
2b60e84b25 Remove icon from menu entry, not needed 2022-04-13 16:39:00 +02:00
Roland Geider
bf710bc5d5 Translate categories and equipment in other parts of the application 2022-04-13 12:08:46 +02:00
Roland Geider
6622fad56b Add dynamic translations of strings that arrive from the server
Closes #120
2022-04-12 17:45:28 +02:00
Roland Geider
826810f17a Start working on automatic screenshot generation 2022-04-11 20:00:32 +02:00
Roland Geider
a6338ab6d6 Some more polishing 2022-03-31 13:52:43 +02:00
Roland Geider
75c18d283d Split up the widgets used, this was getting too cluttered 2022-03-31 00:20:13 +02:00
Roland Geider
bc28fe8624 Start adding variations handling 2022-03-31 00:07:12 +02:00
Roland Geider
75dd047adf Add a bit of padding before the navigation buttons 2022-03-30 00:11:22 +02:00
Roland Geider
3d4f48a88d Hide the translation fields, not all users will need this 2022-03-29 23:58:00 +02:00
Roland Geider
c5a9f554c8 Allow uploading images taken directly with the camera 2022-03-29 23:08:35 +02:00
Roland Geider
c819e51fc8 Swap method names 2022-03-29 22:00:50 +02:00
Roland Geider
16ef887c29 Move validation logic to helpers 2022-03-29 00:03:48 +02:00
Roland Geider
f548be4f34 Validate the alternative names as well
Also, add a maximum length for the names as well
2022-03-28 23:58:31 +02:00
Roland Geider
c4d26b3f01 Add some validation to the exercise form 2022-03-28 23:36:46 +02:00
Roland Geider
6214240ea0 Don't allow the user to skip steps 2022-03-28 23:02:52 +02:00
Roland Geider
0b7a6e31c1 Correctly update muscle overview 2022-03-28 22:20:56 +02:00
Roland Geider
b87784f5fc Add an additional step when adding exercises 2022-03-28 22:11:31 +02:00
Roland Geider
a2f0a86510 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	pubspec.lock
2022-03-27 13:54:43 +02:00
Roland Geider
0901962e23 Initialize the categories and languages 2022-03-13 11:31:19 +01:00
Roland Geider
7c59457df2 Use correct label 2022-03-13 11:14:02 +01:00
WMs784
92073ac529 added translations to Japanese 2022-03-13 11:48:33 +09:00
WMs784
e8a7c3e155 added translations to Japanese 2022-03-13 10:57:25 +09:00
Roland Geider
5ef94ddf7a Merge branch 'master' into feature/exercise-crowdsourcing 2022-03-12 23:50:39 +01:00
Roland Geider
af5aa0f7fe Show color of main and secondary muscles 2022-03-12 23:35:30 +01:00
Roland Geider
4241750708 Always set the values of the selected muscles and categories
Otherwise it's not possible to remove all selections after having clicked on one
2022-03-12 23:25:23 +01:00
Roland Geider
633e7b76d4 Fix path for trained muscles 2022-03-12 23:19:45 +01:00
Roland Geider
8ff1b1e8ef Update list of secondary muscles 2022-03-12 22:37:37 +01:00
Roland Geider
80a5793a54 Call notifyListeners when setting list of muscles
This is needed to update the muscle overview widget
2022-03-12 22:33:14 +01:00
Roland Geider
48ea85794a Finally fix some errors with the multi select widget
Now it's possible to add and remove elements
2022-03-12 22:13:36 +01:00
Roland Geider
9b9afcc4e7 Don't use magic numbers to save the art style of an image 2022-03-12 21:44:15 +01:00
WMs784
c28fecea56 added translations of japanese 2022-03-13 01:16:02 +09:00
WMs784
8f8ad62884 added translations of japanese 2022-03-13 01:12:12 +09:00
MARCO ACORTE
7bbe2005ea Translated using Weblate (Italian)
Currently translated at 100.0% (159 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2022-03-10 11:54:51 +01:00
Roland Geider
e111839b3f Save aliases to the DB 2022-03-05 13:55:43 +01:00
Oğuz Ersen
63fd5c9b60 Translated using Weblate (Turkish)
Currently translated at 100.0% (159 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2022-02-27 23:05:24 +01:00
Jing
37bdb0139a Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (157 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2022-02-25 21:54:09 +01:00
Roland Geider
545f96b1c4 Some cleanup 2022-02-20 19:19:40 +01:00
Roland Geider
7e07b2d594 Allow jumping back to the past steps by tapping on them 2022-02-20 19:19:22 +01:00
Roland Geider
b011ddcd25 POST images when creating new exercises 2022-02-20 15:54:32 +01:00
Roland Geider
19a504dcfb Actually create exercise bases and translations 2022-02-20 14:40:42 +01:00
Roland Geider
5cebbb7c7f Fix merge conflicts 2022-02-19 22:16:32 +01:00
Roland Geider
badc3257d0 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	assets/images/muscles/back.svg
#	assets/images/muscles/main/muscle-1.svg
#	assets/images/muscles/main/muscle-10.svg
#	assets/images/muscles/main/muscle-11.svg
#	assets/images/muscles/main/muscle-12.svg
#	assets/images/muscles/main/muscle-13.svg
#	assets/images/muscles/main/muscle-14.svg
#	assets/images/muscles/main/muscle-15.svg
#	assets/images/muscles/main/muscle-16.svg
#	assets/images/muscles/main/muscle-2.svg
#	assets/images/muscles/main/muscle-3.svg
#	assets/images/muscles/main/muscle-4.svg
#	assets/images/muscles/main/muscle-5.svg
#	assets/images/muscles/main/muscle-6.svg
#	assets/images/muscles/main/muscle-7.svg
#	assets/images/muscles/main/muscle-8.svg
#	assets/images/muscles/main/muscle-9.svg
#	assets/images/muscles/secondary/muscle-1.svg
#	assets/images/muscles/secondary/muscle-10.svg
#	assets/images/muscles/secondary/muscle-11.svg
#	assets/images/muscles/secondary/muscle-12.svg
#	assets/images/muscles/secondary/muscle-13.svg
#	assets/images/muscles/secondary/muscle-14.svg
#	assets/images/muscles/secondary/muscle-15.svg
#	assets/images/muscles/secondary/muscle-16.svg
#	assets/images/muscles/secondary/muscle-2.svg
#	assets/images/muscles/secondary/muscle-3.svg
#	assets/images/muscles/secondary/muscle-4.svg
#	assets/images/muscles/secondary/muscle-5.svg
#	assets/images/muscles/secondary/muscle-6.svg
#	assets/images/muscles/secondary/muscle-7.svg
#	assets/images/muscles/secondary/muscle-8.svg
#	assets/images/muscles/secondary/muscle-9.svg
#	lib/helpers/consts.dart
#	lib/l10n/app_en.arb
#	lib/models/exercises/exercise.dart
#	lib/models/exercises/exercise.g.dart
#	lib/providers/exercises.dart
#	lib/widgets/exercises/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/exercises/exercises_detail_widget_test.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-02-19 22:07:47 +01:00
Roland Geider
a1b0fce54f Merge pull request #129 from wger-project/feature/exercise-videos
exercise videos
2022-02-19 21:04:58 +01:00
KenXRan
bc40a8bfca Added translation using Weblate (Chinese (Traditional)) 2022-02-19 07:01:27 +01:00
Roland Geider
d8933def9b Add versioning to the exercise cache
This was backported from the exercise crowdsourcing branch and is needed since
we are adding new data structures, in this case the exercises.
2022-02-18 21:12:05 +01:00