Commit Graph

2798 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
654fe613c6 Rename some more files 2025-01-18 19:01:17 +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
c397e10e3f Fix tests 2025-01-18 14:40:13 +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
abac774258 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	pubspec.lock
2025-01-18 12:03:19 +01:00
Roland Geider
b014c5d63a Update generated files 2025-01-18 12:02:45 +01:00
dependabot[bot]
5855eb6dd5 Bump flex_seed_scheme from 3.4.1 to 3.5.0
Bumps [flex_seed_scheme](https://github.com/rydmike/flex_seed_scheme) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/rydmike/flex_seed_scheme/releases)
- [Changelog](https://github.com/rydmike/flex_seed_scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rydmike/flex_seed_scheme/compare/3.4.1...3.5.0)

---
updated-dependencies:
- dependency-name: flex_seed_scheme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-18 11:58:30 +01:00
dependabot[bot]
17cb9c8190 Bump drift_dev from 2.22.1 to 2.23.1
Bumps [drift_dev](https://github.com/simolus3/drift) from 2.22.1 to 2.23.1.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](https://github.com/simolus3/drift/compare/drift_dev-2.22.1...drift_dev-2.23.1)

---
updated-dependencies:
- dependency-name: drift_dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-18 11:58:20 +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
deaee53319 Fix test
The localization of dates was removed since that is not used anymore
2025-01-07 22:37:58 +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
Jackpkn
7aca93191a Merge remote-tracking branch 'upstream/master' into fix/gym-mode-state-persistence-riverpod
- Pull latest changes from the upstream repository.
- Ensure compatibility with the latest upstream updates.
- Resolve conflicts (if any) and align the feature branch with upstream progress.
2025-01-07 10:50:07 +05:30
Roland Geider
b0e1da49b9 Some renaming for consistency 2025-01-06 22:34:30 +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
fde14c369f Merge branch 'master' into feature/flexible-routines 2025-01-05 22:54:47 +01:00
Roland Geider
1ad59486c2 Start implementing the expanded mode on the slot entry form 2025-01-05 22:49:00 +01:00
Roland Geider
9e410635a7 Merge pull request #711 from wger-project/imgbot
[ImgBot] Optimize images
2025-01-05 21:38:31 +01:00
dependabot[bot]
6807d05c09 Bump sqlite3_flutter_libs from 0.5.27 to 0.5.28
Bumps [sqlite3_flutter_libs](https://github.com/simolus3/sqlite3.dart) from 0.5.27 to 0.5.28.
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](https://github.com/simolus3/sqlite3.dart/compare/sqlite3_flutter_libs-0.5.27...sqlite3_flutter_libs-0.5.28)

---
updated-dependencies:
- dependency-name: sqlite3_flutter_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 21:37:43 +01:00
dependabot[bot]
a3a31f0200 Bump build_runner from 2.4.13 to 2.4.14
Bumps [build_runner](https://github.com/dart-lang/build) from 2.4.13 to 2.4.14.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.4.13...build_runner-v2.4.14)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 21:37:29 +01:00
dependabot[bot]
de3d5383a3 Bump get_it from 8.0.2 to 8.0.3
Bumps [get_it](https://github.com/fluttercommunity/get_it) from 8.0.2 to 8.0.3.
- [Changelog](https://github.com/fluttercommunity/get_it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/get_it/commits)

---
updated-dependencies:
- dependency-name: get_it
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 21:37:13 +01:00
ImgBotApp
9872e6c0a5 [ImgBot] Optimize images
*Total -- 34.36kb -> 23.71kb (31%)

/assets/icons/meal-check.svg -- 2.61kb -> 1.52kb (41.69%)
/assets/icons/meal-add.svg -- 2.86kb -> 1.72kb (39.81%)
/assets/icons/meal-edit.svg -- 3.01kb -> 1.91kb (36.44%)
/flatpak/app-icon-grid.svg -- 4.56kb -> 2.99kb (34.6%)
/assets/icons/ingredient-check.svg -- 3.61kb -> 2.49kb (30.93%)
/assets/icons/ingredient-add.svg -- 3.85kb -> 2.69kb (30.2%)
/assets/icons/ingredient-edit.svg -- 4.00kb -> 2.88kb (28.05%)
/assets/icons/meal-diary.svg -- 4.43kb -> 3.27kb (26.17%)
/assets/icons/ingredient-diary.svg -- 5.42kb -> 4.24kb (21.86%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-01-05 20:33:03 +00:00
dependabot[bot]
b36d824bce Bump shared_preferences from 2.3.3 to 2.3.5
Bumps [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) from 2.3.3 to 2.3.5.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.3.5/packages/shared_preferences)

---
updated-dependencies:
- dependency-name: shared_preferences
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 21:19:48 +01:00
Roland Geider
50f3c34a06 Update goldens 2025-01-05 21:13:15 +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
2d6a2db73f Get appropriate rights before installing the package... 2024-12-17 11:49:23 +01:00
Roland Geider
8377e7a3ba Install libsqlite3-dev
This is probably needed for the CI to run correctly
2024-12-17 11:44:46 +01:00
Roland Geider
764f0c2739 Render only up to one decimal place
Fixes #695
2024-12-13 12:49:14 +01:00
Roland Geider
6e8a3a7122 Bump flutter version 2024-12-12 21:08:46 +01:00
Roland Geider
a44c758843 Downgrade collection 2024-12-12 21:05:01 +01:00
Roland Geider
0d43333aa4 Update widgets when the provider changes 2024-12-12 20:52:05 +01:00
Roland Geider
f407f2935b Sort dependencies alphabetically 2024-12-12 20:52:01 +01:00