nextcloud / nextcloud/cookbook

Add possibility to automatically calculate calories

Open
#150 5 comments 6 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 would like to request the feature that the calory amount of a dish can be automatically calculated.

Usecase:
Total calories and calories per serving will be displayed alongside the other information.
Add the possibility to filter for dishes based on calory amount.

How would this be possible:
The app should automatically generate a list of ingredients, where a user can add the number of calories per ingredient (cal/100g). This info will, of course, be reused in all recipes. (so one list for recipes, one list for ingredients) Maybe it is even possible to reuse an existing DB for standard values?
About the amount: I guess you would have to use the same unit for the same ingredient everywhere (1 Piece, 10g, 0.5l, ...)

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

The issue names no files, tests, or entry points, so first map the existing recipe and ingredient data and the dish-filtering flow. Define how reusable calorie values, ingredient quantities, total calories, per-serving values, and calorie-based filtering should work before implementation; done means these values are shown and filterable consistently.

Written by the indexing model from the issue text.

Assessment

Domain
data
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.