don-patterson / recipes

A simple React site to display our recipes, formatted with Markdown
https://don-patterson.github.io/recipes/
MIT License
1 stars 1 forks source link

record dependencies #17

Closed don-patterson closed 2 years ago

don-patterson commented 4 years ago

imagine the steps having a link to prerequisite steps..and then you'd have a "git history" type recipe tree. it'd be easy to pass that to a library which could show you what steps can happen at any given time. oh man, you wouldn't have to scroll back and forth thinking "what do i do next?"

don-patterson commented 3 years ago

I'm working on this now in the fastapi branch. I don't know if I'll have much to consume this new format, but essentially I want a tree of Ingredients linked by Instructions. the Instructions will all hang off of a Recipe which will be used to look up the contents of the tree.

well, it's a directed graph moreso than a tree. i..e Instructions will have requirements (ingredients) and products (also ingredients) and it'd be cool if when you were doing the recipe you could just be shown the available (i.e. not dependent on any that haven't been done yet) instructions

don-patterson commented 2 years ago

this was cool to think about, but super inconvenient to implement so I don't think I'll ever get around to it