Active/disabled switch - feature request

This is the thing I was thinking about many many many times:
would you mind to add the enable/disable switch to filters, sort and group section? The same switch that is already implemented in search box, hidden fields and in filters.

obrazek

In filters it is present only to disable them all, but not separate/selected filters or filter groups, or selected filters inside filter groups, which could be very useful.
The same in sort, where I could temporarily disable some sort criteria while others keep active.
And switches can be useful also in colors section to temporarily disable selected coloring criteria that I don’t want to delete and then create again later.

This could be very handy, time-saving and useful when manipulating with filters, sorting, rows coloring and grouping. The whole workflow could be much more flexible and versatile, without need of creating more and more views just because of one differen filter, sort, color etc.

One more idea for filter groups:
it would be also useful to have one extra thrashcan ikon to delete the whole filter group…

I love this idea! I will discuss it with the team. :ok_hand:

Hello @marcus, we’ve discussed your proposal. We’re concerned that adding too many switches might overcomplicate the UI. Currently, we have a switch for filtering ā€˜all disabled’ which, for some users, is already confusing. So, we are rejecting this feature idea, but we will implement the switch to delete the whole filter group. Hope for your understanding!

@olgatrykush Please reconsider adding a on/off toggle for each filter. I feel like I’m deleting and re-adding filters all day instead of simply turning them on/off.

I can’t see why this would be confusing UI, but perhaps this feature can be enabled for more ā€˜advanced’ users in the Settings?

Thanks for the feedback @avviodigital! Let me re-discuss it with the team :slightly_smiling_face:

1 Like

Hey @marcus @avviodigital, we’ve talked again about this idea and it has been approved. Our new plan is to replace the trash bin icon with the three dots ā€˜ā€¦ā€™, and place two actions underneath — delete or deactivate filters. What do you think about this implementation?

Hi @olgatrykush , I think this would be a better solution.

obrazek

Two reasons:

  1. just one click needed to switch or delete the filter, and
  2. it’s perfectly clear (visible), if and which filters are disabled and which are enabled, when opening the filters menu

What do you think?

2 Likes

Hey @marcus, I’ll leave your suggestion as a comment under the issue addressing this feature request. When someone from the development team picks it up, they’ll sync with our designer to decide on the best solution. Thanks for your input!

(The issue should be created by the end of the week. I’ll share it here once it’s live.)

Hey @marcus, here is an issue: Adding on/off toggle for each filter (active/disabled) (#2673) Ā· Issues Ā· Baserow / baserow Ā· GitLab

@olgatrykush

It seems to me that with version 1.31.1 there was a change in some filters behaviour.
As a workaround for the toggle/on-off functionality for individual filters my team used to just leave some filters blank, but now this seems to lead to a variety of issues for some larger tables and more complicated filter setups.

issues like:

  • leaving the filter blank now actually applies certain filters - I assume for fields which distinguish between empty vs null - and the result is that we either need to delete these filters and set up again a bunch of complicated filter setups Or come up with new ways of workign with views/filters
  • this change also seems to lead to rows skipping after mouse click and seemingly random order/sort changes for filter which have been set up prior to 1.31.1

anyways - this feature (toggle) would really save a lot of people a lot of time :slight_smile:

Hi!

  • leaving the filter blank now actually applies certain filters - I assume for fields which distinguish between empty vs null

Do you have any specific field type/filters combination in mind? For sure, empty values have no effect in some lookup/formula field type/filter type combinations, where values are stored in an array. We’ve introduced some new filters for lookup/formula field types in 1.31.

  • this change also seems to lead to rows skipping after mouse click and seemingly random order/sort changes for filter which have been set up prior to 1.31.1

Can you give a more concrete example?

re blank issue - this seems to mainly affect views when single/multi select fields with filters applied -
I’ve noticed this recently in this config:

  • filters applied to one ā€œboolean fieldā€ and one ā€œsingle selectā€ field
  • a few other single select fields and a formula from AI field with contain filter and left blank.

    with such config - clicking a random field (text in my case) causes the filter to ā€œupdateā€ and show the message in the screenshot.

for context - not sure if related - we generated a lot of AI responses with select options (choice output type) and then we used formulas to extract the value for filtering.

Overall - filter/sort issues still seem to come up more often for single/multi select fields.

As for the second issue with ā€œskippingā€ rows -
it is very similar to this - Sort broken for single select fields in large tables
After applying sort - clicking a row causes it to change order (but I haven’t had a chance yet to dig deeper, as I did in the linked case).

Anyways, I noticed this in conjunction with problems with updating tables after scroll or seeing a ā€œliveā€ update of values via N8N flow. Again - not sure if this is directly related, but,
before the update to 1.31.1, I would see the new values updated by N8N row by row show up ā€œliveā€. Right now - the table stops showing the updates after a while (like a few dozen values get updated and then I have to refresh the page to see the new values).
This also coincides with AI fields failing to show the answers without a page refresh… so kind of similar story.

Again - not sure if this is related, and I would probably need to investigate this further to provide a list of reproducible steps. Still, I was reaaaaaally hoping that such bugs were a thing of the past :slight_smile: in Baserow.