Commit Graph

80 Commits

Author SHA1 Message Date
Roland Geider
62e06d63a4 Share the quick steppers and the date-time pair 2026-08-07 22:05:48 +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
d517e1f9cf Drop the "count" unit from step categories 2026-08-07 17:04:11 +02:00
Roland Geider
3c4cc4e770 Move the chart maths out of the widgets
These changes mirror the structure in the react app
2026-08-07 11:12:46 +02:00
Roland Geider
13e11971b1 Give every health metric its own watermark 2026-08-06 22:45:46 +02:00
Roland Geider
473ffbe235 Drop entries from the measurement category model 2026-08-06 22:09:38 +02:00
Roland Geider
52eab30a86 Read the measurement lists a page at a time 2026-08-06 18:18:14 +02:00
Roland Geider
c02989436e Keep the measurement screens on screen while a range loads 2026-08-06 14:38:27 +02:00
Roland Geider
82be49c8a0 Add per-category chart settings (trend, average window) 2026-08-05 21:29:31 +02:00
Roland Geider
cecdd1c317 Read durations in hours and minutes 2026-08-04 22:09:26 +02:00
Roland Geider
e68bde2c9c Merge branch 'master' into feature/health-sync
# Conflicts:
#	lib/main.dart
#	macos/Flutter/GeneratedPluginRegistrant.swift
#	test/features/account/widgets/settings_test.dart
2026-08-04 13:59:53 +02:00
Roland Geider
5c77a99bfc Apply dynamic color to the high contrast themes too 2026-08-04 12:19:52 +02:00
Roland Geider
762b679eac Only offer dynamic color where the platform supports it 2026-08-04 12:10:34 +02:00
Roland Geider
a1f4844f6c Replace more hard coded colors with theme generated ones 2026-08-04 11:52:29 +02:00
Roland Geider
1af9471ef4 Replace more hard coded colors with theme generated ones 2026-08-04 11:41:17 +02:00
Roland Geider
07aa325ec5 Generate chart colors from the scheme instead of a fixed palette 2026-08-04 11:24:10 +02:00
Roland Geider
ec20dd45de Use theme colors instead of fixed ones 2026-08-04 00:01:39 +02:00
Praharsha2007
d2dacb116d feat : implemented dynamic colour support 2026-08-03 21:15:00 +05:30
Roland Geider
878d34cc11 Read only the body weight category, not every category 2026-08-03 13:12:07 +02:00
Roland Geider
e2498123ad Stop an empty metric from forcing a full read every time 2026-08-03 10:38:20 +02:00
Roland Geider
6d1b7799c8 Dissolve WeightOverview into EntriesList 2026-08-02 19:48:21 +02:00
Roland Geider
6cabbebb1b Move the body weight provider next to the measurements 2026-08-02 19:24:07 +02:00
Roland Geider
78a0d9f3a1 Ask the health platform for permissions per type 2026-08-01 14:45:33 +02:00
Roland Geider
59d8b093da Show the health sync status and allow syncing manually 2026-07-31 20:50:50 +02:00
Roland Geider
d2ad8e9ef4 Remove unused strings 2026-07-31 20:23:18 +02:00
Roland Geider
5178bb5732 Let a measurement chart draw several named series 2026-07-31 15:57:07 +02:00
Roland Geider
d1c7333b65 Bump app version and min required server version 2026-07-31 13:53:30 +02:00
Roland Geider
ea8c2a851a Cleanups 2026-07-30 21:00:16 +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
41623e3d55 Merge remote-tracking branch 'origin/master' into feature/health-sync 2026-07-30 16:31:11 +02:00
Roland Geider
914e9ac575 Surface involuntary logouts and revalidate the session on app resume
This makes it obvious why users are redirected to the auth screen, since the
snackbar could be easily missed.

See #1265
2026-07-30 15:47:04 +02:00
Roland Geider
b732b619c2 Describe updated behaviour in comments 2026-07-30 15:02:04 +02:00
Roland Geider
1a58dd8f71 Warn in the settings while certificates are not being verified 2026-07-30 14:23:37 +02:00
Roland Geider
3a57479585 Scope the self-signed setting to one host and apply without a restart 2026-07-30 13:57:41 +02:00
Roland Geider
41378988d0 Merge branch 'master' into feat/allow-self-signed-certs
# Conflicts:
#	lib/core/app_settings_notifier.dart
#	lib/core/app_settings_notifier.g.dart
#	lib/core/http_overrides.dart
#	lib/features/auth/widgets/auth_card.dart
#	lib/main.dart
#	test/features/account/widgets/settings_test.dart
2026-07-30 13:20:33 +02:00
Roland Geider
30cc2fc959 Improve logging 2026-07-29 17:42:31 +02:00
Roland Geider
630d4864d8 Cleanup 2026-07-29 17:28:47 +02:00
Roland Geider
9e446e0b94 Allow users to submit issues to github with full stackstrace and sync debug info 2026-07-29 17:23:09 +02:00
Roland Geider
718fa05d1b Add sync diagnostics to the "submit to github" error dialog 2026-07-29 17:06:05 +02:00
Roland Geider
30f44ad471 Show more sync information on the sync status dialog
Also, make it stateful so it shows live data for sync queue size, etc.
2026-07-29 16:50:14 +02:00
Roland Geider
d72a0ccf93 Allow users to force-reconnect to the powersync service 2026-07-29 16:22:30 +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
3ee512fd6c More intelligent powersync service URL handling
When the server-provided powersync URL is not reachable, try using $server-url/ps/.
This should help with self-hosted instances where SITE_URL points to localhost
or other similar misconfigurations

See https://github.com/wger-project/wger/issues/2432
2026-07-28 15:06:34 +02:00
Roland Geider
b277e81088 Detect a sync stream that is blocked on the network path
This might help debugging when an ad-blocker, vpn or similar interferes with
the connections to the sync service

See #1271
2026-07-23 14:56:29 +02:00
Roland Geider
ed623f9108 Improve PowerSync sync diagnostics and token expiry handling 2026-07-23 13:58:06 +02:00
Roland Geider
938001b152 Optimistically set the online status
This avoids having the app register as "offline" after bringing it back from
the background
2026-07-17 21:31:29 +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
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
ee084f1000 Merge branch 'pr-1156' into feature/health-sync 2026-07-02 21:17:16 +02:00