-
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
[Dashboard] Link to maximized panel #145454
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
Noting here that this is actually a regression, because the Bumping this one to |
We have lots of users asking for this feature to return and I'd like to give them some hope. :-) Is there a plan for fixing this regression any time soon? |
@tomhe we haven't prioritized this issue yet as there are more pressing problems. As a workaround, have you tried linking directly to the panel from its editor? For instance if it's a Lens panel, you can share from the Lens interface. |
@ThomThomson, the share feature from inside the Lens panel creates a snapshot link that redirects to the full edit view of the panel. Our use case is mainly to embed a panel in another service, like Confluence or a custom web page as an iframe. Your suggestion would work fine for us if there was an option to hide the edit UI (left and right of panel, search box, filter bar). |
One of the other drawbacks to using the link into the Lens directly is that I believe you lose some understanding of what dashboard that visualization might be embedded in dashboard wise. As for the overall goal of bringing this back, I'm definitely for. For my understanding, would this mean that when the dashboard loads with the panel maximized, other panels wouldn't necessarily be triggered for load until I came out of maximize? |
We've decided to prioritize this feature in the near term. |
## Summary Closes elastic#145454 This PR allows users with a dashboard with an expanded (maximized) panel to be shared to other users via url or the share modal link. To implement this, the expanded panel Id is added to the url: `/app/dashboard/{dashboardID}/{expandedPanelID}_g()_a()` ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios Co-authored-by: Hannah Mudge <hannah.wright@elastic.co> (cherry picked from commit 6030231)
…93458) # Backport This will backport the following commits from `main` to `8.x`: - [[Dashboard] Sharing via link to an expanded panel (#190086)](#190086) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Rachel Shen","email":"rshen@elastic.co"},"sourceCommit":{"committedDate":"2024-09-19T17:38:21Z","message":"[Dashboard] Sharing via link to an expanded panel (#190086)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/145454\r\n\r\nThis PR allows users with a dashboard with an expanded (maximized) panel\r\nto be shared to other users via url or the share modal link. To\r\nimplement this, the expanded panel Id is added to the url:\r\n\r\n`/app/dashboard/{dashboardID}/{expandedPanelID}_g()_a()`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\nCo-authored-by: Hannah Mudge <hannah.wright@elastic.co>","sha":"603023124681429ee900ff3a73793ce31a9cad58","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","loe:medium","impact:medium","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Dashboard] Sharing via link to an expanded panel","number":190086,"url":"https://github.com/elastic/kibana/pull/190086","mergeCommit":{"message":"[Dashboard] Sharing via link to an expanded panel (#190086)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/145454\r\n\r\nThis PR allows users with a dashboard with an expanded (maximized) panel\r\nto be shared to other users via url or the share modal link. To\r\nimplement this, the expanded panel Id is added to the url:\r\n\r\n`/app/dashboard/{dashboardID}/{expandedPanelID}_g()_a()`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\nCo-authored-by: Hannah Mudge <hannah.wright@elastic.co>","sha":"603023124681429ee900ff3a73793ce31a9cad58"}},"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/190086","number":190086,"mergeCommit":{"message":"[Dashboard] Sharing via link to an expanded panel (#190086)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/145454\r\n\r\nThis PR allows users with a dashboard with an expanded (maximized) panel\r\nto be shared to other users via url or the share modal link. To\r\nimplement this, the expanded panel Id is added to the url:\r\n\r\n`/app/dashboard/{dashboardID}/{expandedPanelID}_g()_a()`\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\nCo-authored-by: Hannah Mudge <hannah.wright@elastic.co>","sha":"603023124681429ee900ff3a73793ce31a9cad58"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Rachel Shen <rshen@elastic.co>
Related to #141547.
We should provide a way to jump to a specific panel on a dashboard. When a user is maximized on a panel and wants to share it with another user, the URL should contain the ID of the maximized panel and when pasted, the URL will direct you to the maximized version of the panel in that dashboard.
The text was updated successfully, but these errors were encountered: