Commit Graph

1241 Commits

Author SHA1 Message Date
Roland Geider
70d6929a5c Count the chart range cutoffs in calendar days 2026-10-27 21:27:20 +01:00
Roland Geider
64ecba31bb Copy the changed objects when replacing an exercise in gym mode
replaceExercise only copied the lists, but changed the contained set
configs, slots and logs in place. These are shared with the cached
routine, so swapping an exercise in gym mode also changed the routine
screens and the session logs until the next reload.
2026-10-26 22:58:29 +01:00
Roland Geider
999ac4b546 Drop the stored workout progress with the local data 2026-10-26 22:39:19 +01:00
Roland Geider
4522f018ad Store the gym mode progress by page key 2026-10-26 22:34:35 +01:00
Roland Geider
d7781845fd Keep exercises added in gym mode across recalculations 2026-10-26 22:25:27 +01:00
Roland Geider
49616f795a Keep the gym mode progress apart from the pages 2026-10-26 21:44:15 +01:00
Roland Geider
1a69a3b471 Keep the progress when reopening gym mode 2026-10-26 21:12:02 +01:00
Roland Geider
e71ec00036 Restart the resume window with every new workout 2026-10-26 21:01:04 +01:00
Roland Geider
f6168422f7 Revert "Ask for confirmation before leaving a running workout"
This reverts commit a7410266a8.

# Conflicts:
#	lib/features/routines/providers/gym_state.dart
#	test/features/routines/screens/gym_mode_test.dart
2026-10-26 20:51:55 +01:00
Roland Geider
87fb853f47 Merge remote-tracking branch 'origin/master' into pr-1280
# Conflicts:
#	lib/features/routines/providers/gym_state.dart
#	lib/features/routines/providers/gym_state_notifier.dart
2026-10-26 20:46:37 +01:00
Roland Geider
6814711fe6 Make it more obvious when an edit takes place
We now show whether the user will add a new entry or edit the last one
2026-10-25 22:19:02 +01:00
Roland Geider
33c577272a Cleanups 2026-10-25 21:55:38 +01:00
Roland Geider
8165b286e9 Keep the sticky set values when correcting an earlier set 2026-10-25 21:49:00 +01:00
Roland Geider
d480823427 Edit a copy when correcting a logged set in gym mode 2026-10-25 21:41:42 +01:00
Roland Geider
58cd06bb4c Restart the rest timer when its set is saved for the first time 2026-10-25 21:36:21 +01:00
Roland Geider
6fdc857381 Don't alert again when returning to an expired rest countdown 2026-10-25 21:32:54 +01:00
Roland Geider
2d129a91f1 Merge branch 'master' into gym-mode-timer-up-next-and-edit-logs
# Conflicts:
#	lib/features/routines/providers/gym_state_notifier.dart
#	lib/features/routines/widgets/gym_mode/log_page.dart
#	lib/features/routines/widgets/gym_mode/timer.dart
#	lib/l10n/app_en.arb
2026-10-25 21:25:46 +01:00
Roland Geider
80375a3e74 Forget sticky set values when a new workout starts 2026-10-25 20:59:16 +01:00
Roland Geider
a4ecc0fe58 Merge branch 'master' into gym-mode-carry-over-logged-values 2026-10-25 20:57:06 +01:00
Roland Geider
f463269dae Prefill the author field 2026-10-24 21:41:13 +02:00
Roland Geider
ba16a84de8 Rework the ingredient form
This makes it more user-friendly and doesn't completely break down when
ingredients had longer named units

Closes #1390
2026-10-24 17:09:43 +02:00
Roland Geider
5dd00d6cb7 Keep the set context when copying a past log in gym mode 2026-10-23 20:34:10 +02:00
Roland Geider
300973742a Merge pull request #1391 from strobeskinzzz/fix/health-platform-totals
Use Health Connect's daily totals for steps, distance and active energy
2026-10-23 20:06:22 +02:00
Roland Geider
d5ef743e48 Fall back to the raw sum when Health Connect reports 0 2026-10-23 19:50:19 +02:00
Roland Geider
09c1160118 Ask Health Connect for daily totals only when records overlap 2026-10-23 19:47:54 +02:00
Roland Geider
bdf4fa7174 Treat raw OSErrors as network errors
On iOS, dart:io fails setting TCP_NODELAY on a connection that was
already reset and throws a plain OSError instead of a SocketException.
The reachability probe rethrew it and the app showed an error dialog.

Closes #1397
2026-10-21 09:24:17 +02:00
Mike Smith
c46a6a5554 Use Health Connect's daily totals for steps, distance and active energy 2026-10-12 08:26:05 +10:00
Roland Geider
546f3d016e Prefill weight and reps inputs in the active locale
Closes #1376
2026-09-27 10:38:33 +02:00
Roland Geider
104b4ee71b Treat a pre-release server as below its release 2026-09-27 01:06:32 +02:00
Roland Geider
233a3c8312 Regenerate code for freezed 4 and drop field @override 2026-09-26 23:18:36 +02:00
Roland Geider
e3114516ca Merge pull request #1347 from pankaj-basnet/feat/upgrade-flutter-1316
upgrade flutter to 3.47 (#1316)
2026-09-26 22:50:31 +02:00
Roland Geider
554a54e31b Finish the material_ui migration 2026-09-26 22:38:40 +02:00
Roland Geider
1b121ff22c Merge branch 'pr-1332-probe' into feat/upgrade-flutter-1316 2026-09-26 22:08:32 +02:00
Roland Geider
eb9032e964 Pass lastAppliedCheckpoint to the test SyncStatus builders 2026-09-26 21:58:34 +02:00
Roland Geider
5bec45cdaf Ignore pointer scrolls on viewports that have no content dimensions yet
Fixes #1338
2026-09-06 17:26:40 +02:00
Roland Geider
31783745f2 Ask the probe for a body before treating a 403 as a rejection 2026-09-06 16:00:57 +02:00
Roland Geider
25e3e6485e Anchor the access token lifetime to the local clock 2026-09-06 15:51:18 +02:00
Roland Geider
c46763ffd0 Renew an expired access token before the first-time probe 2026-09-06 15:51:18 +02:00
Roland Geider
e701519d8f Keep the session through a failed or transient token refresh 2026-09-06 15:48:13 +02:00
Roland Geider
48dc290224 Renew an expired token instead of dropping the upload 2026-09-06 15:48:13 +02:00
Roland Geider
5c52b3481b Improve semver checks for min server version 2026-09-06 15:26:10 +02:00
Roland Geider
2d9b8cadb6 Reorder imports
dart fix --apply --code=directives_ordering
2026-09-03 20:42:06 +02:00
pankaj-basnet
5ab92f73cb test: align test imports for material_ui package usage 2026-09-01 21:30:57 +05:45
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
5a8e43dec3 Keep the health sync guard off the state others reset 2026-08-29 14:48:41 +02:00
Roland Geider
ad8d8b0a8f Report a rejected upload once per refusal, not once per row 2026-08-29 14:45:28 +02:00
Roland Geider
7b0bf9b2b8 Keep the stored row when a measurement category id is already taken 2026-08-29 14:44:44 +02:00
Roland Geider
f826a52565 Fix test 2026-08-28 11:54:15 +02:00
Roland Geider
9e9f2b1fbf Time out hanging token fetches instead of freezing the sync 2026-08-28 10:48:22 +02:00