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
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
69ffdcfbc9
Don't overflow the set representation
2025-01-25 20:06:40 +01:00
Roland Geider
202349c5bc
Make workout log charts work again
2025-01-25 15:39:51 +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
079db5d5e0
Recreate generated files
2025-01-24 15:07:51 +01:00
Roland Geider
eff176f035
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# lib/main.dart
# lib/models/exercises/exercise.dart
# lib/models/exercises/exercise_api.freezed.dart
# lib/models/workouts/day.g.dart
# lib/models/workouts/session.g.dart
# lib/models/workouts/workout_plan.g.dart
# lib/providers/exercises.dart
# lib/widgets/core/settings.dart
# pubspec.lock
# test/auth/auth_screen_test.mocks.dart
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/gallery/gallery_form_test.mocks.dart
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_categories_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_meal_form_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/other/base_provider_test.mocks.dart
# test/user/provider_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
# test/workout/gym_mode_screen_test.mocks.dart
# test/workout/repetition_unit_form_widget_test.mocks.dart
# test/workout/routine_screen_test.mocks.dart
# test/workout/routines_provider_test.mocks.dart
# test/workout/routines_screen_test.mocks.dart
# test/workout/weight_unit_form_widget_test.mocks.dart
# test/workout/workout_day_form_test.mocks.dart
# test/workout/workout_form_test.mocks.dart
# test/workout/workout_set_form_test.mocks.dart
2025-01-24 15:05:28 +01:00
Roland Geider
86f8b7ae35
Add a third option to the theme mode
...
This allows the user to use the system settings as well, and not always force
light or dark mode in the app. Also move the logic to the UserProvider and
do some light refactoring.
2025-01-23 23:22:50 +01:00
Roland Geider
a770c97573
Add smoke test for the routine edit form
2025-01-21 20:58:57 +01:00
Roland Geider
9ab55a6c83
Save iteration and slot entry id to the logs
2025-01-18 16:46:08 +01:00
Roland Geider
9bb3567835
Add day id to the gym state provider
2025-01-18 15:15:42 +01:00
Roland Geider
f5ab51fd5b
Repetitions are not integers anymore
2025-01-18 13:55:42 +01:00
Roland Geider
392dc695ef
Merge branch 'fork/Jackpkn/fix/gym-mode-state-persistence-riverpod' into feature/flexible-routines
...
# Conflicts:
# lib/widgets/routines/forms.dart
# lib/widgets/routines/gym_mode.dart
2025-01-18 12:28:02 +01:00
sangharshdeveloper
06ca72e0f8
#687 enhancement theme-customization
2025-01-17 22:19:54 +05:30
Roland Geider
5d542c51d9
Use updated name of repetition in API response
...
Also use the same name locally for more consistency
2025-01-14 20:41:40 +01:00
sangharshdeveloper
ced268660b
#687 enhancement theme-customization
2025-01-12 20:48:31 +05:30
Roland Geider
5a39c6c229
Rename some functions, a bit of cleanup
2025-01-10 15:52:26 +01:00
Roland Geider
6e7284e104
Update the routine test data
2025-01-07 21:42:26 +01:00
Roland Geider
6bfcb3ebe9
Round the value of the slider
...
This prevents float values from being sent to the server
2025-01-07 21:02:22 +01:00
Roland Geider
462cc95979
Fix test
2025-01-06 22:01:33 +01:00
Roland Geider
5f89ab4b6f
Add missing max fields to the slot entry form
2025-01-06 20:28:14 +01:00
Jackpkn
fd1ee4295c
fix: improve Gym Mode navigation and state persistence
2025-01-06 21:38:33 +05:30
Roland Geider
1ad59486c2
Start implementing the expanded mode on the slot entry form
2025-01-05 22:49:00 +01:00
Roland Geider
ca6c682483
Remove more unused code
2025-01-05 20:17:26 +01:00
Roland Geider
b66aa7444d
Some polishing, adding missing fields and other QoL
2025-01-05 19:45:02 +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
f6bae10b9b
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# android/app/build.gradle
# lib/l10n/app_ta.arb
# lib/widgets/measurements/charts.dart
# macos/Podfile.lock
# pubspec.lock
# pubspec.yaml
2025-01-05 01:47:54 +01:00
Roland Geider
7afe947566
Replace deprecated withOpacity with withValues
2024-12-17 11:52:41 +01:00
Roland Geider
764f0c2739
Render only up to one decimal place
...
Fixes #695
2024-12-13 12:49:14 +01:00
Roland Geider
0d43333aa4
Update widgets when the provider changes
2024-12-12 20:52:05 +01:00
Roland Geider
04e112d810
Fix some widgets, polishing, renaming
2024-11-20 14:39:17 +01:00
Roland Geider
7794948f28
Cleanup
2024-11-17 01:08:47 +01:00
Roland Geider
aa6468ebc8
Use a slider to select the number of sets
2024-11-17 01:04:20 +01:00
Roland Geider
be28c27fd0
Give feedback to the user when the form is being saved
2024-11-17 00:24:25 +01:00
Roland Geider
8020bd21b6
More polish and i18n work
...
Also make sure that we don't update the routine while editing, since
some of the changes could pull the rug under our feet and felt strange.
Now there's a manual refresh button for the resulting routine
2024-11-16 22:21:27 +01:00
Roland Geider
f7461ab0e9
Polish the crud workflow
2024-11-16 19:50:28 +01:00
Roland Geider
a4f334e73d
Allow deleting slots
2024-11-16 18:10:43 +01:00
Roland Geider
c5f4eec12f
Extract exercise autocompleter to its own widget
2024-11-16 15:16:32 +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
04c6d6c643
Save values to server
2024-11-15 18:03:06 +01:00
Roland Geider
23119e68d5
Allow users to reorder the days and the slots within the days
2024-11-15 16:44:41 +01:00
Roland Geider
277628f329
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# test/weight/weight_screen_test.mocks.dart
2024-11-14 20:30:19 +01:00