-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Discover] Revisit how filters should be carried over after navigating from Dashboard to Discover #155852
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
@jughosta we probably also need to check with the ESQL saved search table and perhaps unify those also . Cc @stratoula |
Related: #72637 |
In our discussion we decided that it makes sense to keep the filters that are applied to the saved search on a dashboard additionally. So we aim to show the same documents like on the dashboard. However, the user should be indicated that in Discover the resulting state / the additional filters is not the persisted version. So when we implement this, the following issue should already be resolved: #135887 |
@jughosta @kertal I looked into this and put together a quick PR with a working implementation: #159361. But after discussing with @ThomThomson, I think we should reconsider whether this is the right approach. There are two main issues identified:
It feels like we might be mixing two different actions together here that do slightly different things:
|
Yes, I do agree that there are 2 different kind of actions of the user, and therefore it sounds reasonable to have to different UI elements for these actions with a clear naming. So we shouldn't add a quick fix here. |
Currently, we have 2 ways of opening a saved search data from Dashboard:
xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled=true
setting. I guess most of users don't have it.Maybe we could combine their functionality and provide a single default option in the context menu for a saved search panel: open a saved search plus include all current dashboards filters (query, filters, custom time range). Or we keep both options but they should be both available by default then.
Related tickets:
The text was updated successfully, but these errors were encountered: