Closed AndrewSpeelman closed 1 year ago
That might be kinda sucky for mobile users though... maybe we can try to split these values out on the backend.
On desktop, we currently don't allow the user to use measurements such as "1/4", "tsp", etc. We probably do need to keep track of the quantity and name separately but not display it as such, so we can easily add a "scale recipe" feature, which would double, triple, halve the ingredients.
Let's ditch the 'scale' feature, as I don't really care about that, and it would make this easier. Probably YAGNI.
The recipe schematic does not have separate fields for 'quantity' and 'ingredient', it's just one combined field. Let's simplify the ingredients section to combine these two fields to be the same as what the backend returns.