lneugebauer / nextcloud-cookbook

Android client for Nextcloud Cookbook app.
https://lneugebauer.github.io/nextcloud-cookbook/
MIT License
54 stars 9 forks source link

Option to change servings/portions #62

Closed yashino91 closed 4 months ago

yashino91 commented 10 months ago

Is your feature request related to a problem? Please describe. Most recipes specify an exact amount of ingredients for a certain number of people. Since this rarely matches the amount of servings I need, it's kind of frustrating and also failure prune to do this in my head.

Describe the solution you'd like As in the nextcloud webapp, it would be very helpful if we had the option to change the portions and automatically recalculate the amount of ingredients needed with a control like this: image

Maybe it would make sense to put it just before the text "Ingredients for x servings": image

Describe alternatives you've considered Maybe its also an option to use a slider to change the amount of servings

lneugebauer commented 10 months ago

Hi @yashino91, thanks for your suggestion. I discovered this feature in the web app a few weeks ago and was already thinking about adding it to my app as well. I'll definitely implement this at some point, but I want to take a look at the code from the web app first as it seems to work quite well to reimplement this in my app.

yashino91 commented 10 months ago

Hey @lneugebauer, thanks for you fast response and your great work overall so far. I am very glad to hear that. Looking forward to see the feature in action.