Commit Graph

456 Commits

Author SHA1 Message Date
Roland Geider
ca1849599b Rename file
Flutter always needs a base translation
2021-06-20 15:17:03 +02:00
Github-actions
a352cb5e67 Automatic linting 2021-06-20 13:14:26 +00:00
Roland Geider
3544cdb7c7 Merge pull request #45 from arun-muralidharan/weight-fix-38
Plate Weight - Fix for #38
2021-06-20 15:13:06 +02:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Arun Muralidharan
e4c16c52c4 Weight Fix
Fixed +/- button in gym mode to add twice the minimum plate weight, since we add one to each side.
2021-06-20 14:57:44 +02:00
yiter
e452ade709 Translated using Weblate (Chinese (Simplified))
Currently translated at 38.2% (49 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-20 10:32:14 +02:00
yiter
941f9ef323 Translated using Weblate (Chinese (Simplified))
Currently translated at 12.5% (16 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-18 11:21:37 +02:00
yiter
c0b66a996e Added translation using Weblate (Chinese (Simplified)) 2021-06-18 09:55:18 +02:00
J. Lavoie
6eb12a6f70 Translated using Weblate (French)
Currently translated at 98.4% (126 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-06-17 20:34:19 +02:00
Roland Geider
6fc6c11eab Translated using Weblate (Spanish)
Currently translated at 96.0% (121 of 126 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2021-06-16 18:00:16 +02:00
Roland Geider
5139d8e997 Translated using Weblate (German)
Currently translated at 100.0% (126 of 126 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-16 18:00:16 +02:00
Roland Geider
e2fa49ab5e Remove sized box,the space is not necessary 2021-06-16 08:32:37 +02:00
Roland Geider
f1b51a88d7 Change plate calculator title 2021-06-16 08:32:12 +02:00
Roland Geider
180e419e7e Group the plates for easier reading 2021-06-15 23:11:34 +02:00
Roland Geider
1a2845b448 Space the plates more evenly 2021-06-15 22:31:04 +02:00
Roland Geider
9bf46807f8 Simplify loop 2021-06-15 17:37:11 +02:00
Roland Geider
52653cc93e Inform the user that the current user can't be reached 2021-06-15 17:34:04 +02:00
Roland Geider
039b195e7a Fix error in plate calculator
The smallest plate was never being taken into consideration, as the loop never
reached it
2021-06-15 17:33:39 +02:00
Roland Geider
70e0620fe1 Don't make the +/- buttons part of the input field
This only makes the field focused which makes the keyboard appear, which is
exactly what we want to avoid when using the shortcuts
2021-06-15 16:30:12 +02:00
Roland Geider
d2d70bdba5 Localize text 2021-06-13 23:40:52 +02:00
Roland Geider
19cf8e3854 Prettify a bit the results of the plate calculator
Still needs some polishing
2021-06-13 21:10:51 +02:00
Roland Geider
48ee80fffe Only show plate calculator for barbell exercises
This might be a bit too constrained, since other exercises (e.g.) in the rack
or the leg press would also benefit from this. Perhaps adding a user switch?
2021-06-13 21:09:37 +02:00
Roland Geider
b88c3290c1 Start implementing a plate calculator 2021-06-13 20:22:15 +02:00
Roland Geider
0af6fc2579 Merge branch 'master' of https://github.com/Jannik-dev/flutter into feature/plate-calculator 2021-06-13 19:12:38 +02:00
Roland Geider
9d6f21cc7b Re-add content for gym mode 2021-06-12 18:01:07 +02:00
Roland Geider
7940aa7e51 Filter allowed characters for usernames
This is the same regex that django uses on the backend.

Fixes #30
2021-06-12 17:54:41 +02:00
Roland Geider
959fdf26d0 Initialise session with defaul value (neutral)
Fixes #36
2021-06-12 17:28:16 +02:00
Roland Geider
7e416383b5 Use string as a key for dates in the calendar
Fixes #33
2021-06-12 17:19:00 +02:00
DT
6b48ae2354 Translated using Weblate (Italian)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-06-10 13:23:30 +02:00
Henio Szewczyk
b2b8c2127c Added translation using Weblate (Polish) 2021-06-02 23:13:25 +02:00
J. Lavoie
135b9ab6ca Translated using Weblate (French)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-05-25 14:33:41 +02:00
J. Lavoie
12358d2df7 Translated using Weblate (Italian)
Currently translated at 97.6% (122 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-05-25 14:33:41 +02:00
J. Lavoie
3c5515f549 Translated using Weblate (German)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-25 14:33:41 +02:00
Roland Geider
29e8c5d610 Translated using Weblate (German)
Currently translated at 100.0% (125 of 125 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-25 14:33:40 +02:00
Roland Geider
ab10b987b1 Only show action icons when there is data to work with 2021-05-24 14:27:24 +02:00
Roland Geider
d5d6c7a1ba Make actions more discoverable for plans
Plans now show regular icons when expanding the panel. While it is not obvious
at all that the header of a workout day or nutritional plan is swipeable, it
provides a quick way to perform commonly used actions, so it will stay for the
users that have found it
2021-05-24 14:13:36 +02:00
Roland Geider
b739d71074 Make exercise detail content scrollable 2021-05-24 13:40:18 +02:00
Roland Geider
d0ec542801 Add methods to allow editing a workout day 2021-05-24 11:58:54 +02:00
Roland Geider
45a404586e Move workout detail switcher to toggle buttons
This makes it more obvious that the page is part of the current workout
2021-05-21 12:39:29 +02:00
Roland Geider
0b29ac1405 Simplify workout widgets by moving the SliverList to the screen 2021-05-21 11:54:41 +02:00
Roland Geider
3e61acc501 Translated using Weblate (German)
Currently translated at 100.0% (122 of 122 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-05-19 22:44:21 +02:00
Roland Geider
31edbb3b48 Loop through all result pages when loading logs 2021-05-19 22:34:36 +02:00
Roland Geider
e45115d26e Make RiR form element a slider
This allows the user to select the correct value faster
2021-05-19 21:35:07 +02:00
Roland Geider
bd1d75caec Make the quick jump exercise list scrollable
Otherwise, this could overflow when there are too many exercises for a
single day
2021-05-19 21:22:04 +02:00
Roland Geider
be0b1bf157 Add missing options for RiR values 2021-05-19 16:07:11 +02:00
Roland Geider
980b5e0526 Cleanup unneeded widgets in gym mode 2021-05-19 14:58:26 +02:00
Roland Geider
8474d2d598 Allow the user to jump to the different exercises in the gym mode 2021-05-19 14:13:04 +02:00
Roland Geider
83202cedb0 If the user cancels the time picker, null is returned 2021-05-19 14:00:05 +02:00
Roland Geider
9ce8632dcc Move the close button to the top left corner in gym mode
This is a more standard behaviour (and the system's back button also leaves the
gym mode anyway)
2021-05-19 12:29:36 +02:00
Roland Geider
b915c764ef Don't check AppLocalizations for null values
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00