Roland Geider
fbc8ad7b07
Replace the deprecated onReorder with onReorderItem
2026-06-15 21:34:00 +02:00
Roland Geider
68428a053e
Wipe the local DB only on a real user switch
2026-06-04 16:53:01 +02:00
Roland Geider
6436226a9e
Remove network info dashboard widget
...
This is not really needed anymore since most parts of the application can be used
offline, and the ones that don't are marked.
2026-05-25 19:48:12 +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
dcebb3a2e7
Add script to check language lists stay in sync
...
This is also run on commits, so we get alerted when we forget to add new locales
2026-05-18 10:27:25 +02:00
Roland Geider
475442e779
Consolidate locale handling logic
2026-05-18 09:40:12 +02:00
Pawel Haracz
822cedf9a4
feat(settings): add in-app language switcher
...
Adds a per-user language override in Settings that takes precedence over
the system locale, fixing #439 . Selecting "System default" clears the
override and falls back to the existing localeListResolutionCallback.
Also declares CFBundleLocalizations in the iOS Info.plist so iOS 16+ users
get the native per-app language picker (Settings → wger → Language) as an
alternative entry point.
Implementation mirrors the existing themeMode flow on UserProvider, with
the selected locale persisted in SharedPreferences under PREFS_USER_LOCALE
and matched against AppLocalizations.supportedLocales on load to preserve
script-bearing locales (zh_Hant, pt_BR, ...).
2026-05-16 15:31:34 +02:00
Roland Geider
4751b2ddc3
Delete old images from the device older than approx. 3 months
2026-04-30 10:48:57 +02:00
Roland Geider
95fb6c6615
Migrate the nutrition provider to riverpod
2026-04-17 18:19:00 +02:00
Roland Geider
f4a0a9bff6
Migrate the user provider to riverpode
2026-04-17 17:11:59 +02:00
Roland Geider
a5f08c09ac
Add the network information widget to regular list of dashboard widgets
2026-03-13 14:52:13 +01:00
Roland Geider
c87d3825b4
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/l10n/app_en.arb
# lib/models/workouts/log.dart
# lib/models/workouts/weight_unit.dart
# lib/providers/exercises.dart
# lib/providers/gym_log_state.g.dart
# lib/providers/routines.dart
# lib/widgets/routines/forms/reps_unit.dart
# lib/widgets/routines/forms/weight_unit.dart
# lib/widgets/routines/gym_mode/log_page.dart
# macos/Flutter/GeneratedPluginRegistrant.swift
# pubspec.lock
# pubspec.yaml
# test/core/settings_test.mocks.dart
# test/core/validators_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/exercises/exercise_provider_db_test.dart
# test/exercises/exercises_detail_widget_test.mocks.dart
# test/routine/gym_mode/gym_mode_test.mocks.dart
# test/routine/repetition_unit_form_widget_test.dart
# test/routine/routines_provider_test.mocks.dart
# test/routine/routines_screen_test.mocks.dart
# test/routine/weight_unit_form_widget_test.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
# test/widgets/routines/gym_mode/log_page_test.mocks.dart
# test_data/routines.dart
2026-03-12 14:23:11 +01:00
Roland Geider
92aee1228e
Properly filter hidden widgets 🙄
2026-01-19 16:39:06 +01:00
Roland Geider
f32dec2b08
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/main.dart
# lib/models/workouts/log.dart
# lib/models/workouts/session.g.dart
# lib/providers/exercises.dart
# lib/providers/gym_state.g.dart
# lib/providers/wger_base_riverpod.dart
# lib/screens/dashboard.dart
# lib/screens/home_tabs_screen.dart
# lib/widgets/core/app_bar.dart
# lib/widgets/core/settings.dart
# lib/widgets/dashboard/calendar.dart
# lib/widgets/dashboard/widgets/weight.dart
# lib/widgets/routines/gym_mode/log_page.dart
# lib/widgets/routines/gym_mode/summary.dart
# lib/widgets/routines/logs/day_logs_container.dart
# lib/widgets/routines/logs/exercises_expansion_card.dart
# pubspec.lock
# pubspec.yaml
# test/core/settings_test.dart
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/exercises/exercise_provider_db_test.dart
# test/exercises/exercise_provider_test.dart
# test/routine/gym_mode/gym_mode_test.mocks.dart
# test/routine/routine_logs_screen_test.dart
# test/routine/routine_logs_screen_test.mocks.dart
# test/routine/routines_provider_test.mocks.dart
# test/routine/routines_screen_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
2026-01-19 13:16:55 +01:00
Roland Geider
f5a591a3b7
Add trophies to configurable dashboard lists
2026-01-17 14:01:17 +01:00
Roland Geider
b81331609a
Also allow changing the order of the dashboard widgets
...
This makes the behaviour more consistent and allows users to remove widgets
they won't be using, like the trophies
2026-01-17 13:43:28 +01:00
Roland Geider
5574f74a2f
Move dashboard visibility settings to own screen
...
This seems cleaner and can be opened from other places
2026-01-17 12:50:07 +01:00
Roland Geider
2b44a1eade
Remove the exercise cache settings tile
...
This is now handled automatically by powersync
2025-10-31 10:59:48 +01:00
Roland Geider
136d0e0825
Extract some logic to their own widgets
2025-10-06 12:43:05 +02:00
Roland Geider
fa7f670e9f
Some light cleanup
2025-10-06 12:31:12 +02:00
Roland Geider
d85ee13ed9
Give users more control over the exercise cache
...
This allows users to manually refresh the cache and load all exercises
from the server.
2025-09-06 15:05:52 +02:00