Closed streamich closed 2 years ago
Pinging @elastic/kibana-app-arch (Team:AppArch)
@streamich, @AlonaNadler, some ideas I had during today meeting, not sure if it would be useful, but just food for thought:
This seems hard to implement, but if we do, we will get a nice and seamless previews in any medium. This basically allows to share both link and image using 1 url.
This could be an improvement of initial "Copy url" functionality without any images. so would be nice do design initial implementation with this future use case in mind.
The would look something like this:
e.g.
<meta property="og:title" content="Vis title" />
<meta property="og:description" content="Vis description" />
<meta property="og:image" content="kibana/get_nice_vis.pgn" />
<meta property="og:url" content="url" />
<!-- any other tags usefull for content preview -->
(not sure about security model here and what is the expectation)
Please see this in Slack docs: https://api.slack.com/docs/message-link-unfurling#classic_unfurling
Not sure if we already have a slack app for kibana integration or if this is planned. But with that we could intercept any kibana urls and enrich the preview in any way we'd want. This would work for any kibana link.
The flow would look something like this:
kibana app
installed in SlackThis is similar to what you see when you past github link into slack
https://api.slack.com/docs/message-link-unfurling#slack_app_unfurling
btw, issue of discoverability of this potentially useful kibana slack app is easy to solve. This is how pasting a GitHub link into slack with no installed GitHub app looks:
@Dosant nice idea, we may also use oEmbed and/or JSON-LD. The only thing is security, we need to make that visualization "public" then, I guess.
@streamich, still worth exploring. I guess we could do that content in <head/>
meta tags is publicly accessible including vis image, but to access vis in Kibana user would still require to have creds. We could make this behaviour configurable when user is creating the link. we'd also explicitly explain "access" concerns.
Nice idea @Dosant !!
The ultimate goal: send url with an image when sharing from Kibana In the meeting, we discussed a few options to share I wanted to share how I see these options and the possible outcome :
Share to slack - ability to write a short message and choose a channel/person to share to
Share to email - the ability to add an email and a short text along with the URL
Copy image - ability to copy a PNG image of the chart which can be shared anywhere by pasting
Copy link
Other open questions:
Suggestion for next steps:
cc: @alexh97
Pinging @elastic/kibana-app-services (Team:AppServicesUx)
We had this previous concept that may be a starting point as we revisit this discussion...
Shows the maximized panel view (would also be the landing destination from the shared link)
Thank you everyone who contributed, closing this one as being old and now being tracked in Jira epic.
@elastic-jb isn't this still on our roadmap? Or are we planning to open up a new issue when we kick off work?
Summary
Kibana supports sharing dashboards today, but there is no way to share a single panel. There are many permutations of the general need in our customer requests. The goal of this feature is to allow sharing of a dashboard panel to multiple destinations in multiple formats.
User stories
Some example use cases of this feature are:
Tasks
Panel sharing functionality should live in X-Pack (Gold).
.png
.pdf
Ideas
.html
page which Slack (or other services) can crawl to show a preview image inside a Slack channel..png
images into clipboard, and CSV text data as backup.Designs
Figma mocks
Parent issue: https://github.com/elastic/kibana/issues/92603