kptncook icon indicating copy to clipboard operation
kptncook copied to clipboard

Ingredients list enhancements

Open ValleBL opened this issue 1 year ago • 0 comments

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.

ValleBL avatar Jun 06 '24 08:06 ValleBL