Replies: 4 comments
-
Really like this. |
Beta Was this translation helpful? Give feedback.
-
From what I have considered, there are two broad categories of variants:
On an unrelated note, my own preference would be to have variants require an explanation to why the variant might be chosen. It's frustrating to see a recipe which says a particular step or ingredient is optional: is it worth it for me to do or not? Some may be fairly obvious: "add raisins to your muffins if you want a sweeter muffin". Others may be less clear. |
Beta Was this translation helpful? Give feedback.
-
The use cases I have mind would be relatively generic recipes that serve as the base for a number of different possibilities. For instance, we cook a simple "rice and beans" dish that can go with pinto beans, kidney beans, or black beans - but we use different seasonings for each. Or a cookie recipe base that can make chocolate chip, oatmeal raisin, peanut butter, etc, by adding different extra ingredients at various stages. |
Beta Was this translation helpful? Give feedback.
-
I was just thinking about this and came to the same conclusion as the first post |
Beta Was this translation helpful? Give feedback.
-
There are often recipes which are variations on a theme, with broadly similar preparation methods and it would be helpful to support these. For simple cases (eg substituting a different type of fruit) it might be enough to use optional ingredients (#50) and alternative ingredients (#68), however for more complex differences this wouldn't work so well. There is also the question of specifying which options you want to use - sometimes it could be controlled by the shopping list config (eg if you always want the vegan version, leave animal products off of the shopping list config), but if the only difference is blackberries vs blueberries, that's not so good.
As an initial syntax proposal, how about a variation tag (or tags) in square brackets.
When preparing a shopping list or viewing the recipe etc in the CLI, the variation could be selected by using a command-line flag or URL fragment, for example:
In GUIs, presumably a drop-down menu or similar would be available. Maybe there should be a standardised way to specify "pretty" names too?
Beta Was this translation helpful? Give feedback.
All reactions