Roland Geider
95eb0ddb66
Merge PR #1314 : drop legacy pre-2.7 workout session columns
...
Conflicts resolved onto master's datetime_start/datetime_end columns. The
other readers of the old columns go as well: the rebuild in
WorkoutSession.fromDb, which now falls back to now, and the lookup by bare
date in WorkoutLogsRepository.
Closes #1310
2026-11-08 11:55:31 +01:00
Roland Geider
233a3c8312
Regenerate code for freezed 4 and drop field @override
2026-09-26 23:18:36 +02:00
Roland Geider
0602244172
Report the device timezone to the profile
2026-08-23 23:19:38 +02:00
Roland Geider
16bc83c306
Allow users setting up calculated categories
2026-08-20 16:53:10 +02:00
Roland Geider
534d349d19
Read the calculated categories
2026-08-15 15:38:27 +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
pankaj-basnet
48dfcc9c09
refactor(schema): remove legacy pre-2.7 workout session columns
2026-08-12 23:59:03 +05:45
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
df2791a1f7
Keep pre-2.7 measurement rows readable
2026-08-09 18:42:49 +02:00
Roland Geider
82be49c8a0
Add per-category chart settings (trend, average window)
2026-08-05 21:29:31 +02:00
Roland Geider
205548021c
Let the user pick the chart of a measurement category
2026-08-03 00:03:34 +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
45aeda7ac0
Merge branch 'master' into feature/health-sync
...
# Conflicts:
# lib/l10n/app_de.arb
# lib/l10n/app_es.arb
# lib/l10n/app_fr.arb
2026-07-28 22:39:59 +02:00
Roland Geider
db98af0ac7
Make sure the code can work with nullable routines in workout logs
2026-07-17 18:25:22 +02:00
Roland Geider
7ebb97c462
Fix source default, hide health settings section when unavailable
2026-07-17 18:05:51 +02:00
Roland Geider
066d6430d8
Refactor the data model for multi-value categories
...
Measurement categories can optionally point to another category, In practice, this
will just be something like blood pressure since these values only make sense in a
pair. Others can be interesting while combined (heart rate and steps), but are valid
on their own.
2026-07-10 16:18:48 +02:00
Mustafa Senoglu
0a42125285
chore: regenerate database.g.dart for nullable routineId
2026-07-10 12:43:45 +03:00
Roland Geider
42507844d2
Cleanup, translations and small tests
2026-07-09 17:12:51 +02:00
Roland Geider
bad4993226
Merge branch 'feature/health-sync' into feat/healthsync
...
# Conflicts:
# lib/database/powersync/tables/measurements.dart
# lib/features/measurements/models/measurement_category.dart
# lib/features/measurements/widgets/helpers.dart
2026-07-09 16:10:54 +02:00
Roland Geider
18b745f365
Start reworking the sync logic
...
We don't just want to sync the weight entries
2026-07-02 21:45:53 +02:00
Roland Geider
e8951ca8cb
Refactor session models and their use in forms
...
We now either pass the existing workout session to edit, or null if we want
to add a new entry
2026-07-01 10:59:52 +02:00
Roland Geider
6242723a17
Recreate generated files
2026-06-15 21:07:13 +02:00
Roland Geider
30df030e1e
Add converter for date-only fields, otherwise comparisons break
2026-06-14 16:19:02 +02:00
Roland Geider
675fb44c6e
Also properly handle (for now) unused datetime fields
2026-06-05 15:36:19 +02:00
Roland Geider
662ad9befc
Properly handle timezones
2026-06-05 15:17:32 +02:00
Roland Geider
8f562e5d83
Properly handle exercise videos
...
These need to be loaded with mediaUrlBuilderProvider, like the exercise images
2026-05-27 17:22:35 +02:00
Roland Geider
400b21065a
Add brand to the model
2026-05-26 15:15:16 +02:00
Roland Geider
af8ed102eb
Also write to the user profile via powersync
2026-05-22 17:59:16 +02:00
Roland Geider
25b444103f
Correctly load the notes and aliases for exercises
2026-05-20 16:34:21 +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
944b27e38e
Also sync all the license information, even if we don't expose all of that right now
2026-05-15 13:03:16 +02:00
Roland Geider
1ec921faf3
Consistent usage of uuid IDs
...
Now these fields are always nullable on the model and get a value once they
are persisted to the (local) database.
2026-05-03 12:17:23 +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
cf13af1740
Sync the rest of the nutrition tables to powersync
2026-05-01 20:24:26 +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
d6e652f2c9
Sync the ingredient weight units to the local sqlite db
2026-04-30 13:41:58 +02:00
Roland Geider
c5ac06309b
Properly mark columns as nullable
2026-04-30 12:00:05 +02:00
Roland Geider
d135e81d4f
Cache ingredient and exercise images on device
2026-04-30 10:48:20 +02:00
Roland Geider
5bf2dd22ee
Properly load the ingredient images
2026-04-29 20:53:50 +02:00
Roland Geider
680127e139
Sync the base Routine and Nutritional plan entries via powersync
...
This makes sure the lists is always kept current and allows the user to edit
them offline as well. Note that we still kepp the backend's ID here, so no
creation is possible.
2026-04-29 10:03:59 +02:00
Roland Geider
9a4fec8bf3
Refactor the workout session provider
...
The logs are read in the session repository, the logs one is only used
for CRUD operations
2026-04-18 18:19:31 +02:00
Roland Geider
0b9d3d59b9
Move exercise model to new variation structure
2026-04-17 12:34:51 +02:00
Roland Geider
6dea8d5e8f
Merge branch 'master' into feature/offline-mode
2026-04-17 12:32:11 +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
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