Roland Geider
bb2fbc2c73
Rename files to follow naming schema of all others
2025-10-08 14:07:51 +02:00
Roland Geider
c63057fe35
Reuse AddExerciseTextArea in the image form
2025-10-08 14:05:50 +02:00
Roland Geider
1a78011a7d
Refactor image handling in the exercise submission process
...
Now the images are kept in a single list, instead of having two for
the files themselves and the metadata.
2025-10-08 12:45:37 +02:00
Branislav Nohaj
c00246dedb
Add image source selection and preview improvements
...
Add dialog for camera/gallery selection and improve preview widget
with edit mode toggle. Preview now supports add-more callback and
can be displayed in read-only mode.
2025-10-04 16:13:02 +02:00
Branislav Nohaj
7bc8463406
dar format was performed
2025-10-04 11:13:10 +02:00
Branislav Nohaj
e9ab11c8bb
added better comments
2025-10-04 10:58:36 +02:00
Branislav Nohaj
ed8e9ec744
Added option in mobile app to add more info about image
2025-10-04 10:22:01 +02:00
Roland Geider
a10b7eb9f7
Pass parameter to create new variation and link exercises
2025-09-28 15:03:28 +02:00
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
Dieter Plaetinck
6e1d3f9568
dart format --line-length=100 .
...
(except auto generated files)
2024-06-20 15:44:35 +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
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