nextcloud / nextcloud/cookbook

Add ingredient quantities to instructions section

Open
#3,337 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
No, just a nice to have

Describe the solution you'd like
It would be great if the cookbook app could match text in the instructions to what's in the ingredients list, and show quantities.

I'm not great for prepping everything before starting to cook, often starting instruction step 1 before all ingredients are chopped/diced/sliced etc. This means that I am always scrolling between the instructions (e.g.. add garlic and onion to pan) and the ingredients (e.g. "how much garlic and onion?").

Recipe stripper has a good example of parsing the ingredients to display quantities in the instructions, linked here (but I'll try to add a screenshot). It's imperfect but very useful to someone like me.

Image

Describe alternatives you've considered
This would be a completely fresh piece of functionality if it can be implemented, not sure what alternative there is.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the recipe ingredients and instructions entry points, then determine how matching and quantity display should work; done means relevant ingredient quantities appear with instruction text while unmatched text remains usable.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.