Dieter Plaetinck
ccb0d5c09d
l10n
2024-06-06 18:07:40 +03:00
Dieter Plaetinck
fc947e9e59
if meals logging gets a snackbar, ingredients logging should too
2024-06-05 16:48:24 +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
Roland Geider
cbd3d431c3
Localize header text
2024-05-29 10:23:32 +02:00
Dieter Plaetinck
686fb44933
filter suggestions by search string
2024-05-28 12:19:53 +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
ad64eb2c14
cleanup
2024-05-27 09:37:04 +02:00
Dieter Plaetinck
864c6fc82b
properly set/unset value via helper functions. fix #591
2024-05-26 22:10:35 +02:00
Dieter Plaetinck
b21c19ae65
various ingredient form UX issues
...
* upon scan completion, give more useful preview of the found ingredient
* use ID field to track whether the form is "loaded" with a valid
ingredient or not
* don't trigger search if an ingredient is loaded, unless user changes
the pattern
* always show meal item preview, whether loaded from recent items, or
from scan result
2024-05-26 22:10:34 +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
Dieter Plaetinck
58122d40b5
get ready to support showing images in the ingredient preview
...
note: the image doesn't seem to
be set yet, but at least the UI is now ready for it
2024-05-23 19:59:57 +02:00
Dieter Plaetinck
1c84d91834
convert form to stateful, show ingredient preview
2024-05-23 19:59:57 +02:00
Dieter Plaetinck
63d37175c4
show reminder of macro's on ingredient tiles
2024-05-23 19:59:57 +02:00
Dieter Plaetinck
55d36eb301
improve design
2024-05-18 22:42:18 +02:00
Dieter Plaetinck
12c1d0044c
support fibers goal
2024-05-18 21:32:29 +02:00
Dieter Plaetinck
72a85e1cae
not needed param
2024-05-17 09:09:03 +02:00
Dieter Plaetinck
25aa08f3f3
allow picking date when logging ingredient
2024-05-08 22:48:26 +02:00
Dieter Plaetinck
cfd47bc20b
fix a random bug
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
088f31b1f9
cleanup
2024-04-27 16:11:08 +02:00
Dieter Plaetinck
389caf5dda
make nutrition plan form work
2024-04-13 00:08:09 +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
9ef0c10896
Add common widget for macronutritional goals
2024-02-01 15:18:44 +01:00
Roland Geider
6376568ced
Merge branch 'master' into feature/nutrition-goals
...
# Conflicts:
# lib/widgets/nutrition/forms.dart
2023-11-26 16:39:22 +01:00
Miroslav Mazel
d445283cf7
Different fonts + tweaked icons
2023-11-11 12:33:19 +01:00
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
68f0ad46cb
Commit WIP for nutrition page rework
2023-10-17 14:32:02 +02:00
Roland Geider
525fc8efd3
Fix typo
2023-04-09 11:29:55 +02:00
Roland Geider
984df49c41
Add switch to search for ingredients in English as well
2023-03-20 17:14:12 +01:00
Roland Geider
bc2b947b81
Recreate generated files
2022-01-23 20:52:40 +01:00
Adrian Halko
7657230201
Added scanning process into IngredientTypeahead widget.
2021-12-01 15:24:33 +01:00
Adrian Halko
ac43b80e51
Implemented barcode scanner. Added keys to app_en.arb(for alert dialogs and button).
2021-11-22 19:31:21 +01:00
Roland Geider
a77a0cc5db
Show last logged items for quick access
2021-11-08 10:37:57 +01:00
Roland Geider
504e4ffaba
Refactor ingredient search widget
2021-11-03 19:41:05 +01:00
Tomáš Konkoľ
76ce31287f
Add custom ingredient
2021-11-03 09:45:55 +01:00
Roland Geider
74ee9f16d8
Merge branch 'sandimilohanic_master'
2021-10-28 18:00:36 +02:00
Roland Geider
ff0e675860
Some refactoring for last used ingredients
...
It's easier to just use the already existing meal items rather than create
new logs that have the same infos.
2021-10-28 18:00:18 +02:00
Roland Geider
df387c923d
Plan is not final
...
The object gets overwritten when a new plan gets created
2021-10-28 16:58:48 +02:00
Sandi Milohanić
884103a038
Merge branch 'master' into master
2021-10-28 12:59:36 +02:00
Sandi Milohanić
cfed221974
fix
2021-10-28 11:14:09 +02:00
Sandi Milohanić
a87351b470
Code fixing
2021-10-28 11:08:51 +02:00
Sandi Milohanić
b402f445a2
Add quick access to logged products #79
2021-10-27 18:01:43 +02:00
Marvin M
9d479e89b0
const_constructors
...
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00