thisisyoussef
b1328fa048
Added to AUTHORS.md
2025-03-26 21:32:03 +01:00
thisisyoussef
3312da1f61
Fix rendering of muscles in MuscleWidget
...
Ensure that when a muscle is both main and secondary, only the main muscle background is drawn.
This addresses potential overlaps and redundant rendering in the MuscleWidget.
2025-03-26 21:32:03 +01:00
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
3ca0c1781f
Add a maximum height for exercise images
2025-03-26 16:24:54 +01:00
Roland Geider
821ffbfc2e
Merge pull request #766 from yashas-hm/yhm/issue-743
...
Exercise filters bug fix: Issue #743
2025-03-26 15:54:19 +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
b2802e3a98
fix: isExpanded variable bool flip
2025-03-25 23:10:05 -04:00
Roland Geider
86b61916f4
Remove the simple_barcode_scanner dependency
...
Turns out, we weren't even using it (or flutter_barcode_scanner)...
2025-03-21 09:10:49 +01:00
Roland Geider
d6eba96e50
Remove again the "Till end of the week" message
...
This wasn't describing properly how the rest days are being handled
2025-03-19 22:24:21 +01:00
Roland Geider
90681fadd9
Split up the gym mode widgets
2025-03-19 10:33:06 +01:00
Roland Geider
b681c264b3
Allow the session ID to be nullable
...
This will be filled in automatically by the backend
2025-03-19 10:19:54 +01:00
Roland Geider
f65a0dfbc8
Change weight and reps by the configured rounding value
2025-03-19 09:37:38 +01:00
Roland Geider
da059e7c36
Adjust image width for consistent sizing
2025-03-18 23:24:04 +01:00
Roland Geider
fea9d89621
Refactor widget so it's easier to test
2025-03-18 21:13:28 +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
b8f4167c9e
Show special tile indicating end of the week
2025-03-18 16:14:22 +01:00
Roland Geider
f987de1b4d
Handle case where an exercise has no variations
2025-03-18 14:59:33 +01:00
Roland Geider
1c2e988c82
Show the start and end dates for the current routine in the dashboard
...
The date in which the routine was created is not so important anymore
2025-03-17 21:03:12 +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
1c8c2f7256
Don't show edit button in view mode
2025-03-17 19:27:43 +01:00
Roland Geider
afff6731da
Group settings by exercise if these are the same
2025-03-17 13:23:10 +01:00
Roland Geider
d5a262491a
Add missing semantic labels
2025-03-17 13:22:02 +01:00
Roland Geider
ac458575b8
More renaming exerciseBase to exercise and exercise to translation
2025-03-17 13:21:51 +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
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
a2ef3278fa
Show the trailing icon for the current day on rest days as well
2025-03-13 14:26:34 +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
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
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
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
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
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
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
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