Roland Geider
dc5bd1e975
Consolidate localized number edit logic into its own widgets
2026-05-21 00:11:40 +02:00
Roland Geider
c411e8949a
Consolidate time and date picking logic into their own widgets
...
This makes it easier to fix things like localization, etc. in one place
2026-05-20 23:59:14 +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
25b444103f
Correctly load the notes and aliases for exercises
2026-05-20 16:34:21 +02:00
Roland Geider
f8187b293f
Cleanup exercise models
...
Save the dependant object (such as language), and not the ID as well as the object.
2026-05-20 16:10:27 +02:00
Roland Geider
99d8d2cd22
Remove unused test fixtures
...
All these objects are now synced via powersync
2026-05-20 14:24:52 +02:00
Roland Geider
0674066f12
Remove unused code and mocks
2026-05-20 14:19:45 +02:00
Roland Geider
cbf6884a30
Update the online connectivity gates
...
Some of these models can now be edited completely locally, others only partly
(e.g. the gallery entries can only be created online)
2026-05-20 14:14:00 +02:00
Pawel Haracz
af2d4b4191
feat(language): implement language switcher functionality and tests
2026-05-16 23:52:46 +02:00
Roland Geider
944b27e38e
Also sync all the license information, even if we don't expose all of that right now
2026-05-15 13:03:16 +02:00
Roland Geider
f4c8db73ee
Properly use mutable objects
2026-05-08 12:34:19 +02:00
Roland Geider
130232ead8
Remove null assertions where not needed
2026-05-08 10:58:40 +02:00
Roland Geider
39eaf9abe0
Make the linter happy
2026-05-07 21:42:23 +02:00
Roland Geider
8e05d3ab10
Fix linting problems
2026-05-07 17:38: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
89797c4470
Merge pull request #1189 from umaidshahid/feature/930-validate-language-on-step-continue
...
Implement server-side language validation on exercise description steps
2026-05-07 13:23:03 +02:00
Roland Geider
34b8989e5c
Add some more tests, some cleanup
2026-05-07 13:08:48 +02:00
Roland Geider
c93f03fa0b
Replace pumpAndSettle with pump where possible
2026-05-07 12:27:33 +02:00
Roland Geider
1119d8bc4a
Merge pull request #1186 from aria-tec/master
...
feat(android): implement Android 13 per-app language support (#550 )
2026-05-07 11:31:32 +02:00
Roland Geider
e22f7ebbe3
Fix locale resolution logic
...
The previous logic didn't consult the app's supportedLocales. For the Android 13 per-app
picker this was fine (the user picked a locale that's also in `locales_config.xml`), but
for users whose primary locale wasn't in the supportedLocales list but whose secondary
one *was*, the app would fall through to English instead of honoring the secondary
2026-05-07 11:23:48 +02:00
Umaid Shahid
f62c6b2c89
Implement server-side language validation on exercise description steps
...
Closes #930 . The validateLanguage stub in AddExerciseProvider was making
the API call but ignoring the response and always returning false. This
wires it up properly: the method now returns null on success or the
server's error message on a language mismatch (caught from the 400
WgerHttpException). The stepper's onStepContinue is now async-aware for
steps 2 (Description) and 3 (Translation) — it calls validateLanguage
after form validation passes, blocks navigation, and displays the error
inline if the check fails. Mocks regenerated to reflect the return type
change from Future<bool> to Future<String?>.
2026-05-04 00:58:29 +02:00
Roland Geider
c39c418d37
Merge master
2026-05-03 19:15:21 +02:00
Roland Geider
390dadcdf0
Cleanup
2026-05-03 18:21:54 +02:00
AlexisBirling3
7fb64b2925
shortens the displayed error message and adds link to doc
2026-05-03 18:12:33 +02:00
AlexisBirling3
1cde7f3c81
adds tests for the sanity check helper
2026-05-03 18:12:33 +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
2ce3cc223c
Cleanup
2026-05-03 12:37:16 +02:00
Roland Geider
1249036cce
Properly update routine data
...
Since this happens in the backend only, we need to refetch everything, when
the user edits one of the routine's models
2026-05-03 12:17:23 +02:00
Roland Geider
1ec921faf3
Consistent usage of uuid IDs
...
Now these fields are always nullable on the model and get a value once they
are persisted to the (local) database.
2026-05-03 12:17:23 +02:00
Roland Geider
c1dccbd822
Make the "impression" in workout session an enum
...
This is cleaner and simplifies a handful of places
2026-05-03 12:17:23 +02:00
Roland Geider
d6affe4036
Sync the rest of the nutrition tables with powersync
2026-05-02 12:36:08 +02:00
Roland Geider
cf13af1740
Sync the rest of the nutrition tables to powersync
2026-05-01 20:24:26 +02:00
Roland Geider
a63cce2478
Test the powersync communications with the outer world
2026-05-01 19:22:44 +02:00
Roland Geider
35789cfb99
Remove validateLanguage, this wasn't used
2026-05-01 19:12:07 +02:00
Roland Geider
e56d5a8861
Add missing tests for the new repositories and states
2026-05-01 19:03:28 +02:00
Roland Geider
2cb40612b1
Cleanup providers and use consistent naming
2026-05-01 16:58:08 +02:00
Roland Geider
5d30a1ca79
Cleanup providers and use consistent naming
2026-05-01 16:50:15 +02:00
Roland Geider
2f2c7812cb
Cleanup providers and use consistent naming
2026-05-01 16:18:29 +02:00
Roland Geider
16ffafeb28
Remove unused methods
2026-05-01 15:36:15 +02:00
Roland Geider
209ab7cbbe
Add gallery sync tables
2026-05-01 15:25:31 +02:00
Roland Geider
9226b06454
Rename for more consistency
2026-05-01 13:10:39 +02:00
Roland Geider
09f020226e
Merge remote-tracking branch 'origin/feature/offline-mode' into feature/offline-mode
2026-05-01 12:28:16 +02:00
Roland Geider
9f365f8069
Consolidate ingredient search methods into the ingredient repo
2026-05-01 12:27:49 +02:00
Roland Geider
5fea670ba3
Merge master
2026-04-30 19:41:17 +02:00
Roland Geider
d1f6fc2dfe
Sync nutritional logs
2026-04-30 18:10:02 +02:00
Roland Geider
73e1621e6f
Updated goldens
2026-04-30 16:12:27 +02:00
Roland Geider
445063b1a9
Properly fake network connectivity in the tests
2026-04-30 16:10:11 +02:00
Roland Geider
97c4a5b07e
Refactor ingredient weight unit handling and remove unused methods
2026-04-30 14:33:32 +02:00
Roland Geider
d152031633
Refactor ingredient weight unit handling and remove unused methods
2026-04-30 14:11:56 +02:00
Roland Geider
d6e652f2c9
Sync the ingredient weight units to the local sqlite db
2026-04-30 13:41:58 +02:00