Commit Graph

19 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
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
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
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
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
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
8b929b23c1 Move routines feature to lib/features/routines/ 2026-07-01 18:22:50 +02:00
Roland Geider
08fe476e5b Move exercises feature to lib/features/exercises/ 2026-07-01 17:45:43 +02:00
pankaj-basnet
13218a2dd6 feat(database): upgrade session time tracking to full DateTime
Refactors WorkoutSession storage from TimeOfDay to DateTime to enable accurate cross-midnight session tracking.
- Adds DateTimeTextConverter to handle ISO8601 serialization/deserialization.
- Updates WorkoutSessionTable to use the new DateTime converter.
- Refactors WorkoutLogRepository to use UTC ISO8601 strings for time range queries in Drift.
- Improves lazy session creation logic to handle closed vs. open session states.
2026-07-01 20:07:12 +05:45
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
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
c60cfbe347 Add tables for workout sessions 2025-10-26 18:18:22 +01:00