posit-dev / positron

Positron, a next-generation data science IDE
Other
2.46k stars 73 forks source link

Data explorer: exclusive filters #4375

Open davidrsch opened 1 month ago

davidrsch commented 1 month ago

It could be very handy to have not filters for all available filters. Just like is null-is not null and is equal-is not equal. When filtering text columns could be very handy to have no contains cause you may not know all possible values but do know those you don't want. I see how this can be troublesome enlarging the numbers of filters listed, so I thought that adding a checkbox when for is not(or does not) filtering could help. This checkbox could also be added to the filter bar along with the filter.

jthomasmock commented 1 month ago

Thanks for the feature request!

For posterity, here are the filters.

image

We should have a "Does Not Contain" filter.

We acknowledge there are already a few clicks here, so we'd prefer to have discrete buttons over a toggle + button.

wesm commented 2 weeks ago

Seems like adding "does not contain" right away would be low hanging fruit that we should do regardless of whether we add a negation toggle?