Commit Graph

40 Commits

Author SHA1 Message Date
Roland Geider
554a54e31b Finish the material_ui migration 2026-09-26 22:38:40 +02:00
pankaj-basnet
f7930ce68b fix: remove material_ui imports where not needed 2026-09-01 21:12:14 +05:45
pankaj-basnet
fee0079dc9 material ui: post-flutter-3.47 imports, dart fix applied 2026-09-01 21:08:51 +05:45
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
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
pankaj-basnet
5ff9d259d3 feat(charts): add smoothed trendline to measurement charts
- Implement centered moving average trendline in charts.dart.
- Update MeasurementChartWidgetFl to render trendline bar data.
- Integrate smoothedTreadline logic into metric chart builder.

refactor(db): implement MetricType Drift converter
- Add MeasurementMetricTypeConverter to map enum to SQLite text.
- Update MeasurementCategoryTable to use the new converter.
2026-07-04 19:49:13 +05:45
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
ae81c32a23 Move weight feature to lib/features/weight 2026-07-01 16:55:09 +02:00
Roland Geider
30df030e1e Add converter for date-only fields, otherwise comparisons break 2026-06-14 16:19:02 +02:00
Roland Geider
662ad9befc Properly handle timezones 2026-06-05 15:17:32 +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
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
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
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
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
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
88891582e9 Add tables and providers for weight and repetition units 2025-11-03 16:13:29 +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