Skip to content
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

Closed
anhlqn opened this issue May 7, 2018 · 7 comments
Closed

[Feature Request] Auto copy after generating Short URL #18872

anhlqn opened this issue May 7, 2018 · 7 comments
Labels
enhancement New value added to drive a business result Feature:SharingURLs Short URLs and Share URL features Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@anhlqn
Copy link
Contributor

anhlqn commented May 7, 2018

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.

@ppisljar ppisljar added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc enhancement New value added to drive a business result labels May 7, 2018
@epixa epixa added :Sharing and removed Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Aug 24, 2018
@epixa
Copy link
Contributor

epixa commented Aug 24, 2018

@elastic/kibana-sharing

@chrisdavies
Copy link
Contributor

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.

@epixa
Copy link
Contributor

epixa commented Aug 24, 2018

@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.

@chrisdavies
Copy link
Contributor

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!

@nreese
Copy link
Contributor

nreese commented Aug 24, 2018

#21997 migrates the sharing UI to EUI. After that is merged, it would not be difficult to wrap the create short URL switch in EuiCopy tag and call the copy function when the short URL is returned

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:SharingURLs Short URLs and Share URL features and removed :Sharing triage_needed labels Sep 14, 2018
@stratoula stratoula added Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 29, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@vadimkibana
Copy link
Contributor

Closing this as not something we are comfortable to implement (automatically copying text into user's clipboard).

@vadimkibana vadimkibana closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:SharingURLs Short URLs and Share URL features Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

10 participants