[Dashboard] Hover actions for panels#182535
Conversation
93789ae to
7691975
Compare
c92d076 to
34add9d
Compare
4b90167 to
3d5defd
Compare
c1da327 to
6924815
Compare
cb77397 to
16ff27d
Compare
af90b9f to
c28d3cc
Compare
|
/ci |
c70f2a5 to
43feba8
Compare
|
/ci |
9d93ea8 to
1d78ce5
Compare
@nickofthyme i have rebased, it was already fixed in main |
|
Amazing! Thanks @shahzad31 |
…b.com/cqliu1/kibana into dashboard/floating-actions-for-panels
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
|
|
Starting backport for target branches: 8.x |
(cherry picked from commit 2fdfb8d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard] Hover actions for panels (#182535)](#182535) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Catherine Liu","email":"catherine.liu@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T07:59:41Z","message":"[Dashboard] Hover actions for panels (#182535)","sha":"2fdfb8d769442a7591e982a0dcff40fb8eb1699a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Dashboard","Feature:Embedding","Team:Presentation","loe:large","impact:medium","Feature:Drilldowns","v9.0.0","Project:Dashboard Usability","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.17.0"],"title":"[Dashboard] Hover actions for panels","number":182535,"url":"https://github.com/elastic/kibana/pull/182535","mergeCommit":{"message":"[Dashboard] Hover actions for panels (#182535)","sha":"2fdfb8d769442a7591e982a0dcff40fb8eb1699a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182535","number":182535,"mergeCommit":{"message":"[Dashboard] Hover actions for panels (#182535)","sha":"2fdfb8d769442a7591e982a0dcff40fb8eb1699a"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
This reverts commit 2fdfb8d.
|
Hey @teresaalvarezsoler and folks, This stuff looks awesome! We're going to pick up the 'Explore in Discover' and drop it into our Lens visualisations in Hosts (and try and build it into other things we touch with Lens too). A couple of bits of feedback: 1. We're re-adding our custom action to 'Open in Lens' to the ... drop-down which will open the lens visualisation This is what we had before but we need to re-add it:
Question : For users, being able to open an embedded Lens visualisation as easily as the new hover 'edit' button would be awesome. Can you see this being an option in the future? Note : We can't allow people to use the 'edit' fly-out functionality as we can't let users save the visualisation back to the current place (e.g. all the host views) 2. We'd like to add the ability for people to 'copy to dashboard'
Question: Do you have any plans to make this a standard option in lens that we could add to our visualisations? |
|
Hey @roshan-elastic, we didn't have any plans for these features since we haven't had any requests from solutions until now :) Maybe @ghudgins can sync with you to understand requirements and discuss effort with the team to decide on priorization. |
|
Sounds good @teresaalvarezsoler cc @ghudgins We don't have a strong requirement for these yet so wouldn't want to ask you to prioritise them yet - just good to know your plans. As we look to scale the usage of Lens across O11y, I think we can make a better case for these. |


Summary
Closes #151233.
Closes #175451.
Closes #169677.
Closes #185893.
This updates the design for the actions menu for dashboard panels. With this new design, the most common actions are promoted and available as you hover over the panels.
The remaining actions are available in a context menu similar to the one that exists today but with better organized sections.
Notable changes:
PresentationPanelContextMenu->PresentationPanelHoverActionsExplore in Discoveraction for Lens panelsdiscoverAppicon for actions that redirect to DiscoverChecklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers