Commit Graph
3174 Commits
Author SHA1 Message Date
Roland Geider f2e29cf295 Remove the legacy SharedPreferences migration
This was introduced in 1.8.1 and is not needed anymore

Closes #774
2026-11-08 19:12:26 +01:00
Roland Geiderandjay-sharmaa 44d627c9bc Let the measurement entry list fill the screen
Closes #1002

Co-authored-by: jay-sharmaa <sjaysharma00@gmail.com>
2026-11-08 18:56:12 +01:00
Roland Geider 95eb0ddb66 Merge PR #1314: drop legacy pre-2.7 workout session columns
Conflicts resolved onto master's datetime_start/datetime_end columns. The
other readers of the old columns go as well: the rebuild in
WorkoutSession.fromDb, which now falls back to now, and the lookup by bare
date in WorkoutLogsRepository.

Closes #1310
2026-11-08 11:55:31 +01:00
Roland Geider 9d8b7444ac Commit missing file 2026-11-07 17:46:00 +01:00
Roland Geider e4bc4c1f34 Allow editing and deleting imported measurement entries 2026-11-04 21:36:51 +01:00
Roland Geider 3e45b04f31 Use plural forms for the remaining counted strings 2026-11-04 21:05:34 +01:00
Roland Geider f55c6f2293 Merge pull request #1408 from LukeSekai/fix/plural-count-messages
Preserve numeric counts in plural fallback messages
2026-11-04 20:16:26 +01:00
Roland Geider 4fd4644908 Warn against adding personal exercises 2026-11-04 19:54:35 +01:00
Luke Gabriel R. Arrieta 60ed8a0509 Preserve numeric counts in plural fallback messages
Use the numeric argument in grammatical one branches because target-locale rules can select them for 21 and larger counts. Keep exact-number wording and add relative-date and distribution widget regressions.
2026-11-03 08:32:20 +08:00
Roland Geider 7239cff325 Require 120 characters and 15 words for exercise descriptions 2026-10-31 00:10:51 +01:00
Roland Geider 1759d9c03d Replace unmaintained package 2026-10-30 20:14:17 +01:00
Roland Geider 6aa16f90e9 Drop unused parameter 2026-10-30 19:33:00 +01:00
Roland Geider ca698e5bf4 Switch the workout notification at the rest end with the alert off 2026-10-30 16:18:43 +01:00
Roland Geider 18eb5f55ad Ask for the notification permission when switching a notification on 2026-10-30 16:11:24 +01:00
Roland Geider 746628db14 Skip the notification setup on platforms without notifications 2026-10-30 16:05:27 +01:00
Roland Geider 21da74fe01 Merge master into feature/gym-notifications 2026-10-29 21:03:02 +01:00
Roland Geider f6ee298a12 Read the sticky set values from the logs in the database 2026-10-29 20:03:02 +01:00
Roland Geider 64c3c46e53 Merge branch 'pr-1280'
# Conflicts:
#	lib/features/routines/providers/gym_state_notifier.g.dart
2026-10-29 19:48:08 +01:00
Roland Geider bf82e4c343 Update comments 2026-10-29 19:46:53 +01:00
Roland Geider ce66da762b Restore the workout progress even if its logs can't be read 2026-10-27 21:35:21 +01:00
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 d7498bc18f Regenerate code after the json_serializable and mockito bumps 2026-10-26 22:48:24 +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 0c5dc0186f Bind the preferences helper to the current platform store
A test installing a fresh in-memory store in setUp still read and wrote
the store of the first test, so prefs leaked from one test into the
next.
2026-10-26 20:58:39 +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 6fb1615da1 Use the server's short set text in notification
If the field is not available, fall back to the regular one, which is
a bit longer and includes RiRs, etc.
2026-10-26 20:28:40 +01:00
Roland Geider 9796370600 Offer "+30 s" in the iOS rest alarm 2026-10-26 16:43:05 +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 deed86606a Drop the id and session restore when re-saving a logged set
The form's log always carries both now: editLog copies them and
copyValuesFrom keeps them.
2026-10-25 21:44:27 +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 43cf37efcf Shorten help string and translate 2026-10-25 21:11:53 +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 f511d99a51 Build the set values in the notification locally
These are shorter so they fit in the quick-actions buttons
2026-10-25 20:53:17 +01:00
Roland Geider c908381d01 Improve notification ux
We now show the next set only once the rest is over, which makes more
sense and is the way the app behaves.
2026-10-25 18:30:57 +01:00
Roland Geider 768499c015 Let the plate hint span the full width in gym mode 2026-10-25 17:41:50 +01:00
Roland Geider c738ab54a8 Offer recent logs as quick logs in the notification 2026-10-25 17:39:03 +01:00
Roland Geider 5d8ba32bb1 Update translations 2026-10-25 16:46:37 +01:00