Tag numeric values in text fields that scale with recipe scaling #4749
SpencerDub
started this conversation in
Feature Request
Replies: 1 comment
-
Having just looked at my Mealie instance a little more, it seems the current Servings field handles ignoring the non-numeric characters the way I would want for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Please provide a concise description of the problem that would be addressed by this feature.
Certain quantities or numbers in a recipe do not scale when the recipe scales, because they are not ingredient quantities. For example:
Please provide a concise description of the feature that would resolve your issue.
If certain numeric strings within other text fields could be denoted as scalable, perhaps with a syntax as simple as
{{value}}
:Then, when the recipe is scaled, these values are scaled just like ingredient quantities.
Please consider and list out some caveats or tradeoffs made in your design decision
This would probably be an advanced user function, since it feels "code-y" in a way that might scare off users without technical knowledge.
Would have to account for instances when the contents of the tag are not a numeric value—what does Mealie do when told that
{{1 cup}}
(rather than{{1}} cup
) is supposed to scale?Additional Information
Beta Was this translation helpful? Give feedback.
All reactions