-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Dashboard Usability] Edit for panel-level filters #137206
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
Merging this comment from @ThomThomson from #148931 here since both issues essentially cover the same idea. After #146314 is completed, we will have the opportunity to move more settings and panels into a centralized panel settings pane. Should be done alongside #137206 Current StatePanel level filters currently reside in their own popover, and they can be difficult to understand due to the small size of the popover. Additionally, if we were to implement edit functionality in them, we would need more space. Inside the panel settings flyout, a new query section can expose an editable (in edit mode) or readonly (in view mode) unified search bar equivalent that allows filters, query, and time range to be edited in one place on a per-panel basis. |
Changing the Custom time range per panel in Edit mode allows the change to be persisted in the dashboard saved object for all other users. Currently, users in View Mode on a dashboard can modify the Custom time range per panel in the Panel settings flyout. This change is only persisted for that user's session. Should we also allow users in View mode to add or remove per panel filters on the dashboard? Like the Custom time range, this would only be persisted for the user's session. Or should per panel filters only be allowed in Edit mode? In View mode, users would only be able to see the filters applied to the panel, but not add or remove filters. |
One extra bit of complexity regarding allowing changes to panel the time range / filters in view mode - right now any changes made in view mode will trigger an immediate |
I looked at the data from Fullstory, Dashboard users in the last 90 days (paid customers). I used the data-test-sub To make sure this number is right, we also looked into |
To me, these stats mean we can move ahead with making the time range Further, this might actually bode well for removing those badges and notifications altogether when we move to hover actions. |
I've been researching this feature more and feel that per panel filters (including time range) should be available in View mode on a dashboard. When considering this change, I think it helps to consider a user story 1.
I'd like to highlight a few takeaways from this story
Footnotes |
To me this seems like a benefit to users. Like if an author was exploring a potential change in View mode, they might decide they want to persist that change when they shift to editing. |
@nickpeihl you make a very good point that some analysts would be confused and annoyed with the inability to edit / remove filters & queries for individual panels while in view mode. There is a bit of a push & pull right now in regards to analyst freedom vs author customizability. Authors want to make the dashboard as out-of-the box as possible, limiting Analyst freedom to pre-defined interaction points, and Analysts want to be able to change as much as possible without having edit capabilities. I wonder if the solution is to allow the Authors to choose which specific filter pills are read only. This could apply to both the unified search bar at the top of the dashboard, and the unified search bar for each panel. If so, we could make the filters / query / time Range editable in both view and edit mode, then once the read-only filter pill PR is merged, we can trust that authors will lock down any filter pills they don't want view-only users to edit or remove. Do you think that approach would work? |
I was thinking about that exact idea this morning. I agree this would be the ideal solution. |
Related #179820 |
We agreed this is a decision that will fall under the Visualizations team (see discussion here) so I'm closing this issue from our board. |
Describe the feature:
Expanding on #136655, we should allow users to edit their panel-level filters from this new modal since it is currently read-only. This should probably only be accessible if the user is in edit mode - if the user is in view mode, they should still see the read-only filter pills in this modal.
Describe a specific use case for the feature:
It will make the handling of panel-level filters much easier, since users will no longer have to navigate between apps to edit them.
The text was updated successfully, but these errors were encountered: