Bases: Quickly enable/disable filter groups via buttons toggles

Use case or problem

My notes have multiple properties that can appear in multiple combinations. Currently, I use DB Folder like the core Bases plugin, except that DB Folder lets me set up filter groups that I can quickly enable/disable by clicking on their buttons across the top bar.

Currently, the only way to quickly switch filters in Bases is to create views for every combo of filters possible. This quickly becomes untenable. If I have properties A, B, C, D that are independent, I want to be able to turn on/off filtering for each instead of having to make views of every combo of ABCD possible.

Proposed solution

I propose adding enable/disable switches for filter groups, and to show corresponding enable/disable buttons across the top bar, similar to DB Folder. This would do a great job of filling the top space between the view selector and filters+properties. Here are some mockups of how it could look:

Related feature requests

This FR would help serve as somewhat of a solution for:

30 Likes

Use case or problem

Quick check/uncheck(hide/unhide) preset filters

Proposed solution

add hide/unhide(true/false) toggle button

something like this :

Current workaround (optional)

create multiple views, but not as efficient and intuitive.

Related feature requests

10 Likes

That would be super useful. At the moment I’m creating different Tables for my Filter Views.

For example if I want to show “Status” and be able to toggle between them I’m creating a Table and Setting the Filter to “InProgress” and then toggling the View.

Your idea would make it easier to toggle between “Status” using the Filter

Ideally I would like Bases to mimic Notion eventually, easier to click to a view as they’re all inline and if you need to choose a filter you do so like below

5 Likes

Putting this here as it is along the same lines, would be great to have a “hide entire header” / read-only flag in the syntax. Especially for inline bases

2 Likes

This is a thoughtful enhancement.

1 Like

Use case or problem

I’d be useful if you could quickly disable any filter without deleting it.

Proposed solution

Perhaps add a :eye: button than would disable the rule and make it appear dimmed.

Quick mock-up:

11 Likes

+1
Yes, when creating a complex filter in bases, it would be extremely useful to be able to temporarily disable some filter entries.

2 Likes

Use case or problem

For example, you might have a filter that shows all the notes for this month. But if you want to see all notes, you don’t want to remove the filter — just disable it.

Filter groups can have a toggle that disables all the filters inside that group.

what we can do instead

make a view for each specific filter we want

2 Likes

Please GOD I need this specific feature!!!
For all the exact reasons stated above, this would be phenomenal and remove unnecessary redundancy in my setup.
Thank you!

1 Like

I’d also like the ability to temporarily disable a filter or filters with a toggle or by other means.

An example use case

I’m trying out using monthly (YYYY-MM) notes as of last month and wanted an embedded base to:

  • exclude the host monthly note itself
  • pull in any notes having a property of created: YYYY-MM-xx matching the host note
  • pull in any notes starting with the same title YYYY-MM-xx as the host note
  • pull in any notes matching the YYYY-MM-xx ctime of the host note

I’m getting there, but it was a lot of deleting/copying/pasting of filters when trying things out. It would much easier to temporarily disable one or two and try another, etc., to make sure everything was working properly.

1 Like

Yes please. This is the only feature i miss compared to the DB folder plugin (that is no longer supported and can not be downloaded from the plugin store)

My usecase: i have many exercises that have YAML properties like: Body_part: (like back, biceps etc.), and i have property pattern: (like hinge, squat etc.)

My usecase with DB folder is that i have toggleable buttons so i can press “back” and “hinge” and i can see list of exercises that are filtered by that, for instance deadlif, romanian deadlift etc. and i can quicky see my last weight or max weigt or sets for that and i could easily look that up at the gym.