Commit Graph

379 Commits

Author SHA1 Message Date
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
Roland Geider
414f2eb234 Show exercise details from workout page 2021-04-28 10:26:47 +02:00
Roland Geider
5c7b580070 Plot the planned calories on the nutritional diary chart 2021-04-25 17:38:26 +02:00
Roland Geider
7485bc3b57 Add workout log button
This is more obvious than the option in the menu, but doesn't look completely
fine yet
2021-04-25 17:11:21 +02:00
Roland Geider
e9a0615775 Use local date as key
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:59:36 +02:00
Roland Geider
7c7829f473 Handle ingredient name overflowing in the dashboard 2021-04-25 16:19:06 +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
fc4e9c45df Add drag indicator to dismissibles 2021-04-25 15:28:06 +02:00
Roland Geider
809d5ab51f Mute the repetitions of exercises in the dashboard 2021-04-25 15:01:02 +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
Stefano Rossi
c5fa7c0955 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-04-24 09:39:42 +02:00