Commit Graph
110 Commits
Author SHA1 Message Date
Roland Geider 40dbe842cd Move the variation to a field in the exercise 2026-04-13 12:58:17 +02:00
Roland Geider 077dcaf742 Handle HTML errors in WgerHttpException
These need to be handled separately when the server encounters an error and
returns HTML instead of JSON.
2025-12-17 18:59:45 +01:00
Roland Geider 56cdffb010 Merge branch 'master' into feature/gym-mode
# Conflicts:
#	integration_test/3_gym_mode.dart
#	ios/Podfile.lock
#	lib/screens/gym_mode.dart
#	pubspec.yaml
2025-12-02 12:35:32 +01:00
Roland Geider 60cb00945c Small cleanups and optimizations 2025-12-01 23:00:23 +01:00
Roland Geider ecd0b6c6b4 Add overview page when a workout has been completed 2025-11-26 20:17:02 +01:00
Roland Geider f6a073766a Improve and consolidate the image error handler 2025-11-10 20:23:52 +01:00
Roland Geider bc6a5ebdbf Make common widget for when an image format is not supported 2025-10-16 22:03:40 +02:00
Roland Geider 93a11a16e4 Recreate generated files and reformat the repo
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider af482ab9e3 Set a debounce time for TypeAhead-fields (exercises and ingredients) 2025-09-06 22:46:13 +02:00
Roland Geider 1dc3776e7e Improve video error handling
Users now see a smaller error message in the exercise description, instead
of the big general popup.
2025-09-02 14:49:28 +02:00
Roland Geider b16120cddb Remove debug output 2025-05-14 14:45:18 +02:00
Roland Geider 301f48a966 More renaming of exercise base to just exercise 2025-03-29 15:50:13 +01:00
Roland Geider 9b1e369efe Remove todo, we just merged the carousel for images 2025-03-29 15:31:44 +01:00
Roland Geider ef003c28ab Add some padding so that the images don't collide with the info dots 2025-03-29 14:45:12 +01:00
Yashas H Majmudar 6d0d93bd8f fix: unused import error 2025-03-28 22:08:29 -04:00
Yashas H Majmudar 8f9ae5bcc0 update: carousel to carousel slider 2025-03-27 11:22:03 -04:00
Yashas H Majmudar 3716dae2d2 update: custom carousel indicator spacing 2025-03-27 10:07:30 -04:00
Yashas H Majmudar 808970d738 feat: Carousel for images in exercise details 2025-03-27 10:06:03 -04:00
thisisyoussef b1328fa048 Added to AUTHORS.md 2025-03-26 21:32:03 +01:00
thisisyoussef 3312da1f61 Fix rendering of muscles in MuscleWidget
Ensure that when a muscle is both main and secondary, only the main muscle background is drawn.
This addresses potential overlaps and redundant rendering in the MuscleWidget.
2025-03-26 21:32:03 +01:00
Roland Geider 3ca0c1781f Add a maximum height for exercise images 2025-03-26 16:24:54 +01:00
Yashas H Majmudar b2802e3a98 fix: isExpanded variable bool flip 2025-03-25 23:10:05 -04:00
Roland Geider d071d143df Update flutter to 3.29
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported

Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider f987de1b4d Handle case where an exercise has no variations 2025-03-18 14:59:33 +01:00
Roland Geider d5a262491a Add missing semantic labels 2025-03-17 13:22:02 +01:00
Roland Geider ac458575b8 More renaming exerciseBase to exercise and exercise to translation 2025-03-17 13:21:51 +01:00
Roland Geider 5a39c6c229 Rename some functions, a bit of cleanup 2025-01-10 15:52:26 +01:00
Roland Geider c5f4eec12f Extract exercise autocompleter to its own widget 2024-11-16 15:16:32 +01:00
Dieter Plaetinck 420f9ae16d dcm fix --only-rules=avoid-inferrable-type-arguments lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck 8db1a7c960 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck 7f74bff32c dcm fix --only-rules=prefer-trailing-comma lib 2024-06-07 14:59:00 +03:00
Roland Geider 396c98dbd9 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/widgets/add_exercise/steps/step2variations.dart
#	pubspec.lock
2024-01-11 11:20:31 +01:00
Github-actions 0bc5e8e9e6 Automatic linting 2024-01-10 14:45:21 +00:00
Roland Geider d51b6d7d87 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/widgets/workouts/day.dart
#	pubspec.lock
#	pubspec.yaml
2024-01-09 15:37:48 +01:00
Roland Geider acbee49100 Simplify generating translation objects 2023-12-30 17:55:52 +01:00
Roland Geider b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00
Roland Geider 65ba2275ae Run "dart format --line-length=100 ." to make the diff smaller 2023-12-23 16:40:05 +01:00
Abhishek Saini c69c639fac fix(drift): built a model for exercise and fixes in fromSql type converter 2023-12-23 14:28:38 +05:30
Roland Geider 29a6839a61 Run dart fix on the code base 2023-11-19 18:49:35 +01:00
Abhishek Saini c21b278e36 test cases fixes 2023-11-19 16:56:49 +05:30
Abhishek Saini 82a49f6cac Merge branch 'master' into feat/data-persistence 2023-11-18 23:23:30 +05:30
Roland Geider c514842b59 Lint the code with a line length of 100
This makes it easier to understand the diffs
2023-11-16 21:36:21 +01:00
Abhishek Saini 582bc611a4 feat(drift-database): Shifted from shared prefs to drift for Exercises 2023-11-16 22:34:40 +05:30
Roland Geider 95f863a0b6 Merge branch 'master' into feature/material-3
# Conflicts:
#	lib/widgets/nutrition/meal.dart
#	lib/widgets/workouts/day.dart
2023-11-10 19:27:27 +01:00
Roland Geider 6a1f231e48 Make chips a bit smaller and give them a bit of color 2023-11-09 20:19:19 +01:00
Miroslav Mazel f31bcc770d Consts and finals where possible 2023-11-05 23:27:22 +01:00
Miroslav Mazel 420b06a661 Organize imports / remove unnecessary ones 2023-11-05 23:22:34 +01:00
Roland Geider 80ec0e80fb Start moving to material 3
Also dark mode at last
2023-04-22 13:38:13 +02:00
Roland Geider bf7e2e8956 Move platform check to helper
Also, use TargetPlatform since it it better suited for tests (and seems to
be now the recommended way of checking this for UI elements)
2023-04-15 12:17:08 +02:00
Miroslav Mazel 283605eb4b Platform check for videos library 2023-03-21 21:22:07 +01:00