Commit Graph

571 Commits

Author SHA1 Message Date
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
0c5800640f Merge branch 'feature/plate-calculator' 2021-06-16 17:56:28 +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
cec7480309 Merge pull request #39 from wger-project/imgbot
[ImgBot] Optimize images
2021-06-15 16:00:41 +02:00
ImgBotApp
4392743b42 [ImgBot] Optimize images
*Total -- 2,374.05kb -> 1,978.37kb (16.67%)

/android/fastlane/metadata/android/en-US/images/phoneScreenshots/02 - workout log.png -- 202.57kb -> 133.58kb (34.06%)
/android/fastlane/metadata/android/en-US/images/phoneScreenshots/03 - gym mode.png -- 104.01kb -> 74.29kb (28.57%)
/android/fastlane/metadata/android/en-US/images/phoneScreenshots/05 - weight.png -- 121.52kb -> 88.69kb (27.02%)
/android/fastlane/metadata/android/en-US/images/phoneScreenshots/04 - nutritional plan.png -- 1,218.35kb -> 1,051.08kb (13.73%)
/android/fastlane/metadata/android/en-US/images/phoneScreenshots/01 - workout plan.png -- 727.60kb -> 630.73kb (13.31%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-15 13:59:02 +00:00
Roland Geider
da446c9bbe Update screenshots 2021-06-15 15:36:21 +02:00
Roland Geider
d25f190057 Add AUTHORS.md 2021-06-14 10:26:26 +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
1b0f555f75 Update dependencies 2021-06-12 17:19:14 +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
Roland Geider
493024a274 Bump versions 2021-06-01 18:27:31 +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
c35587cceb Bump versions 2021-05-24 10:37:16 +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
Roland Geider
d5521082a6 Override the equals operator for workout plan logs
Two logs are considered equal if their content is equal. This is used e.g.
 in the gym mode where we want to have unique values
2021-05-18 22:14:58 +02:00