Commit Graph

390 Commits

Author SHA1 Message Date
Roland Geider
437dd45dea Remove onTap
The entry wasn't interactive anyway and the inkwell effect could confuse
the users
2021-05-17 16:04:39 +02:00
Roland Geider
06ea5a937a Use a regular BottomNavigationBar for the bottom... navigation... bar 2021-05-17 13:19:28 +02:00
Roland Geider
26fc59974d Fetch exercises from server if they are not known locally
This fixes a bug where the workout would not load when an exercise was added to
the database after the exercises were cached locally.
2021-05-17 12:41:19 +02:00
Roland Geider
89b9d6b0c8 Remove link to gallery from workout plans screen
Gallery now has its own icon on the bottom navigation
2021-05-17 12:41:19 +02:00
Roland Geider
aa6e0429e1 Indicate that the system status bar should use light icons 2021-05-16 20:16:06 +02:00
J. Lavoie
7ad467ee7d Translated using Weblate (French)
Currently translated at 100.0% (117 of 117 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-05-14 01:32:55 +02:00
J. Lavoie
f6b47a3f9b Translated using Weblate (Italian)
Currently translated at 100.0% (117 of 117 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-05-14 01:32:55 +02:00
J. Lavoie
c065e04e02 Translated using Weblate (German)
Currently translated at 100.0% (117 of 117 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-14 01:32:55 +02:00
Roland Geider
642b0b8658 No need to fetch all nutritional diary logs on the dashboard
This happens when loading the full plan anyway
2021-05-13 14:10:14 +02:00
Roland Geider
eb3214ab2f Further reduce the number of requests needed to load the plans sparsely 2021-05-13 13:56:16 +02:00
Roland Geider
2468e600c6 Fetch nutritional plan details when visiting the detail page
This helps reduce the data loaded when loading the app the first time

See #14
2021-05-13 13:35:16 +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
b8e0136540 Clear data when logging out 2021-05-12 14:13:20 +02:00
Roland Geider
c6778a0b0a Merge branch 'user-gallery'
# Conflicts:
#	lib/widgets/workouts/forms.dart
#	test/workout_form_test.dart
2021-05-11 14:08:19 +02:00
Roland Geider
8286abd3e2 Rename workout description to name 2021-05-11 14:06:55 +02:00
Roland Geider
699ea87c5f Add some tests for the picture gallery 2021-05-11 13:44:04 +02:00
Roland Geider
123f64d0eb Add some tests for the picture gallery 2021-05-11 13:18:20 +02:00
Roland Geider
ee2e6ac671 Give providers a consistent name 2021-05-11 12:10:53 +02:00
Roland Geider
4728360149 Move gallery to own provider
Since this has its own icon in the main navigation
2021-05-11 11:48:28 +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
4cb473ebf3 Allow editing existing image entries 2021-05-10 13:24:51 +02:00
Roland Geider
3c96476bdb Show bigger version of image when clicking on it 2021-05-10 00:01:32 +02:00
J. Lavoie
e467cd8b5d Translated using Weblate (French)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-05-09 11:11:17 +02:00
J. Lavoie
f9f61bd697 Translated using Weblate (Italian)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-05-09 11:11:15 +02:00
J. Lavoie
54ef556d41 Translated using Weblate (German)
Currently translated at 100.0% (111 of 111 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-09 11:11:15 +02:00
Roland Geider
7b1c8bb85d Add gallery to main tab navigation, for now 2021-05-08 21:24:05 +02:00
Roland Geider
964af57f5b Commit generated files 2021-05-08 21:10:54 +02:00
Roland Geider
8839ffa93f Some refactoring of the gallery form 2021-05-08 20:52:03 +02:00
Roland Geider
edbb49e688 Allow submitting images to the gallery 2021-05-08 12:13:34 +02:00
Roland Geider
b9229b0ea3 Add button to take pictures or load images from gallery
At the moment not functional and nothing is done with the data
2021-05-07 13:49:15 +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
0edb4c1373 Always show exercises, show reps for details 2021-05-01 15:32:56 +02:00
Roland Geider
5069f24957 Point server, fastlane to production 2021-05-01 12:32:23 +02:00
Roland Geider
b8efdb87a6 Some improvements to the gym log page
By default only the weight and repetitions are shown, but the units and the
RiR can be toggled
2021-05-01 12:20:05 +02:00
Roland Geider
367c66a311 Pop the current page when deleting plans
Otherwise the bottom navigation gets lost (because we have nested Scaffolds,
we should probably fix this in the future)
2021-05-01 12:15:35 +02:00
Roland Geider
cceefdf397 Use material translations for common words 2021-04-30 18:51:38 +02:00
Roland Geider
2c0e1ef05b Change icons used for expanding panels in workout and nutritional plans 2021-04-30 12:19:11 +02:00
Roland Geider
6fa492c569 Set correct type for metadata variable 2021-04-30 11:28:18 +02:00
Roland Geider
e6f0cf518e Sort routes alphabetically 2021-04-30 10:58:08 +02:00
Roland Geider
6f36d9d9b0 Improve speed by downloading independent data in parallel 2021-04-30 10:58:08 +02:00
Roland Geider
9ec1898cfc Show repetitions in a column
If there are e.g. four different ones, the resulting line is really ugly
2021-04-30 10:58:08 +02:00
mondstern
c56b137aeb Translated using Weblate (Italian)
Currently translated at 100.0% (113 of 113 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-04-29 19:32:07 +02:00
mondstern
7a7a5ed450 Translated using Weblate (German)
Currently translated at 100.0% (113 of 113 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-04-29 19:32:07 +02:00
Roland Geider
f82cd65acf Improve detail view of meals
The header and values are now better centered, making this a bit more visually
pleasing
2021-04-28 12:24:02 +02:00
Roland Geider
4c7452e634 Fix bug preventing addind and editing meal items 2021-04-28 11:47:30 +02:00
Roland Geider
0673cbf3ce Correctly handle navigation when adding or editing plans 2021-04-28 11:24:23 +02:00
Roland Geider
b4bdec0d5a Add autofill group to fields in auth screen 2021-04-28 11:12:55 +02:00
Roland Geider
90c1f3c3b6 Add simple test for exercise detail widget 2021-04-28 10:45:31 +02:00