Roland Geider
54e97299f9
Consolidate usage of FormSubmitButton
2026-06-14 21:48:41 +02:00
Roland Geider
3ec7e23f56
Pass the slotUUID to some gym pages
...
This makes the logic a bit more robust on null pages
2026-06-14 21:25:10 +02:00
Roland Geider
16a6cd085d
Harden detail screen pages
...
While not very probable, it can happen that a routine etc was deleted on the server
at the same time that a user had opened its detail page. We also changed the argument
for the nutrition screen to ID, for more consistency with the other ones.
2026-06-05 14:39:49 +02:00
Roland Geider
a923574638
Show a bit more info for RetryableUploadException
2026-06-04 21:10:03 +02:00
Roland Geider
ac2eaff807
Revive log_page_test.dart
...
This tests log-page-specific logic
2026-06-03 16:14:33 +02:00
Roland Geider
152e5ca7c1
Fold the tests from the log_page_test into gym_mode_test.dart
2026-06-03 16:00:14 +02:00
Roland Geider
b2250fa8c5
Merge remote-tracking branch 'origin/master' into feature/offline-mode
...
# Conflicts:
# lib/widgets/nutrition/ingredient_dialogs.dart
# lib/widgets/nutrition/widgets.dart
2026-05-27 11:08:31 +02:00
Roland Geider
a485fd21df
Split gym state and notifier into their own files
2026-05-25 17:58:23 +02:00
Anja Klipic
10cb77cffd
chore: add tests for changes related to brand field
2026-05-23 13:10:16 +02:00
Roland Geider
87a40fd4e6
Switch the pasted-token field from DRF tokens to refresh tokens
2026-05-22 20:08:43 +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
c93f03fa0b
Replace pumpAndSettle with pump where possible
2026-05-07 12:27: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
a9644ab383
Refactor ingredient handling to use direct object references
2026-04-30 12:58:35 +02:00
Roland Geider
4b581173d8
Show more sync information to the user
2026-04-24 14:44:04 +02:00
Roland Geider
f5ab4ca390
Handle HTTP errors
...
If the indetify the error as having HTML (e.g. during development, a wrongly configured
reverse proxy, etc.) render the HTML instead
2026-04-23 13:33:10 +02:00
Roland Geider
9c531a7799
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# integration_test/1_dashboard.dart
# integration_test/3_gym_mode.dart
# ios/Podfile.lock
# lib/database/exercises/exercise_database.dart
# lib/database/exercises/type_converters.dart
# lib/models/exercises/exercise.dart
# lib/models/exercises/exercise.g.dart
# lib/models/exercises/exercise_api.dart
# lib/models/exercises/exercise_api.freezed.dart
# lib/models/exercises/exercise_api.g.dart
# lib/models/exercises/translation.dart
# lib/models/exercises/translation.g.dart
# lib/models/exercises/variation.dart
# lib/providers/exercises.dart
# lib/widgets/add_exercise/steps/step_1_basics.dart
# lib/widgets/add_exercise/steps/step_2_variations.dart
# lib/widgets/exercises/exercises.dart
# lib/widgets/measurements/forms.dart
# lib/widgets/routines/forms/slot.dart
# pubspec.lock
# pubspec.yaml
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_image_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/exercises/exercise_provider_load_test.dart
# test/exercises/exercise_provider_test.dart
# test/exercises/exercises_detail_widget_test.dart
# test/exercises/exercises_detail_widget_test.mocks.dart
# test/exercises/model_exercise_test.dart
# test/measurements/measurement_entries_screen_test.dart
# test/routine/gym_mode/gym_mode_test.dart
# test/routine/gym_mode/gym_mode_test.mocks.dart
# test/routine/routines_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
# test/widgets/routines/gym_mode/log_page_test.mocks.dart
# test_data/measurements.dart
2026-04-17 12:23:56 +02:00
Roland Geider
44af2ecaf2
Merge branch 'feature/exercise-variations' into feature/version-2.5
...
# Conflicts:
# lib/models/exercises/exercise_submission.dart
# lib/providers/add_exercise.dart
2026-04-13 16:37:07 +02:00
Roland Geider
40dbe842cd
Move the variation to a field in the exercise
2026-04-13 12:58:17 +02:00
Roland Geider
bdc5e541e2
Merge branch 'feature/markdown-exercises' into feature/version-2.5
2026-04-10 10:35:34 +02: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
AlexisBirling3
bcbcd1a2dc
apply dart format
2026-02-17 15:27:18 -05:00
AlexisBirling3
65a7e5dd43
adds the tests for the modified widget in this issue
2026-02-17 15:12:02 -05:00
Roland Geider
88168dc352
Some polishing, add simple test
2026-02-08 14:54:26 +01:00
Roland Geider
c2f138cf9f
Increase timeout durations for API requests
2026-01-30 13:50:35 +01:00
Roland Geider
f06a15ebac
Convert the reps and weight log widgets back to stateful.
...
This solves some problems with the keyboard focus changing or the quick-add
buttons for reps and weight. Also, add some tests for these.
2026-01-29 17:43:31 +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
fb6a673503
Simplify code by adding new log provider
...
This makes the logic for copying or modifying the logs much easier. Also,
there were some user reports that the old logic sometimes behaved erratically
and old values were sometimes reverted.
2026-01-12 21:40:11 +01:00
Roland Geider
40837ad1b3
Add tests
2025-12-18 11:31:58 +01:00
Roland Geider
d187324a25
Properly handle null values
...
Basically all the fields can be nullable, so we need to set them if
we want to avoid LateInitialisation errors.
2025-12-18 10:58:40 +01:00
Roland Geider
06b32a2bd9
Better volume calculations, other cleanup
2025-12-04 12:14:57 +01:00
Roland Geider
d45fb604a2
Add test for the gym mode options
2025-12-02 23:00:43 +01:00
Roland Geider
ae6db6ee07
Move to riverpod three
...
Needed to downgrade build_runner and mockito for now
2025-11-11 13:22:18 +01:00
Roland Geider
d90fe670f1
Remove debug output
2025-09-24 13:45:54 +02:00
Roland Geider
072dfc183b
Bump flutter to 3.32
2025-05-28 12:18:36 +02:00
Roland Geider
5cac67d595
Add simple test for the ConfigureAvailablePlates widget
2025-05-27 18:56:42 +02:00