Dieter Plaetinck
82a6e8e6ab
update goldens
2024-06-10 15:32:57 +03:00
Dieter Plaetinck
a7012070d8
improve design
2024-06-08 10:15:43 +03:00
Dieter Plaetinck
90ebeec146
also show kcal consumed for "other" logs
2024-06-08 10:09:51 +03:00
Dieter Plaetinck
b7a2830106
show kcal consumed vs planned, on meal tiles
2024-06-07 21:35:08 +03:00
Dieter Plaetinck
cad829986e
flutter test --update-goldens
2024-06-06 18:28:32 +03:00
Dieter Plaetinck
6f3d690594
mealtile: show macros + replace 'Log' with diary button
2024-06-06 11:22:16 +03:00
Dieter Plaetinck
accc2e7293
flutter test --update-goldens
2024-06-05 19:55:18 +03:00
Dieter Plaetinck
ccda552f4c
update goldens
2024-05-29 17:20:19 +02: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
3e138d24dd
Merge pull request #592 from wger-project/ingredient-form-ux
...
IngredientForm UX fixes
2024-05-29 10:48:33 +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
4fcacbcdce
fix test
2024-05-27 10:05:13 +02:00
Dieter Plaetinck
caa2866bdf
Merge branch 'master' into goal-fiber
2024-05-25 09:53:47 +02:00
Dieter Plaetinck
d4d298ad9e
fix tests
2024-05-23 19:59:57 +02:00
Dieter Plaetinck
74002350ba
unify IngredientLogForm and MealItemForm
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
36d9dd55f1
update test fixtures
2024-05-18 22:53:16 +02:00
Dieter Plaetinck
7c4f85b820
flutter test --update-goldens
2024-05-18 22:44:00 +02:00
Dieter Plaetinck
1b1b6ab06d
flutter test --update-goldens
2024-05-15 22:04:47 +02:00
Dieter Plaetinck
0634f300db
flutter test --update-goldens
2024-05-15 12:07:21 +02:00
Dieter Plaetinck
f7981e4dfb
flutter test --update-goldens
2024-05-15 11:09:01 +02:00
Dieter Plaetinck
7fffa94925
cleanup
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
1ae3eafd72
more tests
2024-05-04 18:13:24 +02:00
Dieter Plaetinck
faa417d183
fix test
2024-05-04 18:13:16 +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
b756e5e11f
test fix
2024-04-30 21:20:58 +02:00
Dieter Plaetinck
d2c8e4a4c3
remove FlNutritionalDiaryChartWidget, it is no longer used
2024-04-30 18:54:20 +02:00
Roland Geider
1e16179d78
Merge pull request #555 from wger-project/feature/nutrition-goals
...
Move planned vs logged calories closer to feature on web application
2024-04-21 18:46:02 +02:00
Roland Geider
0502c459af
Fix tests
2024-04-21 18:39:58 +02:00
Dieter Plaetinck
cb17e48f8e
tiny nutrition fixes
2024-04-10 19:03:22 +02:00
Roland Geider
a50c625114
Fix test
2024-02-24 12:29:50 +01:00
Roland Geider
84c9fe888e
Some renamings
2024-02-23 20:37:10 +01:00
Roland Geider
ef51431e62
Fix provider test
2024-02-23 19:22:00 +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
6ad549251f
Merge pull request #512 from mutairibassam/test/colors-file
...
test: add unit test for generateChartColors() function in colors.dart…
2024-02-17 18:59:02 +01:00
Roland Geider
9c7b65bc49
Allow users to quickly increment the body weight
2024-02-17 18:48:48 +01:00
Bassam A
36f9d1651e
modify generateChartColors() test cases to use _iterator_ instead of toList() since it's been used in the original code.
2024-02-03 11:55:33 +03:00
Bassam A
1764147c18
test: add unit test for generateChartColors() function in colors.dart file
2024-02-03 11:38:46 +03:00
Bassam A
6012075658
test: add unit test for all json.dart file functions
2024-01-30 18:41:00 +03: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
003038e67d
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# test/weight/weight_screen_test.dart
2024-01-23 16:42:25 +01:00
Roland Geider
b0cae79650
Merge branch 'ux_fixes_problem'
2024-01-23 16:40:36 +01:00
Roland Geider
d4e4f3384a
Use the user's preferred unit for body weight
2024-01-23 16:33:32 +01:00
Roland Geider
3f46277c75
Fix test
...
Since we're mocking the provider no entries are actually being deleted anywhere
2024-01-23 14:58:53 +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
28826bd874
Merge branch 'master' into ux_fixes_problem
...
# Conflicts:
# flatpak/scripts/flatpak_shared.dart
# flatpak/scripts/manifest_generator.dart
2024-01-23 14:38:46 +01:00
Roland Geider
2dc08a133e
Merge pull request #459 from 12people/ux_fixes
...
Removing Dismissible for better discoverability
2024-01-23 14:31:16 +01:00