nextcloud / nextcloud/cookbook

Add support for `suitableForDiet` property to indicate dietary restrictions

Open
#2,180 6 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.