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

Store enabled/disabled state of the chart at the top of Discover #112466

Closed
garyjblackwell opened this issue Sep 16, 2021 · 10 comments · Fixed by #114534
Closed

Store enabled/disabled state of the chart at the top of Discover #112466

garyjblackwell opened this issue Sep 16, 2021 · 10 comments · Fixed by #114534
Assignees
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@garyjblackwell
Copy link

Describe the feature: Each time I open Kibana for Elastic Search Security, there's a chart at the top of the search results. I am always turning off this chart, and it just comes back. Please add an option or simply leave it off unless I click to show it.
Thanks,
Gary

@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 16, 2021
@stratoula
Copy link
Contributor

Hey, thanx for reporting this. You mean in the Discover page? This chart?
image

@garyjblackwell
Copy link
Author

Hey, thanx for reporting this. You mean in the Discover page? This chart?
image

Yes, that chart.

@stratoula stratoula added Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Sep 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 17, 2021
@stratoula
Copy link
Contributor

stratoula commented Sep 17, 2021

Which version of the stack are you using? I think that this is solved in recent versions.

@garyjblackwell
Copy link
Author

Which version of the stack are you using? I think that this is solved in recent versions.

I think it is 7.14.1.
image

@kertal
Copy link
Member

kertal commented Sep 20, 2021

The state of this field is saved with a saved search, however, think we could offer an Advanced Setting to set the default value to "Off"

@garyjblackwell
Copy link
Author

Thank you

@timroes
Copy link
Contributor

timroes commented Sep 21, 2021

@kertal I think an advanced setting might be a bit "too much" and also hard to find for users who are actually expecting that behavior. What do you think about just storing the latest used show/hide chart state in localstorage and we by default apply that to any direct link to discover and new discover search (i.e. for everything not a saved object and thus having that state stored internally)?

@kertal
Copy link
Member

kertal commented Sep 21, 2021

@timroes sure, this is also a nice solution

@garyjblackwell
Copy link
Author

Sounds good

@timroes timroes changed the title Permanently turn off the chart at the top of the Security search results Store enabled/disabled state of the chart at the top of Discover Sep 23, 2021
@timroes timroes added the enhancement New value added to drive a business result label Sep 23, 2021
@majagrubic majagrubic self-assigned this Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants