Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nutrition diary #284

Closed
rolandgeider opened this issue Apr 28, 2016 · 10 comments
Closed

Nutrition diary #284

rolandgeider opened this issue Apr 28, 2016 · 10 comments
Labels
effort: medium Medium effort/complexity
Milestone

Comments

@rolandgeider
Copy link
Member

The user should be able to enter the food he/she actually ate during the day, as opposed to what was planed with the nutritional plan.

@rolandgeider
Copy link
Member Author

Possible workflow:

  • the user clicks on a "add diary entry" or such
  • the system tries to guess what meal this is supposed to be, based on the time. The user can also either select a different one or enter custom ingredients. Perhaps also present past meals eaten at roughly the same time?
  • the system shows the current daily calories as well as the difference between the plan and reality, macronutrients as well. Possibly color code this?

I think this would be enough for a first step, there are many possibilities for improvement (e.g. show a graph with the planed/actual calories together with the body weight to see how one influences the other). What do you think @ywecur ?

@rolandgeider rolandgeider added the effort: medium Medium effort/complexity label Apr 28, 2016
@ywecur
Copy link
Contributor

ywecur commented Apr 29, 2016

I can think of several additions to this, but as a start to the IIFYM model it should suffice. For a minimal viable product I'd say to leave out your second point and limit it to:

  • Require user to enter caloric and macronutrient presets
  • Add food entry options
  • System shows daily caloric goal & how much is left
  • System shows daily macronutrient goals & how much is left of each

@ywecur
Copy link
Contributor

ywecur commented Apr 29, 2016

I could upload a sketch of my UI idea if you'd like.

@rolandgeider
Copy link
Member Author

Sure, sketches are always useful

@rolandgeider
Copy link
Member Author

I have started working on this on the nutrition-diary branch. To keep things simple, I have started with a very simple data model: there are log entries that are associated with a plan, they have ingredients, a datetime and an optional comment. Then we can just sum up the calories for the day and compare it.

@rolandgeider
Copy link
Member Author

Status here: the only thing missing for a first version is the input form. I want to use angular for this to make something faster and user friendlier than the rest of the site as well as use it as a guinea pig to see if all these technologies the cool kids are talking about are really so awesome ;)

@ywecur
Copy link
Contributor

ywecur commented Oct 18, 2016

How is it coming along?

@rolandgeider
Copy link
Member Author

Didn't have time to work on this the last weeks, hope that will change soon!

@muramasatheninja
Copy link

Any chance progress has been made on this?

@rolandgeider rolandgeider added this to the 2.0 milestone Aug 25, 2020
@rolandgeider
Copy link
Member Author

A simple version of this is implemented and merged in master. Improvements are always possible and will surely come in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: medium Medium effort/complexity
Projects
None yet
Development

No branches or pull requests

3 participants