Commit Graph
69 Commits
Author SHA1 Message Date
Roland Geider 251689cd31 Rebuild the measurements overview as a tile grid 2026-08-08 16:44:10 +02:00
Roland Geider d6de435c6b Make the measurements a tab of their own, led by the weight 2026-08-07 21:46:23 +02:00
Roland Geider 1fd6b505a8 Replace the 30-day chart with a one-month range 2026-08-05 21:54:03 +02:00
Roland Geider 82be49c8a0 Add per-category chart settings (trend, average window) 2026-08-05 21:29:31 +02:00
Roland Geider 4b356f8bc2 Pick the metric instead of typing it into a form 2026-08-03 17:48:02 +02:00
Roland Geider 2d74480baa Read only the entries the range charts 2026-08-02 14:47:07 +02:00
Roland Geider db2c2c5d7c Derive the ids of typed measurement categories 2026-08-01 13:04:31 +02:00
Roland Geider 4f7fde6c4c Tell the user when the health platform withholds its data 2026-07-31 21:22:53 +02:00
Roland Geider 59d8b093da Show the health sync status and allow syncing manually 2026-07-31 20:50:50 +02:00
Roland Geider 458b3d5be4 Show the weight development on the nutrition plan detail screen 2026-07-31 18:39:18 +02:00
Roland Geider 41ceee9307 Import resting heart rate 2026-07-31 14:38:29 +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 44c111376d Allow to configure showing and hiding the workout duration 2026-07-24 13:55:03 +02:00
Roland Geider d8408aa75d Convert HealthSyncState to freezed 2026-07-17 18:05:51 +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
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 388b403b5d Cleanup some of the new translation keys 2026-07-09 12:45:06 +02:00
Roland Geider 569c51c98a Fix setLogScopeWeeks
We now pass clearLogScopeWeeks so that selecting "current routine" actually
resets the scope instead of keeping the previous week count
2026-07-08 17:00:41 +02:00
Roland Geider ee084f1000 Merge branch 'pr-1156' into feature/health-sync 2026-07-02 21:17:16 +02:00
Roland Geider 434ec11fed Localize the date-range form validators
The translations were taken from the react repo
2026-07-01 22:30:30 +02:00
Roland Geider 6242723a17 Recreate generated files 2026-06-15 21:07:13 +02:00
Roland Geider 0d3d7d7cba Remove unused translation keys 2026-06-04 17:25:34 +02:00
Roland Geider 68428a053e Wipe the local DB only on a real user switch 2026-06-04 16:53:01 +02:00
Roland Geider 6436226a9e Remove network info dashboard widget
This is not really needed anymore since most parts of the application can be used
offline, and the ones that don't are marked.
2026-05-25 19:48:12 +02:00
Roland Geider 3204df14ef Properly filter the ingredient list 2026-05-25 17:01:26 +02:00
Roland Geider 1f55069b97 Don't rebuild on every keystroke 2026-05-25 15:15:58 +02:00
Roland Geider ea3087792c Merge branch 'feature/allauth' into feature/offline-mode 2026-05-22 22:30:45 +02:00
Roland Geider fe5c7bb0ef Regenerate build files 2026-05-22 20:18:49 +02:00
Roland Geider 99f54a830d Regenerate build files 2026-05-22 20:11:23 +02:00
Roland Geider 6188175c1a Add 2fa login screen 2026-05-22 20:08:44 +02:00
Roland Geider 87a40fd4e6 Switch the pasted-token field from DRF tokens to refresh tokens 2026-05-22 20:08:43 +02:00
Roland Geider af8ed102eb Also write to the user profile via powersync 2026-05-22 17:59:16 +02:00
Roland Geider bf9916adf9 Merge remote-tracking branch 'origin/master' into feature/offline-mode
# Conflicts:
#	ios/Podfile.lock
#	lib/l10n/app_en.arb
#	lib/main.dart
#	lib/providers/user.dart
#	lib/widgets/core/settings.dart
#	pubspec.yaml
#	test/core/settings_test.dart
#	test/core/settings_test.mocks.dart
#	test/user/provider_test.dart
2026-05-20 16:55:17 +02:00
Roland Geider f4c8db73ee Properly use mutable objects 2026-05-08 12:34:19 +02:00
Roland Geider 39eaf9abe0 Make the linter happy 2026-05-07 21:42:23 +02:00
Roland Geider 395eb58cbd Merge remote-tracking branch 'origin/master' into feature/offline-mode 2026-05-07 14:16:58 +02:00
Roland Geider c39c418d37 Merge master 2026-05-03 19:15:21 +02:00
Roland Geider 164d553fde Improve the exercise search autocompleter
Closes #1182
Co-authored-by: Pankaj Basnet <165250380+pankaj-basnet@users.noreply.github.com>
2026-05-03 17:54:07 +02:00
Roland Geider 9f365f8069 Consolidate ingredient search methods into the ingredient repo 2026-05-01 12:27:49 +02:00
Roland Geider 350561101b Be a bit smarter about contructing the absolute URL for images 2026-04-30 10:49:26 +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 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 40dbe842cd Move the variation to a field in the exercise 2026-04-13 12:58:17 +02:00
Roland Geider 61e1c241f2 Update measurement tables to use powersync 2026-03-13 16:16:23 +01:00
Roland Geider c87d3825b4 Merge branch 'master' into feature/offline-mode
# Conflicts:
#	lib/l10n/app_en.arb
#	lib/models/workouts/log.dart
#	lib/models/workouts/weight_unit.dart
#	lib/providers/exercises.dart
#	lib/providers/gym_log_state.g.dart
#	lib/providers/routines.dart
#	lib/widgets/routines/forms/reps_unit.dart
#	lib/widgets/routines/forms/weight_unit.dart
#	lib/widgets/routines/gym_mode/log_page.dart
#	macos/Flutter/GeneratedPluginRegistrant.swift
#	pubspec.lock
#	pubspec.yaml
#	test/core/settings_test.mocks.dart
#	test/core/validators_test.mocks.dart
#	test/exercises/contribute_exercise_test.mocks.dart
#	test/exercises/exercise_provider_db_test.dart
#	test/exercises/exercises_detail_widget_test.mocks.dart
#	test/routine/gym_mode/gym_mode_test.mocks.dart
#	test/routine/repetition_unit_form_widget_test.dart
#	test/routine/routines_provider_test.mocks.dart
#	test/routine/routines_screen_test.mocks.dart
#	test/routine/weight_unit_form_widget_test.dart
#	test/weight/weight_provider_test.mocks.dart
#	test/weight/weight_screen_test.mocks.dart
#	test/widgets/routines/gym_mode/log_page_test.mocks.dart
#	test_data/routines.dart
2026-03-12 14:23:11 +01:00
Roland Geider 885d88180b Refactor ingredient filter provider
No need to hard code the preferences in main
2026-03-11 15:39:38 +01:00