Commit Graph

1609 Commits

Author SHA1 Message Date
Roland Geider
a770c97573 Add smoke test for the routine edit form 2025-01-21 20:58:57 +01:00
Roland Geider
3a398d0f36 Simplify arguments for routine objects and add a smoke test 2025-01-18 19:37:33 +01:00
Roland Geider
757eb4b27d Almost everything is nullable in the Log 2025-01-18 16:57:28 +01:00
Roland Geider
9ab55a6c83 Save iteration and slot entry id to the logs 2025-01-18 16:46:08 +01:00
Roland Geider
9bb3567835 Add day id to the gym state provider 2025-01-18 15:15:42 +01:00
Roland Geider
f5ab51fd5b Repetitions are not integers anymore 2025-01-18 13:55:42 +01:00
Roland Geider
392dc695ef Merge branch 'fork/Jackpkn/fix/gym-mode-state-persistence-riverpod' into feature/flexible-routines
# Conflicts:
#	lib/widgets/routines/forms.dart
#	lib/widgets/routines/gym_mode.dart
2025-01-18 12:28:02 +01:00
Roland Geider
5d542c51d9 Use updated name of repetition in API response
Also use the same name locally for more consistency
2025-01-14 20:41:40 +01:00
Roland Geider
5a39c6c229 Rename some functions, a bit of cleanup 2025-01-10 15:52:26 +01:00
Roland Geider
b42112075c Also read max sets and mar rir from the API 2025-01-08 19:22:54 +01:00
Roland Geider
6d970052ef Update the routine test data 2025-01-07 22:35:36 +01:00
Roland Geider
6e7284e104 Update the routine test data 2025-01-07 21:42:26 +01:00
Roland Geider
6bfcb3ebe9 Round the value of the slider
This prevents float values from being sent to the server
2025-01-07 21:02:22 +01:00
Roland Geider
d7094c37d8 Add target fields to workout log 2025-01-06 22:34:12 +01:00
Roland Geider
462cc95979 Fix test 2025-01-06 22:01:33 +01:00
Roland Geider
ede90b75a9 Remove unused code 2025-01-06 21:38:17 +01:00
Roland Geider
4a60018d9a Fix tests 2025-01-06 21:36:37 +01:00
Roland Geider
5f89ab4b6f Add missing max fields to the slot entry form 2025-01-06 20:28:14 +01:00
Jackpkn
fd1ee4295c fix: improve Gym Mode navigation and state persistence 2025-01-06 21:38:33 +05:30
Roland Geider
1ad59486c2 Start implementing the expanded mode on the slot entry form 2025-01-05 22:49:00 +01:00
Roland Geider
ca6c682483 Remove more unused code 2025-01-05 20:17:26 +01:00
Roland Geider
b66aa7444d Some polishing, adding missing fields and other QoL 2025-01-05 19:45:02 +01:00
Roland Geider
ad5d1be306 Pass the necessary IDs to the gym mode and load the rest of the data 2025-01-05 16:35:16 +01:00
Roland Geider
ae4d2230b9 WIP: Make gym mode display the exercises 2025-01-05 14:49:34 +01:00
Roland Geider
f6bae10b9b Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	android/app/build.gradle
#	lib/l10n/app_ta.arb
#	lib/widgets/measurements/charts.dart
#	macos/Podfile.lock
#	pubspec.lock
#	pubspec.yaml
2025-01-05 01:47:54 +01:00
Roland Geider
7afe947566 Replace deprecated withOpacity with withValues 2024-12-17 11:52:41 +01:00
Roland Geider
764f0c2739 Render only up to one decimal place
Fixes #695
2024-12-13 12:49:14 +01:00
Roland Geider
0d43333aa4 Update widgets when the provider changes 2024-12-12 20:52:05 +01:00
Roland Geider
d35ff240a7 Update/fix android configuration
It seems some packages that have not been updated in some years are causing
problems. android_metadata has been removed here, but flutter_barcode_scanner
is still needed
2024-12-12 20:49:24 +01:00
Максим Горпиніч
bd7e72bf88 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (272 of 272 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2024-12-05 15:24:40 +01:00
Roland Geider
c23ccdcd55 Fix placeholder 2024-11-27 13:52:44 +01:00
தமிழ்நேரம்
2c33000742 Translated using Weblate (Tamil)
Currently translated at 100.0% (272 of 272 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2024-11-26 15:43:22 +00:00
Herb Huang
58afb21593 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (272 of 272 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2024-11-26 15:43:21 +00:00
Roland Geider
04e112d810 Fix some widgets, polishing, renaming 2024-11-20 14:39:17 +01:00
தமிழ்நேரம்
a3858cd2f7 Translated using Weblate (Tamil)
Currently translated at 97.7% (266 of 272 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2024-11-19 20:01:56 +01:00
pavan arun bagwe
d606a04a2a Translated using Weblate (Hindi)
Currently translated at 57.7% (157 of 272 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hi/
2024-11-19 20:01:56 +01:00
Roland Geider
7794948f28 Cleanup 2024-11-17 01:08:47 +01:00
Roland Geider
aa6468ebc8 Use a slider to select the number of sets 2024-11-17 01:04:20 +01:00
Roland Geider
be28c27fd0 Give feedback to the user when the form is being saved 2024-11-17 00:24:25 +01:00
Roland Geider
8020bd21b6 More polish and i18n work
Also make sure that we don't update the routine while editing, since
some of the changes could pull the rug under our feet and felt strange.
Now there's a manual refresh button for the resulting routine
2024-11-16 22:21:27 +01:00
Roland Geider
74990330da Remove unused strings 2024-11-16 20:48:05 +01:00
Roland Geider
f7461ab0e9 Polish the crud workflow 2024-11-16 19:50:28 +01:00
Roland Geider
a4f334e73d Allow deleting slots 2024-11-16 18:10:43 +01:00
Roland Geider
e6e0ed3f08 Properly set or remove newly created objects 2024-11-16 18:10:29 +01:00
Roland Geider
c5f4eec12f Extract exercise autocompleter to its own widget 2024-11-16 15:16:32 +01:00
Roland Geider
ffa87f6db7 Refactor update logic
There are a lot of common steps that are always the same. This will specially
important once we edit all the other configs and their max siblings
2024-11-16 12:55:14 +01:00
Roland Geider
04c6d6c643 Save values to server 2024-11-15 18:03:06 +01:00
Roland Geider
23119e68d5 Allow users to reorder the days and the slots within the days 2024-11-15 16:44:41 +01:00
Roland Geider
277628f329 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	test/weight/weight_screen_test.mocks.dart
2024-11-14 20:30:19 +01:00
Roland Geider
4b5ce9bdb0 Remove reorderable from routine view widget 2024-11-13 14:59:09 +01:00