Commit Graph

20 Commits

Author SHA1 Message Date
Roland Geider
6750859bfe Move powersync table definitions
These are now together with the "regular" drift definitions, making it
easier to spot any differences that may creep in
2026-03-14 22:32:29 +01:00
Roland Geider
997e4afa99 Add ingredient and license tables 2026-03-14 17:38:38 +01:00
Roland Geider
8ddd964302 Remove old MeasurementProvider 2026-03-14 16:35:45 +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
61e1c241f2 Update measurement tables to use powersync 2026-03-13 16:16:23 +01:00
Roland Geider
f32dec2b08 Merge branch 'master' into feature/offline-mode
# Conflicts:
#	lib/main.dart
#	lib/models/workouts/log.dart
#	lib/models/workouts/session.g.dart
#	lib/providers/exercises.dart
#	lib/providers/gym_state.g.dart
#	lib/providers/wger_base_riverpod.dart
#	lib/screens/dashboard.dart
#	lib/screens/home_tabs_screen.dart
#	lib/widgets/core/app_bar.dart
#	lib/widgets/core/settings.dart
#	lib/widgets/dashboard/calendar.dart
#	lib/widgets/dashboard/widgets/weight.dart
#	lib/widgets/routines/gym_mode/log_page.dart
#	lib/widgets/routines/gym_mode/summary.dart
#	lib/widgets/routines/logs/day_logs_container.dart
#	lib/widgets/routines/logs/exercises_expansion_card.dart
#	pubspec.lock
#	pubspec.yaml
#	test/core/settings_test.dart
#	test/core/settings_test.mocks.dart
#	test/exercises/contribute_exercise_test.mocks.dart
#	test/exercises/exercise_provider_db_test.dart
#	test/exercises/exercise_provider_test.dart
#	test/routine/gym_mode/gym_mode_test.mocks.dart
#	test/routine/routine_logs_screen_test.dart
#	test/routine/routine_logs_screen_test.mocks.dart
#	test/routine/routines_provider_test.mocks.dart
#	test/routine/routines_screen_test.mocks.dart
#	test/weight/weight_provider_test.mocks.dart
#	test/weight/weight_screen_test.mocks.dart
2026-01-19 13:16:55 +01:00
Roland Geider
e639709d24 Recreate generated files 2025-12-02 13:16:53 +01:00
Roland Geider
3905a91bf3 Notes is nullable on the db
It's probably a good idea to change this and simply handle empty strings
2025-11-07 14:16:13 +01:00
Roland Geider
e975eee9f2 Refactor the django powersync connector 2025-11-05 16:51:43 +01:00
Roland Geider
88891582e9 Add tables and providers for weight and repetition units 2025-11-03 16:13:29 +01:00
Roland Geider
9040106939 Rework the base data providers, fix some tests 2025-11-03 15:40:37 +01:00
Roland Geider
eb087e1aca Set correct nullable attributes 2025-10-29 15:28:53 +01:00
Roland Geider
b17f39fffd Set foreign key relationships for the exercise tables 2025-10-28 13:53:34 +01:00
Roland Geider
c60cfbe347 Add tables for workout sessions 2025-10-26 18:18:22 +01:00
Roland Geider
3dc9519445 Move more usages to new exercise provider 2025-10-25 18:10:50 +02:00
Roland Geider
52a3ceda20 Also load the corresponding equipment 2025-10-25 01:10:07 +02:00
Roland Geider
666359155d Use the powersync drift provider to show exercises 2025-10-24 20:52:02 +02:00
Roland Geider
7969376dce Test how feasible it is to load exercises via powersync as well 2025-10-24 01:21:13 +02:00
Roland Geider
8b8c4626eb Powersync seems to be working now 2025-10-23 15:32:21 +02:00
Roland Geider
017cccab18 Start adding drift and using riverpod 2025-10-22 20:49:38 +02:00