LuxMiranda / herms

:stew::fork_and_knife: A command-line manager for delicious kitchen recipes
GNU General Public License v3.0
198 stars 43 forks source link

Nutritional Information #22

Open hschallh opened 7 years ago

hschallh commented 7 years ago

Add optional caloric / nutritional information. Thoughts:

LuxMiranda commented 7 years ago

You actually bring up a good point here. We don't yet have serving information as info in each recipe... Before you'd be able to properly calculate nutritional information for so many servings, that would be pretty necessary. That would be implemented by #13 . You could still start working on it though while we take care of that. I might end up doing that this weekend.

Wild micro-managy opinions follow, please disregard if you dislike them or they seem scary:

As far as the information goes, I think that Calories, fat, carbs, and protein is a perfect set of nutritional data. I conjecture that most folks that are concerned with more than just calories and macro-nutrients will probably be using some other specialized software anyway. (Do speak up if you disagree!)

I think it should definitely be displayed when you view a recipe. An optimal place would probably be between the description and the directions, but I'd encourage you to experiment to see what feels most natural. :)

I think it would be cool to make adding the nutritional info a separate Brick interface that you can jump to from the main "Add" screen or pass a flag from the command line to only edit the nutritional info.

LuxMiranda commented 7 years ago

@hschallh #27 has implemented recipes containing serving information. Go crazy! :)

hschallh commented 7 years ago

I think having it in "Add" is a good idea. I'll pull the changes and get started!

LuxMiranda commented 7 years ago

Yay! Good luck :)