wger-project / wger

Self hosted FLOSS fitness/workout, nutrition and weight tracker
https://wger.de
GNU Affero General Public License v3.0
3.15k stars 580 forks source link

Nutrition diary #284

Closed rolandgeider closed 4 years ago

rolandgeider commented 8 years ago

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 commented 8 years ago

Possible workflow:

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 ?

ywecur commented 8 years ago

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:

ywecur commented 8 years ago

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

rolandgeider commented 8 years ago

Sure, sketches are always useful

rolandgeider commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

How is it coming along?

rolandgeider commented 8 years ago

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

muramasatheninja commented 6 years ago

Any chance progress has been made on this?

rolandgeider commented 4 years ago

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