Commit Graph

2863 Commits

Author SHA1 Message Date
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
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
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
65cccbe824 Update language list 2025-01-31 16:38:00 +01:00
Roland Geider
8fa75c2aa6 Update goldens 2025-01-31 16:35:48 +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
bfcc793e1c Fix integration tests 2025-01-31 16:21:57 +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
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
69ffdcfbc9 Don't overflow the set representation 2025-01-25 20:06:40 +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
bc841d9af8 Merge remote-tracking branch 'origin/feature/flexible-routines' into feature/flexible-routines 2025-01-25 13:10:28 +01:00
Roland Geider
58d60310e7 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/providers/workout_plans.dart
#	lib/screens/home_tabs_screen.dart
#	pubspec.yaml
2025-01-25 12:50:37 +01:00
Roland Geider
58e7a52e3d Use log levels when logging to console 2025-01-25 12:45:33 +01:00
Roland Geider
ae7ae5dbdc Update Podfile.lock 2025-01-24 21:09:09 +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
ce9c225358 Don't break from the loop immediately 2025-01-24 16:59:41 +01:00
Roland Geider
1e94395599 Replace day list 2025-01-24 15:13:29 +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
dad109d5bd Inject the shared preferences class for easier testing 2025-01-24 13:59:08 +01:00
Roland Geider
5521d929b1 Run pub upgrade 2025-01-23 23:23:59 +01:00
Roland Geider
9d9f276476 Merge branch 'fork/Sangharshdeveloper/feature-theme_customization#687'
# Conflicts:
#	pubspec.lock
2025-01-23 23:23:12 +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
2639fbf29e Update flatpak description to use only allowed markup 2025-01-23 19:36:37 +01:00
Roland Geider
98a02058c9 Remove duplicate translation and video link 1.7.9 2025-01-22 21:47:39 +01:00
Roland Geider
8272747357 Update Gemfile 2025-01-22 21:42:16 +01:00