Roland Geider
d2097bf319
Show full exercise info in gym mode
...
This makes the ExerciseOverview smaller and more consistent
See #301
2025-03-26 16:31:27 +01:00
Roland Geider
74752505eb
Change rir and rirTarget types from String to num
...
This is more consistent with the other fields and is now the same as the backend
2025-03-26 15:03:15 +01:00
Yashas H Majmudar
657428e6aa
update: platform linux check for goldens
2025-03-24 12:21:27 -04:00
Yashas H Majmudar
db735ed70d
migration: golden_toolkit to flutter_tests
2025-03-23 15:44:09 -04:00
Yashas H Majmudar
e363a4152f
add: documentation
2025-03-23 14:40:17 -04:00
Yashas H Majmudar
d31dc16bcf
migration: migrated all instances of sharedPreferences to sharedPreferencesAsync for tests
2025-03-23 14:26:28 -04:00
Roland Geider
4fe4d488b2
Update goldens
2025-03-19 22:55:37 +01:00
Roland Geider
90681fadd9
Split up the gym mode widgets
2025-03-19 10:33:06 +01:00
Roland Geider
fea9d89621
Refactor widget so it's easier to test
2025-03-18 21:13:28 +01:00
Roland Geider
bf8e0b6af8
Remove test
...
This is already available in gallery_form_test.dart
2025-03-18 20:26:49 +01:00
Roland Geider
f3152aa0f4
Update goldens
2025-03-18 20:25:14 +01:00
Roland Geider
d071d143df
Update flutter to 3.29
...
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported
Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
80d59e729b
Fix test
2025-03-18 16:01:15 +01:00
Roland Geider
f987de1b4d
Handle case where an exercise has no variations
2025-03-18 14:59:33 +01:00
Roland Geider
58a641d298
Also put the list tile to add exercises in a card
...
This makes it look the same as the one to add new days and makes for
a more consistent behaviour
2025-03-17 19:44:58 +01:00
Roland Geider
5fdcb63207
Remove the optional refresh parameter
...
We always want to refresh the data since we don't update manually the
dayData lists
2025-03-17 19:27:43 +01:00
Roland Geider
b868911a3f
update goldens
2025-03-17 13:29:29 +01:00
Roland Geider
9f13e371ba
Fix test
2025-03-15 14:54:39 +01:00
Roland Geider
715ad1865b
Update goldens
2025-03-14 15:45:15 +01:00
Roland Geider
fee27ac75d
Remove debug output
2025-03-11 21:46:16 +01:00
Roland Geider
68585bf22f
Update goldens
2025-03-11 21:46:00 +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
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
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
eecaa6fcf0
Merge branch 'feature/flexible-routines' into Jackpkn-fix/gym-provider-navigation
2025-02-21 22:16:25 +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
888989a8f3
Update goldens
2025-02-02 14:51:12 +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
8fa75c2aa6
Update goldens
2025-01-31 16:35:48 +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
b4f8a59a70
Add the newly created session to the routine
2025-01-26 15:07:37 +01:00
Roland Geider
123b45e6b3
Update goldens
2025-01-26 14:51:19 +01:00
Roland Geider
3c2e8faacd
Merge remote-tracking branch 'origin/feature/flexible-routines' into feature/flexible-routines
2025-01-25 21:51:54 +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
Roland Geider
13998ec3c0
Don't load the routine every time the log page are accessed
2025-01-25 20:07:19 +01:00
Roland Geider
4b1dec2735
Add some more tests
2025-01-25 16:10:21 +01:00
Roland Geider
60c06b9508
Update goldens
2025-01-25 15:51:33 +01:00
Roland Geider
202349c5bc
Make workout log charts work again
2025-01-25 15:39:51 +01:00
Roland Geider
9ea580a380
Skip golden comparison when running on a non-linux platform
2025-01-25 15:22:22 +01:00
Roland Geider
41961572b1
Update goldens
2025-01-24 20:28:37 +01:00
Roland Geider
4d55f8c901
Add some more tests
2025-01-24 20:22:22 +01:00
Roland Geider
b4ff0b74aa
Some cleanup, renaming, reformating
2025-01-24 17:01:27 +01:00
Roland Geider
ffe5867727
Add simple tests for SlotEntryForm
2025-01-24 17:00:55 +01:00
Roland Geider
079db5d5e0
Recreate generated files
2025-01-24 15:07:51 +01:00