-
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
[Feature Request] Auto copy after generating Short URL #18872
Comments
@elastic/kibana-sharing |
Generating the short URL requires a round-trip to the server. This means it can be laggy. I think placing something into the clipboard after a possibly long delay is worse than requiring the user to click "copy to clipboard" after the short URL has been generated. An alternative might be to always generate both a long and a short URL for all dashboards, so that the short URL is available instantly, rather than requiring a round-trip. Then, I think it would be OK to automatically place it in the clipboard. |
@chrisdavies I think with the proper UI treatment it could work fine. If we had a clear indication directly next to/around the button you clicked that something is happening and then a clear indication that it has finished and copied to clipboard, I suspect it'll be fine. I think that's how most of the short url services do it. Creating short URLs for every possible combination of things you can do with a dashboard would be pretty heavy handed. Simply clicking around on a dashboard could result in dozens of short URL documents. |
Hm. I was thinking it would simply be a link to the dashboard itself (as persisted in ES, in which case it'd one per dashbaord document). I didn't realize it contained the current UI state. So yes, you're right that's not a workable solution! |
#21997 migrates the sharing UI to EUI. After that is merged, it would not be difficult to wrap the create short URL switch in |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Closing this as not something we are comfortable to implement (automatically copying text into user's clipboard). |
Kibana version: 5.6.8
Elasticsearch version: 5.6.8
Server OS version: Windows Server 2012 R2
Browser version: Chrome 63
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.): Zip file
Describe the feature:
Currently, after I generate a short URL, I have to click the Copy link/button to copy the short URL to clipboard. I use this feature very often and it would be great if after the short URL is generated, it is copied to clipboard automatically, which would save me another unnecessary click.
I think it makes sense because whenever users click on Short URL button, they would also copy it right away to paste it somewhere else, perhaps IM or email, so Short URL + Copy should be a chained action rather than two separate actions. This is similar to the Paste and Go in the URL box of Chrome or Firefox.
The text was updated successfully, but these errors were encountered: