-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Improve studio/tag/performer filtering #3619
Improve studio/tag/performer filtering #3619
Conversation
Just looking at that image, it's hard to tell what's going on. "#1" appears to be included, "#2" excluded, but what's going on with the other three? Can I suggest something like what Pornbox uses? If you're unfamiliar, they list out all their tags and you can search to filter them down. When you click on a tag, you including it. When you hover over a tag (even those not selected yet), there's a button to invert the selection and make it exclude. If the tag is already being excluded, the button is to include. To disable the tag entirely, just click on it again. Some of these elements (namely listing all the tags out to start with) won't work in Stash. Perhaps after a tag is searched for and added, it's still displayed as it is currently. The cross on the right will remove the tag, but clicking on it inverts it and changes the colour. A hover effect can be added to help show this perhaps. I whipped up an example quickly. I realise it's probably not the clearest so maybe somewhere between the two? |
i build it and tested it which makes it a lot clearer. you are right with "#1" and "#2" the three after that are a list of the tags currently not selected which you can either include by clicking the area from the + till the - and exclude by clicking on the -. |
Partially related #304 |
I wondered if there was a way to clarify what the red minus does. On Bang's filter, it looks like hovering over the minus reveals a |
I feel like the system shown here will break child tag integration. Example :
How to configure and show this in the UI? |
you would just filter for "cùmsh0t" with |
following |
I am seeing frontend crashes on this branch. When I load a saved filter from the scenes page, I get
And again while loading the homepage (where some rows are displayed filters):
|
38e3833
to
06f6358
Compare
I have fixed the errors I mentioned in my latest commit to this branch. There is one final thing my testing showed: Clicking the green 'include' button on a studio filter causes all of the red exclude buttons to disappear, and vice-versa. This means that you can't have both inclusionary and exclusionary filters on studios. The functionality otherwise works in tags and performers. |
The thinking behind this is that including studios implicitly excludes all others, however this is false once we introduce studio hierarchies into the mix. I've changed it to be consistent with the other field behaviour. |
One last bug report: In the filter editor, it is impossible to remove a studio or tag that you have included. The little 'x' does not have any action. All other functionalities tested successfully. |
I'm not able to reproduce this in Chrome. Which x button are you pressing to remove? |
Also can't reproduce, tested on Vivaldi and Firefox. |
(Tested on Firefox)
I think the same issue also affects studios. |
This also caused a UI crash with saved filters containing a performer criterion. All cases should now be fixed. |
$200 bounty added (partial from |
Resolves #2692
Related to #2122
Refactors the studio/tag/performer filter to present items in a selectable list allowing both inclusions and exclusions. Modelled on the Bang website filtering UI.
This is not fully complete: unit tests need to be fixed, some UI issues to be ironed out, and the hierarchical studio/tag filtering needs proper testing. Submitted now to seek feedback on the UX.