Roland Geider
c664ccedfa
Update generated files
2024-10-29 19:05:20 +01:00
Dieter Plaetinck
f90609f147
various dcm cleanups
2024-09-18 21:52:21 +03:00
Dieter Plaetinck
25ad580a38
disable prefer-match-file-name for now..
2024-09-18 21:23:18 +03:00
Dieter Plaetinck
1ae3f33edd
use ingredient.license_object_url to link to human readable page
2024-07-12 14:26:09 +03:00
Dieter Plaetinck
d06ecabadf
use ingredientinfo api, for image + new source and remote id fields
...
also update fixtures accordingly
2024-07-12 13:50:04 +03:00
Dieter Plaetinck
54fb7c1c6c
cleanup
2024-07-12 10:09:36 +03:00
Roland Geider
c918e48f7e
Commit generated files
2024-07-10 16:42:40 +02:00
Dieter Plaetinck
11ee38c03d
dart fix --apply
2024-06-20 15:47:55 +03: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
Dieter Plaetinck
d5fa2b9c18
fiber rename fixes
2024-05-29 13:04:50 +02:00
Roland Geider
cebb53c31a
Merge branch 'log-fractional-meals'
2024-05-29 11:22:58 +02:00
Roland Geider
7f4dafd5ae
Merge pull request #593 from wger-project/log-fractional-meals
...
log meal: separate confirmation page with portion choice
2024-05-29 11:20:47 +02:00
Dieter Plaetinck
a4bdf70582
consistent, improved deduplication behavior across mealitems and logs
...
deduplicate by ingredient AND amount: so if you use the same
ingredient, but in a different amount, the different amount
will show up
this increases the list of suggestions for editing meals,
and decreases the list logging an ingredient (significantly,
if you often log the same ingredient in the same amount)
2024-05-28 11:58:38 +02:00
Dieter Plaetinck
68799b0112
log meal: separate confirmation page with portion choice
2024-05-27 23:53:22 +02:00
Dieter Plaetinck
caa2866bdf
Merge branch 'master' into goal-fiber
2024-05-25 09:53:47 +02:00
Dieter Plaetinck
eeec221499
add note
2024-05-23 19:59:57 +02:00
Dieter Plaetinck
ad4543f2e6
small refactor
2024-05-23 19:59:57 +02: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
Dieter Plaetinck
12c1d0044c
support fibers goal
2024-05-18 21:32:29 +02:00
Dieter Plaetinck
6f576b557c
bugfix: 7day averages need to be divided by 7!
2024-05-15 10:52:54 +02:00
Roland Geider
ef78bc55e6
Remove BaseNutritionalValues, this wasn't used anymore
2024-05-12 14:09:05 +02:00
Dieter Plaetinck
9ad969527d
fix
2024-05-08 22:48:26 +02:00
Dieter Plaetinck
578d56a0df
fix tests, introduce golden tests
...
to make golden tests work, we no longer plot the "now time" for "other logs"
this was pretty silly anyway...
2024-05-08 22:48:26 +02:00
Dieter Plaetinck
2347657dcd
fixes
2024-05-04 23:20:16 +02:00
Dieter Plaetinck
faa417d183
fix test
2024-05-04 18:13:16 +02:00
Dieter Plaetinck
bffaa9a9c9
Revert freezed attempt. it needs a constructor without args... :/
...
This reverts commit 55aac23033dda47895ffb63154fcbc6fe5524d40.
2024-05-04 15:56:11 +02:00
Dieter Plaetinck
84f43bb5c2
trying to fix tests by using freezed
2024-05-04 15:56:11 +02:00
Dieter Plaetinck
36697a660d
proper nullable "nutritional goals" with inference
...
differentiate between a goal being set (but as 0) vs a goal not being
set. fixes various correctness issues
2024-05-04 14:20:00 +02:00
Dieter Plaetinck
cc39b692b2
cleanup/simplify existing code
2024-04-15 12:21:31 +02:00
Dieter Plaetinck
93cd21f33f
fixes
2024-04-14 22:46:43 +02:00
Dieter Plaetinck
6dbfe88ac1
cleanups
2024-04-14 22:38:56 +02:00
Dieter Plaetinck
0a695ecc35
bugfix
2024-04-14 22:14:36 +02:00
Dieter Plaetinck
6cfd2e34e2
bug fixes
2024-04-14 22:08:54 +02:00
Dieter Plaetinck
a3232f7428
simplify some code
2024-04-14 21:48:04 +02:00
Roland Geider
432ac8bbc6
More refactorings, extracting widgets and polishing
2024-02-24 12:19:36 +01:00
Roland Geider
84c9fe888e
Some renamings
2024-02-23 20:37:10 +01:00
Roland Geider
9b0985fbf3
Add chart for percentage of logged nutritional values for meals
2024-02-23 19:19:13 +01:00
Roland Geider
4b6a0a8875
Merge branch 'master' into feature/nutrition-goals
2024-02-18 11:48:58 +01:00
Roland Geider
9c7b65bc49
Allow users to quickly increment the body weight
2024-02-17 18:48:48 +01:00
Roland Geider
9ef0c10896
Add common widget for macronutritional goals
2024-02-01 15:18:44 +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
d4e4f3384a
Use the user's preferred unit for body weight
2024-01-23 16:33:32 +01:00
Costas Korai
135ddb4a78
Update to use clock.now where needed
...
- The initial time set in the MealForm is defined in
the meal model object provided to the MealForm so both
the test and the meal object had to use clock.now in
order for the fixed value to apply to both.
2024-01-24 00:47:43 +11: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