Roland Geider
9f66815e10
Merge branch 'master' into feature/gym-mode
...
# Conflicts:
# lib/widgets/routines/gym_mode/navigation.dart
# pubspec.lock
# test/exercises/contribute_exercise_image_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/nutrition/nutritional_meal_form_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
2025-11-19 19:18:45 +01:00
Roland Geider
fc881c4929
Properly handle timezones
...
This should (hopefully 🤞 ) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01:00
Roland Geider
f1f37d3e03
Allow swapping exercises in the gym mode
2025-11-15 01:32:59 +01:00
Roland Geider
70fba34f0c
Better handling of time zones
...
We now send the current time zone to the server when serializing datetime objects.
This was causing entries to be saved some hours wrong or depending on the time, on
a different day.
2025-05-26 11:13:53 +02:00
Roland Geider
88d66b336c
Properly update the UI when deleting workout logs
...
The problem was that we were passing the exercises and session from the
calendar events, which wasn't being reloaded when the logs were deleted. Now
we only pass the selected date and fetch the logs from the routine.
2025-04-17 10:26:44 +02:00
Roland Geider
567843aec8
Set the default value to fitInWeek to true
...
This is the same behaviour as in the web application is what most people
most like will be doing anyway.
2025-03-17 19:27:43 +01:00
Roland Geider
e26da371e6
Correctly calculate the current iteration
2025-03-14 13:37:11 +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
5e389664b7
Make LogChartWidgetFl work again
2025-01-31 18:11:35 +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
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
202349c5bc
Make workout log charts work again
2025-01-25 15:39:51 +01:00
Roland Geider
3a398d0f36
Simplify arguments for routine objects and add a smoke test
2025-01-18 19:37:33 +01:00
Roland Geider
6e7284e104
Update the routine test data
2025-01-07 21:42:26 +01:00
Roland Geider
462cc95979
Fix test
2025-01-06 22:01:33 +01:00
Roland Geider
4a60018d9a
Fix tests
2025-01-06 21:36:37 +01:00
Roland Geider
ad5d1be306
Pass the necessary IDs to the gym mode and load the rest of the data
2025-01-05 16:35:16 +01:00
Roland Geider
ae4d2230b9
WIP: Make gym mode display the exercises
2025-01-05 14:49:34 +01:00
Roland Geider
ffa87f6db7
Refactor update logic
...
There are a lot of common steps that are always the same. This will specially
important once we edit all the other configs and their max siblings
2024-11-16 12:55:14 +01:00
Roland Geider
056ed2b894
Allow day objects to load slots
2024-11-12 22:08:45 +01:00
Roland Geider
1d93b2f8c0
Refactor forms into individual files
2024-11-12 14:15:49 +01:00
Roland Geider
a35336f57c
Allow editing the fit in week toggle as well as start and end dates
2024-11-12 13:31:56 +01:00
Roland Geider
05b13d880e
Further work on rendering the new routines
2024-11-07 11:13:58 +01:00
Roland Geider
9ff2bba13a
Load the new DayData entries and the regular data objects from structure endpoint
2024-10-30 23:19:10 +01:00
Roland Geider
7db93f0b6e
Start implementing new flexible routines
2024-10-30 12:14:26 +01:00