Skip to content

[Feature]: set targets as min/max or within a range #336

@GabriF

Description

@GabriF

What feature would you like to see?

I would like to set, for every micro nutrient, whether the target is a minimum or a maximum intake. For example fiber intake is min. 30g but it can go as up as you want; added sugar is max 25g. Then, in the daily report: minimum intake, if passed, it's shown as a green value, red otherwise; maximum intake it's shown red if passed, green otherwise. It can be discussed whether it's better to set a range (e.g. [30, +infty] for fiber, [0, 25] for added sugars) and set green/red bars whether the daily intake is/is not in the range.

What problem does this feature solve?

When I pass some minimum micro nutrients the bar is shown as red, which indicates a "bad" thing in most UI.

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions