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

Display gray checkbox against shopping list items whose quantities have been updated and invalidated #149

Open
jayaddison opened this issue Jun 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jayaddison
Copy link
Member

Is your feature request related to a problem? Please describe.
As described in #148, a user may schedule a recipe (meal) multiple times on their meal planner calendar.

It's possible that when they are adding a new scheduled meal that some of the ingredients/products from that meal already exist in their shopping list - and may have been previously checked to indicate that they've been purchased.

We can't know for sure what quantity of the ingredient the user may have purchased, so we can't determine whether to untick the checkbox or leave it checked.

Describe the solution you'd like
Would should leave the shopping list ingredient checkbox ticked, but also gray it out (or somehow otherwise highlight it) to indicate that the ingredient purchase state has been invalidated by meal plan changes.

Additional context
This issue has branched off from #2.

@jayaddison
Copy link
Member Author

NB: Invalidation only needs to occur when the scheduled requirements for that ingredient have increased -- if they have decreased then it should be safe to assume that the product has still been purchased in sufficient quantity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant