-
-
Notifications
You must be signed in to change notification settings - Fork 854
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
feat: Move "on hand" and "last made" to household #4616
feat: Move "on hand" and "last made" to household #4616
Conversation
…relationships-to-households
…relationships-to-households
Merged this with main now that the cocktail builder is in and updated the logic as needed |
…relationships-to-households
@@ -22,7 +22,6 @@ | |||
} | |||
resetDialog(); | |||
" | |||
:submit-disabled="isCreateDisabled" |
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.
This was duplicated above somehow
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.
I think this is good to go, was more straight foreward than i expected an 2k line PR to be 😊
welp should have merged the ruff stuff afterwards. |
…relationships-to-households
All good, it probably would've messed the ruff PR up anyway |
What type of PR is this?
(REQUIRED)
What this PR does / why we need it:
(REQUIRED)
This feature migrates food on-hand and tool on-hand to be configured per-household, as well as the recipe's "last made" property. The user experience is mostly the same,
(this plays nicely with the cocktail builder PR, although it may generate some merge conflicts)fixed now that it's merged.While working on this PR I also uncovered/fixed a few existing issues:
orderBy
param must be in snake case, while filters can be in either snake case or camel case. This PR fixes this by allowing camel case in the order byWhich issue(s) this PR fixes:
(REQUIRED)
N/A
Special notes for your reviewer:
(fill-in or delete this section)
If this is merged before the cocktail builder, I will update that PR to use the new on hand properties. If the cocktail is merged before this, I will fix it in this PRfixed.Testing
(fill-in or delete this section)
Pulled up two browsers with users from different households, as well as a bunch of backend tests.