Scaling quantity ranges for ingredients #2989
Replies: 3 comments 2 replies
-
My suggested solution for this is that in your instance, work out the measurement you want (say 38g in your 30-45 example) and update the recipe to have that. |
Beta Was this translation helpful? Give feedback.
-
My current workaround is entering the minimum and adding the range in the notes. It is fine, but I think my suggested feature would be better. Although if no-one else sees a problem here, I can live with the featureset as it is |
Beta Was this translation helpful? Give feedback.
-
I'll add my voice to this as something I'd make use of. I've just started using Mealie and the first few recipes I've entered all had ranged ingredients: "3-4 cloves of garlic, 6-7 sage leaves, 100-200ml of water" etc I'm guessing the simplest option would be to store min and max values for an ingredient if someone enters an ingredient amount including a dash. That way there would still be numeric values in the database to make scaling calculations easier. |
Beta Was this translation helpful? Give feedback.
-
First Check
Please provide a concise description of the problem that would be addressed by this feature.
Some recipes give ranges for the quantity of an ingredient like "30-45 grams of gelatin". Currently there is no way to enter this into mealie (somewhat related to #2926).
Please provide a concise description of the feature that would resolve your issue.
Add an operator like "to" to mark a range, so that the input will be accepted and the scaler knows to multiply both ends of the range (so that "30 to 45" scaled by 2 becomes "60 to 90"
Please consider and list out some caveats or tradeoffs made in your design decision
Could be a translation problem, you probably don't want to change the operator based on the translation, so maybe a dash "-" would be the most universal sign. But dependent on how the quantity input is handled, it would be necessary to make sure that "30-45" doesn't get interpreted as "-15"
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions