nextcloud / nextcloud/cookbook
[Feature Request] add option to disable Warning on ingredient calculation
Nobody has claimed this yet.
- 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.
when a portion number is specified, for ingredients which do not follow the regular syntax of "amount unit ingredient", a warning is displayed, which is a good feature. However, this also gets applied to ingredients, which typically do not have an amount specified, e.g. salt and other spices. For such ingredients, the displayed warning should not appear, as it is distracting
Describe the solution you'd like
- a checkbox next to the ingredient while editing the recipe to disable the amount checking
- for existing recipes: treat this box as not checked, until edited to ensure compatibility
Describe alternatives you've considered
- a global option to disable the warning displayed in the recipes or on a per-recipe-basis
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ingredient calculation warning and the recipe editor. Trace how ingredient data is saved so the new checkbox can remain unchecked for existing recipes, then verify that disabling amount checking suppresses the warning while normal checking still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100