-
Notifications
You must be signed in to change notification settings - Fork 36
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
Loader tool: Fix filtering #783
Conversation
Didn't read fully (looong text), but can confirm it is not intentional and should be fixed, could you try if the issue with groups (multiselection of folders) also occurs in develop? |
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 can't seem to break the filtering now. 👍
It works
So, works as intended.
I do still think that the filter by status finding the "latest version" that matches of a product instead of actually filtering the list is a bit confusing behavior. I wouldn't have expected it and I wonder whether we need a tooltip explaining that AND/OR even have a toggle to disable that. It disallows me to find the "approved" versions that are currently listed (those that are the latest version).
I'll create another issue for that.
Also, it only dawned on me now that it ALSO filters the version selection boxes of the products 🤯 - it's actually quite nice, but still unexpected for me.
And a minor cosmetic one is that if it does filter out e.g. two products when multiselecting three folders that have a product by that name is that the "header" group of the multiselection will still list the number (3)
at the end even though only one is listed.
This is hardly an issue - but just wanted to point that out.
Changelog Description
Loader tool can enable/disable grouping of products and filtering by product types and status names should work.
Additional info
This was broken with new statuses filter which required to pass status names on model refresh, which was mid-solution that is not necessary at the end. So changed the logic of Products model refresh back to previous integration to not require status names on refresh.PR changed during it's lifetime as was discovered that the whole filtering was not working. Product type filtering was completelly broken and statuses filtering did break UI for multiselection of folders. Also products under group item did not propagate version change from combobox in specific cases.
Testing notes:
Resolves #782