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

Feature request - category filters modifiers #401

Open
RadekPilich opened this issue Jan 30, 2025 · 2 comments
Open

Feature request - category filters modifiers #401

RadekPilich opened this issue Jan 30, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@RadekPilich
Copy link

RadekPilich commented Jan 30, 2025

The simplest version of what I am suggesting is to differentiate left / right click or plain click / modifier click (shift, ctrl, alt) on category filters, so that two types of clicks are recognized:

  1. additive - current implementation - filters are added / removed from the active filter set
  2. exclusive - so that active filter set is completely discarded and only the newly clicked filter is active

Possible more advanced filtering would also include "exclusionary" modifier click, so that instead of including the clicked category into the active filter set (check mark) the excluded category would be excluded from the results set (indicated with cross/minus mark instead of check mark).

That would be useful only in cases, where people use more than one category to tag a single sound and would like to return for example sounds categorized as plucks but not those, that are also categorized as stab.

@christofmuc
Copy link
Owner

Good idea! The "simple query" builder is already pretty complex given you have the modifiers at the top (all must match).

I am designing also for touch screen users, so if we use the right click it can be only as an additional feature that must be accessible also via left click. But the idea for "click and reset" sounds great, like you switch from Leads to Organ, and now always have to click Organ and then click Leads to deselect those, a right click on Organ could automatically cause the reset and restart the search. With touch screen, you have to still do the double click but you're faster anyway.

The exclude function sounds very powerful, but increases the complexity quite a bit, I'd split that out into a separate issue for a future more complex query!

@markusschloesser
Copy link
Collaborator

I am designing also for touch screen users, so if we use the right click it can be only as an additional feature that must be accessible also via left click.

I suggest touch+hold for touch screens. This is a learned behavior also used a lot by others. You usually can distinguish between click and touch, does Juce also?

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

No branches or pull requests

3 participants