Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingredients list enhancements #38

Open
ValleBL opened this issue Jun 6, 2024 · 0 comments
Open

Ingredients list enhancements #38

ValleBL opened this issue Jun 6, 2024 · 0 comments

Comments

@ValleBL
Copy link

ValleBL commented Jun 6, 2024

Currently the ingredient is also set as the title for the entry. This will overload the list of ingredients. For me I've changed the title property to null resulting in a clean list.

title="", quantity=quantity, unit=measure, note=note, food=food
Maybe overthink this or make it a toggle option in the ENV file.

Furthermore while inspecting the json response I came across the attribute "ingredient.ingredient.typ" (Value "regular" or "basic")
I guess this represent the two groups "Du brauchst" (-> regular) and "Das hast du bestimmt zu Hause" ("basic")

I tried adding python code to group the ingredients by the typ, but unfourtuantly did not found a working solution.
Maybe someone with better python skills can review this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant