You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nutrition page should behave and look as similar as possible to the web variant. Since we will need some new charts, we need to wait till #433 is done, there is some basic work done in feature/nutrition-goals
Basically we have some new fields,
onlyLogging
goalEnergy, goalProtein, goalCarbohydrates and goalFat
If only logging is active, buttons allowing the user to add a meal are hidden. The planned nutritional values for a plan are either the values from the goal* fields or the calculated values from regular meals.
There is also a new "pseudo meal" box that shows all logs for today that don't belong to any meal
Here are some screenshots from the web:
Dashboard
Goal calories, protein (not fulfilled) and carbohydrates (over the limit, perhaps make this red?). Fat has no goals and just counts up
No goals (just count up)
Detail page
Only-logging flag activated (there is no button to add meals).
Form
The text was updated successfully, but these errors were encountered:
Add support for nutrition goals as implemented in wger-project/react#799 and wger-project/wger#1437
The nutrition page should behave and look as similar as possible to the web variant. Since we will need some new charts, we need to wait till #433 is done, there is some basic work done in
feature/nutrition-goals
Basically we have some new fields,
onlyLogging
goalEnergy
,goalProtein
,goalCarbohydrates
andgoalFat
If only logging is active, buttons allowing the user to add a meal are hidden. The planned nutritional values for a plan are either the values from the goal* fields or the calculated values from regular meals.
There is also a new "pseudo meal" box that shows all logs for today that don't belong to any meal
Here are some screenshots from the web:
Dashboard
Goal calories, protein (not fulfilled) and carbohydrates (over the limit, perhaps make this red?). Fat has no goals and just counts up
No goals (just count up)
Detail page
Only-logging flag activated (there is no button to add meals).
Form
The text was updated successfully, but these errors were encountered: