Commit Graph

879 Commits

Author SHA1 Message Date
Roland Geider
0711e199da Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/models/exercises/exercise.g.dart
#	pubspec.lock
#	pubspec.yaml
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/workout/workout_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-07-01 09:47:52 +02:00
Roland Geider
2aa9bc20e1 Load English name of muscles as well 2022-06-21 12:40:33 +02:00
Roland Geider
4098b83a74 Fix typo 2022-05-20 19:36:19 +02:00
Github-actions
0c3ee3badf Automatic linting 2022-05-20 17:10:27 +00:00
Roland Geider
ca2fd8e9ef Add a consumer to the body weight card
Closes #144
2022-05-20 19:08:13 +02:00
Artem
3387206251 Translated using Weblate (Ukrainian)
Currently translated at 98.1% (156 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2022-05-17 00:13:49 +02:00
Artem
c64ffa43c2 Translated using Weblate (Ukrainian)
Currently translated at 40.2% (64 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2022-05-13 12:18:23 +02:00
Roland Geider
8e233fbed1 Make the form a stateless widget
Also, add the correct validator for emails
2022-05-12 19:42:26 +02:00
Roland Geider
f8aa3e7384 Cleanup 2022-05-12 19:19:02 +02:00
Roland Geider
f6a2dcbf33 Show a snackbar when saving the profile 2022-05-12 19:17:38 +02:00
Roland Geider
6ee9aaee06 Rework user profile endpoint handling
Now it's not necessary anymore to pass the ID, we can do all actions on the
"list" URL

Fixes #141
2022-05-12 19:13:56 +02:00
Roland Geider
04b8f14925 Commit missing .part file 2022-05-12 18:03:43 +02:00
Roland Geider
7b0f02e88f Add user profile page
Closes #71
2022-05-12 15:28:26 +02:00
Roland Geider
1fd1aed848 Add tests for the getExercise method 2022-05-11 17:41:11 +02:00
Roland Geider
34e0854c68 Set the baseID when loading exercises 2022-05-11 16:58:55 +02:00
Roland Geider
f56619939e Simplify loading of exercise data
While this has more manual steps than I would prefer, it is definitely better
than loading the individual entries and mapping them to an forth
2022-05-11 00:03:05 +02:00
Roland Geider
9d554b391d Some further fixes for migration to exercise bases 2022-05-10 17:07:06 +02:00
Roland Geider
f834950cec Workout logs and settings now have a reference to an exercise base
This puts this code in sync with the backend and is logically better, since
the translations can be displayed when needed and are not hard coded
2022-05-10 16:53:44 +02:00
Roland Geider
f2ebfc9c75 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	pubspec.lock
#	pubspec.yaml
2022-05-10 14:47:56 +02:00
Artem
e5b6ad7b25 Translated using Weblate (Ukrainian)
Currently translated at 7.5% (12 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2022-05-09 14:15:12 +02:00
Artem
e95e551067 Added translation using Weblate (Ukrainian) 2022-05-08 11:53:46 +02:00
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