CivicTechFredericton / mealplanner

Primary Meal Planner repo
MIT License
9 stars 18 forks source link

E3.05 View Meal Nutrition #25

Closed Joycelyn2015 closed 6 months ago

Joycelyn2015 commented 4 years ago

As a Client User, I want to view meal nutrition information so that I know the health benefits and risks.

We should populate the tables directly with the nutrition information, and display on the page. Refer to Meal Recipe Wireframe

Acceptance criteria:

  1. Any nutritional summary must be correct.

  2. For each meal, the Meal Designer will manually specify the info.

Future Features Weekly Meal Plan Nutritional Summary : But for a weekly plan, nutrition info will be calculated from summing that of the individual meals. However, if any of the meals is missing info, that info for the weekly pan should be shown as "unknown". In other words, any single missing field renders the sum invalid. This is a fail-safe; all meals should have all fields filled in by the Meal Designer.

Joycelyn2015 commented 4 years ago

We should populate the tables directly with the nutrition information, and display on the page.

Joycelyn2015 commented 4 years ago

Marco: Created a React component for 5-star ratings

Monty-Mason commented 3 years ago

Tested - working.

**Future improvement suggestion:

shanthisa commented 8 months ago

Currently nutrition is not displayed in the meal. This is an epic which needs to be broken down into multiple issues. This can be part of the next release probably v3.

  1. Design the nutrition of meal to be displayed as part of meal recipe page
  2. Implement the design to render the nutrition
  3. Long-term change: Bring React admin into the same main app based on role, and give an easy, user-friendly option to enter the nutrition values. I would create these tickets after v2.
shanthisa commented 6 months ago

Implemented display of nutrition data of meal in #614. So closing this issue.