Commit Graph

151 Commits

Author SHA1 Message Date
Roland Geider
79a8c3e306 Remove the weight screenshots, that can be seen with the measurements 2026-08-20 22:23:09 +02:00
Roland Geider
fdbbdfc1d3 Merge PR #1260 (health sync) for 2.7 integration testing
# Conflicts:
#	lib/core/consts.dart
#	lib/core/network/auth_notifier.g.dart
#	lib/l10n/app_en.arb
#	pubspec.yaml
#	test/core/validators_test.mocks.dart
#	test/features/routines/providers/routines_repository_test.mocks.dart
#	test/screenshots/screenshots_03_gym_mode.dart
2026-08-13 14:22:32 +02:00
Roland Geider
8fb4b12652 Rename the session times to datetimeStart and datetimeEnd 2026-08-10 17:53:03 +02:00
Roland Geider
2fbe9d59e1 Merge remote-tracking branch 'origin/master' into fix/midnight-workout-session-split--backend-2379
# Conflicts:
#	lib/features/routines/models/session.dart
#	lib/features/routines/providers/gym_state.dart
#	lib/features/routines/providers/workout_logs_repository.dart
#	lib/features/routines/widgets/forms/session.dart
#	lib/features/routines/widgets/gym_mode/session_page.dart
2026-08-10 17:16:55 +02:00
Roland Geider
520504a1b2 Merge branch 'master' into feature/health-sync 2026-08-10 15:13:43 +02:00
Roland Geider
6536f2ce26 Consolidate the test fixtures and stop leaking the test surface size 2026-08-10 12:29:14 +02:00
Roland Geider
62f929c0ce Rebuild the screenshot scene for the tile grid 2026-08-08 17:35:16 +02:00
Roland Geider
473ffbe235 Drop entries from the measurement category model 2026-08-06 22:09:38 +02:00
Roland Geider
f21731735d Update test data for screenshot tests 2026-07-31 19:33:42 +02:00
Roland Geider
6d0352a42c Track the entry unit in extra_data and convert on display 2026-07-30 18:54:13 +02:00
Roland Geider
b86c1e7e0e Store body weight in the official measurements category 2026-07-30 17:28:01 +02:00
Roland Geider
b6c83ff37f Rename files so they match the ones they test 2026-07-17 17:38:50 +02:00
pankaj-basnet
5c129bbb7d test(measurements): add GroupMeasurementEntryForm widget tests and addGroupEntries notifier unit tests 2026-07-13 15:49:47 +05:45
Roland Geider
3fc33e1acc Add multi-value measurements to the test data 2026-07-11 00:37:10 +02:00
Roland Geider
60c9f67282 Move shared infra to lib/core/ 2026-07-01 20:28:06 +02:00
Roland Geider
a46bd22025 Move account feature to lib/features/account/ 2026-07-01 18:28:10 +02:00
Roland Geider
8b929b23c1 Move routines feature to lib/features/routines/ 2026-07-01 18:22:50 +02:00
Roland Geider
33fbe279ca Move nutrition feature to lib/features/nutrition/ 2026-07-01 17:57:49 +02:00
Roland Geider
08fe476e5b Move exercises feature to lib/features/exercises/ 2026-07-01 17:45:43 +02:00
Roland Geider
21ea4dbc54 Move gallery feature to lib/features/gallery/ 2026-07-01 17:30:11 +02:00
Roland Geider
ae513e3566 Move trophies feature to lib/features/trophies/ 2026-07-01 17:21:18 +02:00
Roland Geider
9a393465f3 Move trophies feature to lib/features/trophies/ 2026-07-01 17:09:45 +02:00
Roland Geider
ae81c32a23 Move weight feature to lib/features/weight 2026-07-01 16:55:09 +02:00
Roland Geider
bee80eed69 Also return a list of test trophies for the screenshot tests 2026-06-16 10:58:28 +02:00
Roland Geider
138177ef9c Run "dart fix --apply" 2026-06-15 21:25:05 +02:00
Roland Geider
b2250fa8c5 Merge remote-tracking branch 'origin/master' into feature/offline-mode
# Conflicts:
#	lib/widgets/nutrition/ingredient_dialogs.dart
#	lib/widgets/nutrition/widgets.dart
2026-05-27 11:08:31 +02:00
Anja Klipic
8b5a381694 feat: displays brand name underneath title in ingredient details 2026-05-23 08:14:36 +02:00
Anja Klipic
06e83a4fdc feat: adds brand field to ingredient model 2026-05-22 21:46:28 +02:00
Roland Geider
af8ed102eb Also write to the user profile via powersync 2026-05-22 17:59:16 +02:00
Roland Geider
51730e956e Make more widgets online-aware 2026-05-22 16:49:59 +02:00
Roland Geider
f8187b293f Cleanup exercise models
Save the dependant object (such as language), and not the ID as well as the object.
2026-05-20 16:10:27 +02:00
Roland Geider
130232ead8 Remove null assertions where not needed 2026-05-08 10:58:40 +02:00
Roland Geider
c1dccbd822 Make the "impression" in workout session an enum
This is cleaner and simplifies a handful of places
2026-05-03 12:17:23 +02:00
Roland Geider
d6affe4036 Sync the rest of the nutrition tables with powersync 2026-05-02 12:36:08 +02:00
Roland Geider
e56d5a8861 Add missing tests for the new repositories and states 2026-05-01 19:03:28 +02:00
Roland Geider
209ab7cbbe Add gallery sync tables 2026-05-01 15:25:31 +02:00
Roland Geider
d1f6fc2dfe Sync nutritional logs 2026-04-30 18:10:02 +02:00
Roland Geider
40c3bbc95c Use the workout session and logs from the current routine in summary.dart
This data is now always current from powersync
2026-04-29 12:59:34 +02:00
Roland Geider
9c531a7799 Merge branch 'master' into feature/offline-mode
# Conflicts:
#	integration_test/1_dashboard.dart
#	integration_test/3_gym_mode.dart
#	ios/Podfile.lock
#	lib/database/exercises/exercise_database.dart
#	lib/database/exercises/type_converters.dart
#	lib/models/exercises/exercise.dart
#	lib/models/exercises/exercise.g.dart
#	lib/models/exercises/exercise_api.dart
#	lib/models/exercises/exercise_api.freezed.dart
#	lib/models/exercises/exercise_api.g.dart
#	lib/models/exercises/translation.dart
#	lib/models/exercises/translation.g.dart
#	lib/models/exercises/variation.dart
#	lib/providers/exercises.dart
#	lib/widgets/add_exercise/steps/step_1_basics.dart
#	lib/widgets/add_exercise/steps/step_2_variations.dart
#	lib/widgets/exercises/exercises.dart
#	lib/widgets/measurements/forms.dart
#	lib/widgets/routines/forms/slot.dart
#	pubspec.lock
#	pubspec.yaml
#	test/core/settings_test.mocks.dart
#	test/exercises/contribute_exercise_image_test.mocks.dart
#	test/exercises/contribute_exercise_test.mocks.dart
#	test/exercises/exercise_provider_load_test.dart
#	test/exercises/exercise_provider_test.dart
#	test/exercises/exercises_detail_widget_test.dart
#	test/exercises/exercises_detail_widget_test.mocks.dart
#	test/exercises/model_exercise_test.dart
#	test/measurements/measurement_entries_screen_test.dart
#	test/routine/gym_mode/gym_mode_test.dart
#	test/routine/gym_mode/gym_mode_test.mocks.dart
#	test/routine/routines_provider_test.mocks.dart
#	test/weight/weight_screen_test.mocks.dart
#	test/widgets/routines/gym_mode/log_page_test.mocks.dart
#	test_data/measurements.dart
2026-04-17 12:23:56 +02:00
Roland Geider
d343e5cdf9 Add missing nutriscore info to the ingredient model
Also, make the vegan and vegetarian flags nullable, since not all products
have this information at all
2026-04-14 00:10:27 +02:00
Roland Geider
07500bd9d0 Update exercise test data 2026-04-13 23:27:17 +02:00
Roland Geider
301c2e42ce Merge branch 'feature/add-warmup-type' into feature/version-2.5
# Conflicts:
#	test/core/validators_test.mocks.dart
2026-04-10 10:35:10 +02:00
Roland Geider
6e76cf6d66 Merge branch 'master' into fork/sg172003/feature/measurement-datetime-field 2026-04-09 23:49:13 +02:00
Roland Geider
8a19e398b0 Add time information to test measurement entries, update tests 2026-04-09 23:45:57 +02:00
Roland Geider
fee01c6163 Fix screenshot tests 2026-03-30 00:04:32 +02:00
Roland Geider
c916136a8f Update measurement models
The backend now saves uses a UUID for the IDs as well, which we can now use directly
2026-03-15 15:43:29 +01:00
Roland Geider
b106090004 Move language models to "core" 2026-03-14 17:38:02 +01:00
Roland Geider
e20de66cf0 Fix and cleanup some tests 2026-03-14 13:40:21 +01:00
Roland Geider
7221109a64 Revert to using ID and UUID as names for the fields
This is more explicit and seems like a better way to do it.
2026-03-13 22:58:11 +01:00
Roland Geider
7926a7da7e Start working on new drift based provider for measurements 2026-03-13 17:23:25 +01:00