Roland Geider
e63616a403
Recreate generated files
2025-08-25 19:55:26 +02:00
Roland Geider
9055514dec
Migrate models to work with freezed 3.0.0
2025-04-01 21:48:00 +02:00
Roland Geider
6742c8091a
Return the actions enum directly, no need for a dict here
2025-04-01 21:39:45 +02:00
Roland Geider
325cc93865
Refresh the whole routine after modifying further objects.
...
This makes sure that all the structures are present and have the correct
content (dayData, etc.). Also, add more feedback to the user for some operations
that take a bit longer due to loading the whole routine.
2025-03-11 20:36:38 +01:00
Roland Geider
3ef8b62d53
Update exercise info API paths
2025-02-01 15:29:14 +01:00
Roland Geider
3e6ee0b082
Update models due to changes in exercise api response changes
2025-01-30 21:48:44 +01:00
Roland Geider
202349c5bc
Make workout log charts work again
2025-01-25 15:39:51 +01:00
Roland Geider
eff176f035
Merge branch 'master' into feature/flexible-routines
...
# Conflicts:
# lib/main.dart
# lib/models/exercises/exercise.dart
# lib/models/exercises/exercise_api.freezed.dart
# lib/models/workouts/day.g.dart
# lib/models/workouts/session.g.dart
# lib/models/workouts/workout_plan.g.dart
# lib/providers/exercises.dart
# lib/widgets/core/settings.dart
# pubspec.lock
# test/auth/auth_screen_test.mocks.dart
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/gallery/gallery_form_test.mocks.dart
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_categories_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_meal_form_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/other/base_provider_test.mocks.dart
# test/user/provider_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
# test/workout/gym_mode_screen_test.mocks.dart
# test/workout/repetition_unit_form_widget_test.mocks.dart
# test/workout/routine_screen_test.mocks.dart
# test/workout/routines_provider_test.mocks.dart
# test/workout/routines_screen_test.mocks.dart
# test/workout/weight_unit_form_widget_test.mocks.dart
# test/workout/workout_day_form_test.mocks.dart
# test/workout/workout_form_test.mocks.dart
# test/workout/workout_set_form_test.mocks.dart
2025-01-24 15:05:28 +01:00
Roland Geider
9d9f276476
Merge branch 'fork/Sangharshdeveloper/feature-theme_customization#687'
...
# Conflicts:
# pubspec.lock
2025-01-23 23:23:12 +01:00
Roland Geider
86f8b7ae35
Add a third option to the theme mode
...
This allows the user to use the system settings as well, and not always force
light or dark mode in the app. Also move the logic to the UserProvider and
do some light refactoring.
2025-01-23 23:22:50 +01:00
Roland Geider
eac2397396
Add workaround for #722
2025-01-22 19:29:17 +01:00
Roland Geider
5a39c6c229
Rename some functions, a bit of cleanup
2025-01-10 15:52:26 +01:00
Roland Geider
ffa87f6db7
Refactor update logic
...
There are a lot of common steps that are always the same. This will specially
important once we edit all the other configs and their max siblings
2024-11-16 12:55:14 +01:00
Roland Geider
23119e68d5
Allow users to reorder the days and the slots within the days
2024-11-15 16:44:41 +01:00
Roland Geider
9ff2bba13a
Load the new DayData entries and the regular data objects from structure endpoint
2024-10-30 23:19:10 +01:00
Roland Geider
7db93f0b6e
Start implementing new flexible routines
2024-10-30 12:14:26 +01:00
Roland Geider
c664ccedfa
Update generated files
2024-10-29 19:05:20 +01: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
Roland Geider
5d237e1ddf
Consistently use "fiber"
2024-05-23 17:54:50 +02:00
Roland Geider
239e1a1caa
Consistently use "fibers" instead of "fibres"
2024-05-20 22:06:47 +02:00
Roland Geider
9b0985fbf3
Add chart for percentage of logged nutritional values for meals
2024-02-23 19:19:13 +01:00
Roland Geider
6f9a07159e
Format generated files
2024-02-01 14:17:59 +01:00
Roland Geider
3c749855d5
Merge branch 'master' into feature/nutrition-goals
...
# Conflicts:
# lib/models/exercises/exercise.g.dart
# lib/models/user/profile.g.dart
# test/gallery/gallery_form_test.mocks.dart
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/user/provider_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/workout/gym_mode_screen_test.mocks.dart
# test/workout/workout_plan_screen_test.mocks.dart
# test/workout/workout_plans_screen_test.mocks.dart
# test/workout/workout_provider_test.mocks.dart
# test/workout/workout_set_form_test.mocks.dart
2024-02-01 14:16:53 +01:00
Roland Geider
faf1018f2a
Fixes for flutter typeahead 5.1.0
...
Also, add some models for the API response from the search
2024-01-29 12:07:26 +01:00
Roland Geider
e67d992385
Add (for now) simple settings page to reset the exercise cache
...
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00
Roland Geider
acbee49100
Simplify generating translation objects
2023-12-30 17:55:52 +01:00
Roland Geider
f951b6117a
Try to generate ExerciseApiData objects only within the exercises model
2023-12-28 22:32:28 +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
b64458603f
Rename further occurrences of "exercise base" to just "exercise"
2023-12-26 21:38:07 +01:00
Roland Geider
c5cbb4f851
Rework exercise database
...
This is now separated into individual tables and methods so that they can be
tested separately
2023-12-26 17:03:20 +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
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
Github-actions
ca27faf9e2
Automatic linting
2023-11-09 19:26:45 +00:00
Roland Geider
09f60fe432
Fix tests and recreate generated files
2023-11-09 19:07:38 +01:00
Roland Geider
68f0ad46cb
Commit WIP for nutrition page rework
2023-10-17 14:32:02 +02:00
Github-actions
8c809ad8cb
Automatic linting
2023-08-08 09:14:27 +00:00
Roland Geider
aecbcfe663
Update models to work with new keys
...
creation_date was renamed to created and
update_date to last_updated
2023-08-08 11:12:55 +02:00
Github-actions
3003409c57
Automatic linting
2023-06-08 14:15:55 +00:00
Roland Geider
481ff898fa
The field creation date in ingredients is now a datetime
2023-06-08 16:14:25 +02:00
Github-actions
90501ad35c
Automatic linting
2023-02-06 19:35:13 +00:00
Roland Geider
4f4f6f553a
Add paginated fetches
...
This allows the app to fetch all available items from an enpoint, without
having to hope that the ?limit=999 is enough
Closes #133
2023-02-06 20:33:39 +01:00
Github-actions
1370a7a666
Automatic linting
2023-02-05 21:39:05 +00:00
Roland Geider
dd814063f3
Remlace deprecated ignore parameter
2023-02-05 21:28:41 +01:00
Roland Geider
f68afd91fd
Rename exercise object to translation
...
This is what they are now anyway and makes it more clear
2023-02-05 21:24:28 +01:00
Github-actions
ceae6985fc
Automatic linting
2022-11-29 16:27:47 +00:00
Roland Geider
a004192ed3
Correctly pass the base ID to render log charts
...
See https://github.com/wger-project/wger/issues/1180
2022-11-29 17:25:45 +01:00
Github-actions
280b5c0c43
Automatic linting
2022-11-24 10:25:48 +00:00