nextcloud / nextcloud/cookbook
Add support for `suitableForDiet` property to indicate dietary restrictions
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 641
- Forks
- 113
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 26
Description
I'd like a new option added to the drop-down list of "Nutrition Information". Please add "Dietary Restriction Compliance" or similar as a way of adding a list of dietary restrictions that the recipe is complaint with. In use, we would select this new option then manually type the list of allergens it doesn't have or diets it conforms to. I know we can use the "categories" section to get a similar function, but I think this is better kept out of the other types of categories AND it should print along side the Nutrition Information section.
Example:
Dietary Restriction Compliance- peanut allergy, nightshades allergy, vegan, vegetarian
Further, it would be awesome if the text box also worked just like the categories item works, where we can select from existing or add new phrases. However, as a quick, partial fix, we could just have the option added with a standard text box.
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 examining the existing Nutrition Information dropdown and the categories behavior described in the issue. Determine how a dietary-restriction value would be entered, stored, and printed alongside Nutrition Information, including whether selectable existing phrases are required. Done means the new option works consistently in the recipe editor and printed output.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100