Roland Geider
ecd0b6c6b4
Add overview page when a workout has been completed
2025-11-26 20:17:02 +01: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
bd37415b8e
Remove controllers, these are not needed anymore
2025-10-08 14:49:35 +02:00
Roland Geider
655a3d11d5
Move helper methods to own widgets
2025-10-08 14:48:59 +02:00
Roland Geider
4b9afa5c98
Actually send the correct image fields to the server
2025-10-08 14:34:23 +02:00
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
a76ca9ae36
Update license notice localization
...
This keeps the main info text in one block, otherwise translating these
can get tricky
2025-10-08 12:45:37 +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
Roland Geider
2494effe64
Use existing material localizations for "cancel" and use lower case for "add"
2025-10-06 14:13:27 +02:00
Roland Geider
fa7f670e9f
Some light cleanup
2025-10-06 12:31:12 +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
1903fb4d5e
Add image details form with license metadata collection
...
Implement form for collecting CC BY-SA 4.0 license metadata
including title, author, URLs, and image style. Includes URL
validation and uses localized strings.
2025-10-04 16:12:41 +02:00
Branislav Nohaj
65fd2f0906
Add separate license info widget for CC BY-SA notice
2025-10-04 16:12:18 +02:00
Branislav Nohaj
7bc8463406
dar format was performed
2025-10-04 11:13:10 +02:00
Branislav Nohaj
cb138f41f7
missing button fix
2025-10-04 11:07:41 +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
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