Roland Geider
ba34570a3d
Add image upload methods
...
We use the "manual" way as it was before, since there were some problems
making this work and most of the errors were happening during the exercise
creation itself.
2025-09-19 22:27:04 +02:00
Roland Geider
9ea8362d20
Show an overview with the new exercise data before saving
...
Also, correctly parse all validation errors that might be returned by the server
2025-09-19 16:59:18 +02:00
Roland Geider
711d7c0aba
Update exercise submission model and related files
...
This now uses the combined endpoint, which creates the different objects
itself within a transaction, ensuring that no orphans can be created.
2025-09-18 21:57:27 +02:00
Roland Geider
301f48a966
More renaming of exercise base to just exercise
2025-03-29 15:50:13 +01: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
5a39c6c229
Rename some functions, a bit of cleanup
2025-01-10 15:52:26 +01:00
Roland Geider
7afe947566
Replace deprecated withOpacity with withValues
2024-12-17 11:52:41 +01:00
Dieter Plaetinck
6e1d3f9568
dart format --line-length=100 .
...
(except auto generated files)
2024-06-20 15:44:35 +03:00
Dieter Plaetinck
cf351c3690
dcm fix --only-rules=prefer-declaring-const-constructor 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
802da6aa1c
Don't use ExerciseBase anymore...
2024-01-11 11:28:25 +01: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
c4577ca5d7
Further tweaking exercise cache handling
...
handleUpdateExerciseFromApi should now be faster and save up on some requests.
Ideally we would pre-populate the database with all exercises on first run, or
even just ship it pre-filled
2023-12-28 17:48:15 +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
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
Miroslav Mazel
5f7bc96f8b
Don't use BuildContext across async gaps
2023-11-05 23:34:37 +01:00
Miroslav Mazel
d86ee692bb
Children at the bottom + consistent variable names + BuildContext async gaps
2023-11-05 23:24:50 +01:00
Roland Geider
cc9e3994a6
Update the value when updating removing entries via chips
2022-10-10 16:33:54 +02:00
Roland Geider
842cad802a
Translate the muscle names for the secondary muscles dropdown
2022-10-10 16:30:03 +02:00
Roland Geider
123b80eb9f
Use const keys
2022-10-10 16:20:30 +02:00
Roland Geider
b34882ccea
Rename file for the AddExercise provider for more consistency
2022-10-10 16:08:06 +02:00
Roland Geider
6d1c259c85
Rename widgets and files
...
These names are the same used in the react application
2022-10-01 15:27:10 +02:00
Roland Geider
a7cd041295
Add keys to exercise contribution form
2022-08-28 14:42:01 +02:00
Roland Geider
70cdd37f84
Show translated muscle names
2022-07-28 11:57:45 +02:00
Roland Geider
f834950cec
Workout logs and settings now have a reference to an exercise base
...
This puts this code in sync with the backend and is logically better, since
the translations can be displayed when needed and are not hard coded
2022-05-10 16:53:44 +02:00
Roland Geider
6622fad56b
Add dynamic translations of strings that arrive from the server
...
Closes #120
2022-04-12 17:45:28 +02:00
Roland Geider
a6338ab6d6
Some more polishing
2022-03-31 13:52:43 +02:00
Roland Geider
75c18d283d
Split up the widgets used, this was getting too cluttered
2022-03-31 00:20:13 +02:00
Roland Geider
c5a9f554c8
Allow uploading images taken directly with the camera
2022-03-29 23:08:35 +02:00
Roland Geider
c819e51fc8
Swap method names
2022-03-29 22:00:50 +02:00
Roland Geider
4241750708
Always set the values of the selected muscles and categories
...
Otherwise it's not possible to remove all selections after having clicked on one
2022-03-12 23:25:23 +01:00
Roland Geider
48ea85794a
Finally fix some errors with the multi select widget
...
Now it's possible to add and remove elements
2022-03-12 22:13:36 +01:00
Roland Geider
545f96b1c4
Some cleanup
2022-02-20 19:19:40 +01:00
Roland Geider
b011ddcd25
POST images when creating new exercises
2022-02-20 15:54:32 +01:00
Roland Geider
c7789dab6f
Fix some typos
2022-01-31 21:28:06 +01:00
Roland Geider
4e1913a58c
Don't make the selection list scrollable, show all selected items
2022-01-30 19:43:32 +01:00
Roland Geider
afccfb4809
Set muscles and equipment objects when selecting from dropdown
2022-01-30 19:33:17 +01:00
Roland Geider
5d7df00cb2
Fix typo
2022-01-30 14:56:22 +01:00
yaseenagwan
03e8ac4b1d
feat: Form Related Changes in Add Exercise Screen
2022-01-22 18:23:31 +05:30
yaseenagwan
09843ba31a
feat: completed image section in Add Excercise Screen
2022-01-16 15:14:15 +05:30
Yair Chen
0798e3e5ae
add_exercise_screen base
2021-09-17 16:24:51 +03:00