918 Commits

Author SHA1 Message Date
Roland Geider
ffc21b00fe Merge branch 'feature/1130-workout-timer' 2026-07-24 13:59:40 +02:00
Roland Geider
44c111376d Allow to configure showing and hiding the workout duration 2026-07-24 13:55:03 +02:00
Roland Geider
ac3b463304 Some cleanup 2026-07-24 13:40:41 +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
Arya
2f60553a99 Add elapsed workout timer and update workout start time handling 2026-07-23 17:13:02 +05:30
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
db98af0ac7 Make sure the code can work with nullable routines in workout logs 2026-07-17 18:25:22 +02:00
Roland Geider
388b403b5d Cleanup some of the new translation keys 2026-07-09 12:45:06 +02:00
Roland Geider
79d663f17f Move gym-mode settings directly into GymModeOptions
I'd say the widget is not big enough to be split up (yet)
2026-07-09 12:01:34 +02:00
Roland Geider
275523f75b Take the repetition unit ID into account while deduping 2026-07-08 17:49:38 +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
8b4587a58c Consolidate ingredient dialogs tests into one file 2026-07-01 23:09:36 +02:00
Roland Geider
6797c04fce Split MealItem tests out of nutritional_plan_model_test.dart 2026-07-01 23:04:28 +02:00
Roland Geider
9df1e3fe35 Split settings_test into notifier and widget tests 2026-07-01 22:59:30 +02:00
Roland Geider
2158075e12 Merge base_provider_extra_test into base_provider_test
Both were testing the same thing
2026-07-01 22:51:01 +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
60c9f67282 Move shared infra to lib/core/ 2026-07-01 20:28:06 +02:00
Roland Geider
c4f5c78459 Move auth UI to lib/features/auth/ 2026-07-01 18:34:24 +02:00
Roland Geider
a46bd22025 Move account feature to lib/features/account/ 2026-07-01 18:28:10 +02:00
Roland Geider
8b929b23c1 Move routines feature to lib/features/routines/ 2026-07-01 18:22:50 +02:00
Roland Geider
33fbe279ca Move nutrition feature to lib/features/nutrition/ 2026-07-01 17:57:49 +02:00
Roland Geider
08fe476e5b Move exercises feature to lib/features/exercises/ 2026-07-01 17:45:43 +02:00
Roland Geider
21ea4dbc54 Move gallery feature to lib/features/gallery/ 2026-07-01 17:30:11 +02:00
Roland Geider
ae513e3566 Move trophies feature to lib/features/trophies/ 2026-07-01 17:21:18 +02:00
Roland Geider
9a393465f3 Move trophies feature to lib/features/trophies/ 2026-07-01 17:09:45 +02:00
Roland Geider
ae81c32a23 Move weight feature to lib/features/weight 2026-07-01 16:55:09 +02:00
Roland Geider
e8951ca8cb Refactor session models and their use in forms
We now either pass the existing workout session to edit, or null if we want
to add a new entry
2026-07-01 10:59:52 +02:00
Roland Geider
b9d326045b Prefill start and end times for lazily created sessions 2026-07-01 10:59:52 +02:00
Roland Geider
bb82e4b75b Add a small lookup table for exercises
This also consolidates some search functions to use getByIdOrNull
2026-06-25 20:20:31 +02:00
Roland Geider
564e25b04c Load the logs from the DB directly
This makes sure the past logs list is updated immediately
2026-06-24 21:10:50 +02:00
Roland Geider
54e0634581 Don't try to load user trophies in the gym mode when offline 2026-06-24 20:25:01 +02:00
Roland Geider
87a433bc97 Fix set-state-error on TimeInputWidget
The widget is read-only, so we don't need to use a controller, it is simply rebuilt when the
user selects a new time
2026-06-19 12:10:07 +02:00
Roland Geider
5da7da9067 Use proper references in comments, where possible 2026-06-19 10:57:27 +02:00
Roland Geider
e5c351a311 Refactor the server version check
This now runs before login, so this also works on the 2.5 -> 2.6 backend change, which introduced
new auth endpoints
2026-06-19 10:39:08 +02:00
Roland Geider
af71cb7e1c Don't abort auth operations if the local keyring (from secure storage) is not available 2026-06-19 10:22:50 +02:00
Roland Geider
9bc0b15c6f Merge pull request #1224 from pankaj-basnet/refactor/nutrition-meals-components
Refactor/nutrition meals components
2026-06-18 10:28:25 +02:00
pankaj-basnet
601be2cfe6 fix(nutrition): decouple MealEditingToolbar visibility from ViewMode
- revert translation changes in charts and cleanup meal logs
- fix for the Meal test
2026-06-18 10:17:21 +05:45
Roland Geider
bfb44c2157 Extract title from html error messages 2026-06-17 21:39:51 +02:00
pankaj-basnet
5c7d4cb201 test(nutrition): update MealWidget test with nutrition provider stub
- Update MealWidget constructor call
- Add interaction steps to reveal ingredients section before testing the add button
2026-06-17 23:45:03 +05:45
Roland Geider
cadb63734f Properly mark the correct official/custom server as the one being used 2026-06-17 17:59:04 +02:00
Roland Geider
1311a59f7e Set the same headers for the auth requests
Not having the content type was tripping up anubis
2026-06-17 17:08:45 +02:00
Roland Geider
f77a4b1792 Use correct weight entries list for the screenshots 2026-06-16 11:36:32 +02:00
Roland Geider
bee80eed69 Also return a list of test trophies for the screenshot tests 2026-06-16 10:58:28 +02:00
Roland Geider
9540a1b958 Move screenshot tests to "/test" folder
This allows us to properly generate the needed mocks, and not import them
from random files
2026-06-16 10:29:31 +02:00
Roland Geider
fbc8ad7b07 Replace the deprecated onReorder with onReorderItem 2026-06-15 21:34:00 +02:00
Roland Geider
138177ef9c Run "dart fix --apply" 2026-06-15 21:25:05 +02:00
Roland Geider
6242723a17 Recreate generated files 2026-06-15 21:07:13 +02:00
Roland Geider
62042bd832 Rename allauth's URLs 2026-06-15 14:11:33 +02:00
Roland Geider
54e97299f9 Consolidate usage of FormSubmitButton 2026-06-14 21:48:41 +02:00