NoUmlautsAllowed / gocook

Alternative frontend to Chefkoch. This is a repository mirror from Codeberg.
https://codeberg.org/NoUmlautsAllowed/gocook
MIT License
22 stars 0 forks source link

Feature request - Display servings and/or add servings calculation #41

Closed Tr345ure closed 1 month ago

Tr345ure commented 2 months ago

First of all, this is a pretty neat project!

I'd like to suggest adding support for calculating different amounts of servings or at least showing the original amount of servings that the recipe will produce. This would improve usability quite a bit imo :)

NoUmlautsAllowed commented 2 months ago

Thanks!

I agree, and at least the servings are already available in the data, so this could be added easily. For calculating a different amount, I am not quite sure as it may introduce errors for some ingredients, but we can give it a try :)

It'll take me a few weeks until I can look at it, but feel free to make a contribution if you want to get yourself involved and see this feature earlier.

NoUmlautsAllowed commented 1 month ago

I added the number of servings with b8c0390f0f65c9e18e8e9763c88971a220c87b89. If you still want to see the option to calculate the amount of ingredients for a different number of servings, please open a new issue on Codeberg 🙂