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

allow ingredients withou amount #2233

Open
mkaut opened this issue Apr 7, 2024 · 3 comments
Open

allow ingredients withou amount #2233

mkaut opened this issue Apr 7, 2024 · 3 comments
Labels
Backend Issue or PR related to the backend code enhancement New feature or request Frontend Issue or PR related to the frontend code

Comments

@mkaut
Copy link

mkaut commented Apr 7, 2024

In many recipes, the amount of seasoning (salt, pepper, etc) is often unspecified, with the understanding that this means "according to your taste".
If I do this in the Cookbook, the ingredient gets marked with an exclamation mark and a warning that it cannot be recalculated - which i only annoying - it is kind of obvious that if there is no number, it does not get recalculated, there is no need for a warning.

Could we get an option for removing the warning?

@mkaut mkaut added the enhancement New feature or request label Apr 7, 2024
@grantmulholland
Copy link

Yep, just ran into this myself. I'd rather not have to explain that the error is fine to ignore.

@christianlupus
Copy link
Collaborator

Yeah, the point is that the recalculation might fail in other situations as well. This exclamation mark is a warning that the line was not parsable. However, one could add a config option to disable it.

@christianlupus christianlupus added Backend Issue or PR related to the backend code Frontend Issue or PR related to the frontend code labels Dec 2, 2024
@jjhuff
Copy link

jjhuff commented Dec 2, 2024

@christianlupus I'm not sure how hard it'd be but, extending the data model (and parser) to support ranges and optional/unparsable quantity would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issue or PR related to the backend code enhancement New feature or request Frontend Issue or PR related to the frontend code
Projects
None yet
Development

No branches or pull requests

4 participants