{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2314","labels_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2314/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2314/comments","events_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2314/events","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2314","id":70724352,"number":2314,"title":"UI redesign: Share menu","user":{"login":"kandre","id":8038575,"avatar_url":"https://avatars.githubusercontent.com/u/8038575?v=3","gravatar_id":"","url":"https://api.github.com/users/kandre","html_url":"https://github.com/kandre","followers_url":"https://api.github.com/users/kandre/followers","following_url":"https://api.github.com/users/kandre/following{/other_user}","gists_url":"https://api.github.com/users/kandre/gists{/gist_id}","starred_url":"https://api.github.com/users/kandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kandre/subscriptions","organizations_url":"https://api.github.com/users/kandre/orgs","repos_url":"https://api.github.com/users/kandre/repos","events_url":"https://api.github.com/users/kandre/events{/privacy}","received_events_url":"https://api.github.com/users/kandre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-04-24T15:49:07Z","updated_at":"2015-06-02T17:29:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/pulls/2314","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2314","diff_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2314.diff","patch_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2314.patch"},"body":"This PR updates our Share menu by using [Clipboard API](https://w3c.github.io/clipboard-apis/) with [Html5rocks solution](http://updates.html5rocks.com/2015/04/cut-and-copy-commands).\r\n\r\nSince Document.execCommand() is newly supported by latest browsers version, this solution works only from:\r\n\r\n- IE10+\r\n- Chrome 43+\r\n\r\nHowever, for now:\r\n- Firefox supports this but requires a preference change [See cut and copy commands here](Firefox supports this but requires a preference change). Without this Firefox throws an error.\r\n- For now, it does not work on Safari.\r\n\r\nFor non-compatible browsers, we could eventually inform the user that the copy to clipboard should be done manually."},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/comments/108024176","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2314#issuecomment-108024176","issue_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2314","id":108024176,"user":{"login":"cedricmoullet","id":319676,"avatar_url":"https://avatars.githubusercontent.com/u/319676?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricmoullet","html_url":"https://github.com/cedricmoullet","followers_url":"https://api.github.com/users/cedricmoullet/followers","following_url":"https://api.github.com/users/cedricmoullet/following{/other_user}","gists_url":"https://api.github.com/users/cedricmoullet/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricmoullet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricmoullet/subscriptions","organizations_url":"https://api.github.com/users/cedricmoullet/orgs","repos_url":"https://api.github.com/users/cedricmoullet/repos","events_url":"https://api.github.com/users/cedricmoullet/events{/privacy}","received_events_url":"https://api.github.com/users/cedricmoullet/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:29:46Z","updated_at":"2015-06-02T17:29:46Z","body":"copy_url is not translated\n\n2015-06-02 18:39 GMT+02:00 kandre <notifications@github.com>:\n\n> Here is a test link <https://mf-geoadmin3.dev.bgdi.ch/kan_UI_share_menu>.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/geoadmin/mf-geoadmin3/pull/2314#issuecomment-108009260>\n> .\n>\n\n\n\n-- \nTwitter: http://twitter.com/cedricmoullet\nLinked In: http://www.linkedin.com/in/cedricmoullet\n\n<http://twitter.com/cedricmoullet>\n"}}