{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5523","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5523/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5523/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5523/events","html_url":"https://github.com/elastic/kibana/issues/5523","id":119516141,"number":5523,"title":"Improve interface for sharing urls","user":{"login":"BigFunger","id":12193008,"avatar_url":"https://avatars.githubusercontent.com/u/12193008?v=3","gravatar_id":"","url":"https://api.github.com/users/BigFunger","html_url":"https://github.com/BigFunger","followers_url":"https://api.github.com/users/BigFunger/followers","following_url":"https://api.github.com/users/BigFunger/following{/other_user}","gists_url":"https://api.github.com/users/BigFunger/gists{/gist_id}","starred_url":"https://api.github.com/users/BigFunger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigFunger/subscriptions","organizations_url":"https://api.github.com/users/BigFunger/orgs","repos_url":"https://api.github.com/users/BigFunger/repos","events_url":"https://api.github.com/users/BigFunger/events{/privacy}","received_events_url":"https://api.github.com/users/BigFunger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/discuss","name":"discuss","color":"cc317c"},{"url":"https://api.github.com/repos/elastic/kibana/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-30T15:36:07Z","updated_at":"2015-11-30T18:27:35Z","closed_at":null,"body":"From @tsullivan in #5497\r\n>It might be preferable to have these in <textarea readonly=\"readonly\"></textarea> and have it so when you click inside, it auto-selects the block for easy copying. Kind of like is shown in this trick: https://css-tricks.com/snippets/javascript/auto-select-textarea-text/\r\n\r\nI didn't want to implement this in #5497 because it was slightly out of scope for that issue. There was also in the past, functionality that allowed the user to copy the url into the clipboard. Since that functionality was removed, I agree with Tim that the user experience is less than ideal. Figured I would offer this up for some discussion."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/160715129","html_url":"https://github.com/elastic/kibana/issues/5523#issuecomment-160715129","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5523","id":160715129,"user":{"login":"tsullivan","id":908371,"avatar_url":"https://avatars.githubusercontent.com/u/908371?v=3","gravatar_id":"","url":"https://api.github.com/users/tsullivan","html_url":"https://github.com/tsullivan","followers_url":"https://api.github.com/users/tsullivan/followers","following_url":"https://api.github.com/users/tsullivan/following{/other_user}","gists_url":"https://api.github.com/users/tsullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/tsullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsullivan/subscriptions","organizations_url":"https://api.github.com/users/tsullivan/orgs","repos_url":"https://api.github.com/users/tsullivan/repos","events_url":"https://api.github.com/users/tsullivan/events{/privacy}","received_events_url":"https://api.github.com/users/tsullivan/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T18:27:35Z","updated_at":"2015-11-30T18:27:35Z","body":"https://github.com/zenorocha/clipboard.js/\r\n\r\n> you can show a tooltip saying \"Copied!\" when success event is called and \"Press Ctrl+C to copy\" when error event is called because the text is already selected.\r\n\r\nSince we can change the message if text is only selected (vs. being copied), this sounds like a good recommendation to me."}}