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

[Controls] Quickly enable or disable groups of filters #181786

Closed
Tracked by #154667
Erikg346 opened this issue Apr 25, 2024 · 8 comments
Closed
Tracked by #154667

[Controls] Quickly enable or disable groups of filters #181786

Erikg346 opened this issue Apr 25, 2024 · 8 comments
Labels
impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:large Large Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@Erikg346
Copy link

Describe the feature:

Provide a visualization button that changes between enabled or disabled configured filters.
This can be a toggle or active button,
image

Describe a specific use case for the feature:
Our users keep asking about applying buttons to our dashboards. This is synonymous with using a filter (I know what you'll say: why not just disable or enable filters). This button would make it easier for users to click on or off a switch.

I'm currently using Markdown, but it's looking more outdated.
image

@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 25, 2024
@dej611 dej611 added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Apr 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 26, 2024
@ThomThomson
Copy link
Contributor

@Erikg346 interesting idea! So the author would define groups of filters behind the scenes, and the user would be able to toggle those filters on and off with one click?

@ThomThomson ThomThomson changed the title [Dashboard] Add Button where you can assign filter(s) [Controls] Quickly enable or disable groups of filters Apr 26, 2024
@ThomThomson ThomThomson added loe:large Large Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Apr 26, 2024
@Erikg346
Copy link
Author

@ThomThomson yes exactly!

@ThomThomson
Copy link
Contributor

We don't have an issue for this already, but we've been thinking of a custom control type where each option in the list is user-defined and can correlate to one or more author defined filters / queries.

This seems similar to that, but as a button or switch instead of a dropdown. The dropdown has an advantage of multiple user-defined groups, whereas the button / switch is quicker for the end-user.

@Heenawter
Copy link
Contributor

Heenawter commented Apr 26, 2024

@ThomThomson

but we've been thinking of a custom control type where each option in the list is user-defined and can correlate to one or more author defined filters / queries

With this idea + "Select all" , this would effectively cover the toggle idea I think - it would just be one extra click, assuming we embed the "Select all" button in the popover 👀

@nreese
Copy link
Contributor

nreese commented Apr 26, 2024

This is very similar to an old kibana plugin that provided authors with the ability to create a list of lucene queries that users could toggle as needed https://github.com/nreese/ez-query

@ThomThomson
Copy link
Contributor

I think the other difference is that the author would be able to build filters into this toggle that go beyond just selections of field values.

For instance - what if the toggle contained filters on multiple fields from multiple data sources with AND/OR support. The author is basically providing a list of pre-configured views.

Just from a cursory glance at EZ-query this looks like the exact use case!

@ThomThomson
Copy link
Contributor

Moving this to our icebox because it's a fairly rare use-case.

@ThomThomson ThomThomson closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:large Large Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

6 participants