open-eats / OpenEats

:pizza: Self Hosted Recipe Management App :hamburger:
https://open-eats.github.io/
MIT License
670 stars 102 forks source link

Referencing recipes as ingredient in another recipe #103

Open SMeatBoy opened 5 years ago

SMeatBoy commented 5 years ago

How can i reference/link another recipe as an ingredient to a third recipe? The example page has Tasty Chile 1 which uses Tasty Chili 2 as ingredient: https://open-eats.github.io/recipe/1

RyanNoelk commented 5 years ago

In the "Recipe links (Optional)" section, you can type : and it will use type head search to find recipes. Once you find the one you are looking for, select it and it will link it. Feel free to play around with it and you'll see how it works. There is also a tool tip with details on how it works in that section.

random-issue commented 4 years ago

Not to necromance this thread, but also don't know if it warrants it's own thread. Couple of quick notes, it appears that once a recipe is linked you can't "unlink" it. Also the : won't bring anything up until you type any letter, even if the letter isn't in the recipe name. (Btw great work. If I stop drowning in projects I'll see if I can help out with a couple of things here.)

RyanNoelk commented 4 years ago

We can use this thread to track that, thanks for the report :)

skius commented 4 years ago

I'm not sure if this warrants its own thread, but in the recipe link section I can't replicate the effect of the demo site of having a quantity of the linked recipe (e.g. 1 Tbsp Tasty Chili 2). If I link the recipe and then put a number in front of it (incl. space), the rest unlinks. Am I doing something wrong?