VolkovLabs / business-variable

The Business Variable panel builds on top of the regular dashboard variables. It allows you to have dashboard filters in a separate panel, which you can place anywhere on the dashboard.
https://docs.volkovlabs.io
Apache License 2.0
32 stars 0 forks source link

Check and uncheck 'All' #196

Closed gfm-rock-solid closed 2 months ago

gfm-rock-solid commented 2 months ago

Thanks for developing this, I really appreciate it.

But there is an odd behaviour:

If I click 'All' in a multi-value variable, it of course checks all values. When I click one value, it doesn't uncheck this one, but all others.

start situation: [V] All [V] A [V] B [V] C

situation 1, click B from start: [ ] All [ ] A [V] B [ ] C

Expected behaviour:

start situation: [V] All [V] A [V] B [V] C

situation 2, click B from start: [--] All [V] A [ ] B [V] C

situation 3, click All from start: [ ] All [ ] A [ ] B [ ] C

situation 4, click All from situation 2: [V] All [V] A [V] B [V] C

That is the behaviour like in Excel in the column filter. Sometimes I need all except a few. And if I have the check i.e. 35 of 40 values, it becomes tedious. Better uncheck 5 of 40.

I use the latest version of everything available on debian 12.

mikhail-vl commented 2 months ago

@gfm-rock-solid In the latest release 3.4.0 you can unselect only one with Ctrl key: https://volkovlabs.io/blog/variable-panel-3.4.0-20240823/

I hope it works for your use case.