-
Notifications
You must be signed in to change notification settings - Fork 5
Additional way to ingore ingredients #21
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
Conversation
- Added UUID generation for ingredients if not provided in raw data. fixes #3 - Introduced in_household method to determine if an ingredient is present in household data. - Updated from_raw_data method to accommodate new UUID and specification handling. - Modified webhook_handler to ignore ingredients present in household data. Ignore ingredients already in household #1
…te on "On hand" ingredients
|
Thank you for your contribution! I will take a look at it in the next few days :) |
I am not sure about that change. Currently we dont update any ingredients on the list. I dit that such that it is possible to add ingredients multiple times. This is necessary if you want to make a multiple of a portion (e.g. 4 servings instead of 2 --> add them twice through the integration). See #15 (comment) (this is
from #15 (comment) but I forgot to implement that) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments above
|
I like that. I will replace |
|
Took care of the ignored ingredients, will take a look at the UUIDs another time |
Implemented in 8f5d330 |
I currently seem to completely understand the benefit of not using random UUIDs and instead using the ones from Mealie as with my approach it is possible to rerun the recipe action to add ingredients multiple times if you want to add multiples of a portion. By using Mealies UUIDs the ingredients are not added multiple times. As a future step before adding an ingredient I't like to check whether it is already on the list and if so increase its amount accordingly. Can you please clarify the benefits of using Mealies UUIDs for me? |



Changes add number of features: