Roland Geider
4e959d777a
The repetition and weight units can be null
...
and don't need to be loaded in this case
2025-03-16 19:59:00 +01:00
Roland Geider
0e4dbba245
Re-add showing null days
...
Still need a better solution in the UI for this, though
2025-03-15 14:59:59 +01:00
Roland Geider
753a126625
Don't load templates
...
At the moment templates are not supported in the mobile app.
2025-03-15 14:55:14 +01:00
Roland Geider
8de2199742
Render the "add day" within a Card
...
This makes it visually more similar to the rest of the options
2025-03-14 15:16:21 +01:00
Roland Geider
498e0a5011
Simplify code
2025-03-14 15:15:36 +01:00
Roland Geider
e26da371e6
Correctly calculate the current iteration
2025-03-14 13:37:11 +01:00
Roland Geider
6e01df2622
Use better type for requirements
...
(which are not editable on the flutter application anyway)
2025-03-13 14:45:35 +01:00
Roland Geider
f8e4304a01
Use better conversion function, the (max) rest time can be null
2025-03-13 14:42:48 +01:00
Roland Geider
a2ef3278fa
Show the trailing icon for the current day on rest days as well
2025-03-13 14:26:34 +01:00
Roland Geider
6cffdc9366
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# lib/l10n/app_zh_Hant.arb
2025-03-13 14:13:20 +01:00
Roland Geider
6039f51b2a
If there is a rest time, show a countdown timer in the gym mode
2025-03-11 21:42:41 +01:00
Roland Geider
140fe11e2a
Mark the day in the routine for the current date
2025-03-11 21:03:20 +01:00
Roland Geider
4e60f14917
The dashboard can be a StatelessWidget
2025-03-11 20:44:42 +01:00
Roland Geider
325cc93865
Refresh the whole routine after modifying further objects.
...
This makes sure that all the structures are present and have the correct
content (dayData, etc.). Also, add more feedback to the user for some operations
that take a bit longer due to loading the whole routine.
2025-03-11 20:36:38 +01:00
Roland Geider
3abfd43be0
Rename variable to make it clearer what it does
2025-03-11 14:27:15 +01:00
Roland Geider
929acc7938
Refresh the whole routine after modifying a day
...
This makes sure that all the structures are present and have the correct
content (dayData, etc.)
2025-03-11 14:06:09 +01:00
Roland Geider
9c68a5abf4
Show button to edit the routine if it is empty
2025-03-11 13:51:47 +01:00
Roland Geider
1f647b5033
Correctly navigate to new routine after creating it
2025-03-11 13:50:13 +01:00
Roland Geider
883490ecd4
Juggle with the widgets so the routine form doesn't cause overflow errors
...
Seems this is the only form to make it work within the SingleChildScrollView
2025-03-11 13:25:30 +01:00
Peter Dave Hello
5ee2c1abe7
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 100.0% (276 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2025-03-10 21:23:01 +01:00
Karol Solecki
3ff044ac9f
Translated using Weblate (Polish)
...
Currently translated at 95.6% (264 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2025-03-10 21:23:01 +01:00
Joey Haalboom
b8f48ee4e4
Translated using Weblate (Dutch)
...
Currently translated at 9.7% (27 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2025-03-10 21:23:01 +01:00
Алексей Курышко
6f45a32d90
Translated using Weblate (Russian)
...
Currently translated at 97.8% (270 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ru/
2025-03-10 21:23:01 +01:00
Milo Ivir
f55ccbd13c
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (276 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2025-03-10 21:23:01 +01:00
Edson Wolf
e244d548a8
Translated using Weblate (Portuguese)
...
Currently translated at 97.8% (270 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2025-03-10 21:23:01 +01:00
Antenore Gatta
e589cbd078
Translated using Weblate (Italian)
...
Currently translated at 100.0% (276 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2025-03-10 21:23:01 +01:00
William
e72bfa36ce
Translated using Weblate (French)
...
Currently translated at 96.3% (266 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2025-03-10 21:23:00 +01:00
Максим Горпиніч
bd1b44d0c9
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (276 of 276 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-03-10 21:23:00 +01:00
Roland Geider
2f975b1fd3
Correctly handle the state
...
The problem was that some of the previous changes were asynchronous and would
not always represent the actual current state. This solution works, but is
a bit verbose and perhaps overly complicated?
2025-02-22 23:09:59 +01:00
Roland Geider
eecaa6fcf0
Merge branch 'feature/flexible-routines' into Jackpkn-fix/gym-provider-navigation
2025-02-21 22:16:25 +01:00
Roland Geider
f25e9867a2
Cleanup
2025-02-21 22:05:29 +01:00
Roland Geider
4f94a6a41e
Make the repetition and weight units nullable as per the backend
2025-02-21 16:37:16 +01:00
Roland Geider
14a5d7285b
Extract the day data for the current routine
...
instead of loading the same data from the server
2025-02-16 21:19:17 +01:00
Roland Geider
460b6e7125
Add smoke test for fetchAndSetRoutineFull
2025-02-02 22:38:05 +01:00
Roland Geider
2498183094
Rename further instances of "reps" to "repetitions"
2025-02-01 19:24:15 +01:00
Roland Geider
323b18320f
Rename key to be more consistent
2025-02-01 15:34:00 +01:00
Roland Geider
3ef8b62d53
Update exercise info API paths
2025-02-01 15:29:14 +01:00
Roland Geider
110c98ffbd
Merge branch 'feature/flexible-routines' into Jackpkn-fix/gym-provider-navigation
2025-01-31 21:33:57 +01:00
Roland Geider
5e389664b7
Make LogChartWidgetFl work again
2025-01-31 18:11:35 +01:00
Roland Geider
8256c46d4f
Initialize the units for the log entries in the session
2025-01-31 17:52:47 +01:00
Roland Geider
2e62fdee83
Cleanup
2025-01-31 16:25:03 +01:00
Roland Geider
5058498c4f
Allow passing all parameters to the WorkoutSession constructor
2025-01-31 16:24:56 +01:00
Roland Geider
ef4db2c772
Pass the routine ID to the RoutineScreen widget
2025-01-31 16:24:21 +01:00
Roland Geider
3e6ee0b082
Update models due to changes in exercise api response changes
2025-01-30 21:48:44 +01:00
Roland Geider
4bd16f5c0d
Remove logs from the routine
...
The logs are now in the session list and can be easily extracted if needed
2025-01-30 18:21:09 +01:00
Roland Geider
7c6fbebdf5
Show workout session information
2025-01-26 20:11:21 +01:00
Roland Geider
51ed2ef428
Format numeric log values
2025-01-26 19:33:20 +01:00
Roland Geider
6869dc9789
Use logging package for debug messages in routines provider
2025-01-26 15:12:01 +01:00
Roland Geider
b4f8a59a70
Add the newly created session to the routine
2025-01-26 15:07:37 +01:00
Roland Geider
c0935506ed
Load the session data from the new API as well
...
Also, edit or add a session in the gym mode
2025-01-25 21:50:30 +01:00