nextcloud / nextcloud/cookbook

Use a reference to the ingredient in the cooking instruction steps

Open
#2,000 3 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

It would be superb to have the option to reference ingredients from the ingredients list in the text of cooking instruction steps.

ingredient list

ID ingredient
[0] 500g sugar
[1] 3 eggs
[3] 1l milk
[4] flour

cooking instruction steps

[A] take [0] and mix with [4]
[B] add [3]
[C] add [1]

The [0] reference in the cooking instruction steps shall be filled with 500g sugar.
This would result in a text:
[A] take 500g sugar and mix with flour
[B] add 1l milk
[C] add 3 eggs

A user could easily adapt the meal from e.g. 5 portions to 7. The portions in the instruction section would change accordingly.
Additionally when reading the text e.g. how to make dough, you don't have to jump to the ingredients section to see which ingredients you need to focus on in the actual step.

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 identified in the issue. Begin by locating the ingredient-list and instruction-rendering paths, then verify that references expand to ingredient text and update when portion quantities change.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.