{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/83244690","pull_request_review_id":4100439,"id":83244690,"diff_hunk":"@@ -1,6 +1,8 @@\n <td colspan=\"{{ columns.length + 2 }}\">\n-  <a class=\"pull-right\" ng-href=\"#/doc/{{indexPattern.id}}/{{row._index}}/{{row._type}}/?id={{row._id | uriescape}}\">\n-    <small>Link to /{{row._index}}/{{row._type}}/{{row._id | uriescape}}</small></i>\n-  </a>\n+  <div class=\"pull-right\">\n+    <a ng-href=\"#/doc/{{indexPattern.id}}/{{row._index}}/{{row._type}}/?id={{row._id | uriescape}}\">View</a>\n+    <span style=\"display:inline-block; width:5px\"><!--spacer--></span>\n+    <a ng-click=\"copyTextToClipboard('#/doc/{{indexPattern.id}}/{{row._index}}/{{row._type}}/?id={{row._id | uriescape}}')\">Copy</a>","path":"src/ui/public/doc_table/components/table_row/details.html","position":null,"original_position":8,"commit_id":"5f39eab4a5b247862f3bc577b2530d8589b585ed","original_commit_id":"8fff50b55089f3352bdfb4d942b612ef6f2cab6f","user":{"login":"styfle","id":229881,"avatar_url":"https://avatars.githubusercontent.com/u/229881?v=3","gravatar_id":"","url":"https://api.github.com/users/styfle","html_url":"https://github.com/styfle","followers_url":"https://api.github.com/users/styfle/followers","following_url":"https://api.github.com/users/styfle/following{/other_user}","gists_url":"https://api.github.com/users/styfle/gists{/gist_id}","starred_url":"https://api.github.com/users/styfle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styfle/subscriptions","organizations_url":"https://api.github.com/users/styfle/orgs","repos_url":"https://api.github.com/users/styfle/repos","events_url":"https://api.github.com/users/styfle/events{/privacy}","received_events_url":"https://api.github.com/users/styfle/received_events","type":"User","site_admin":false},"body":"Thanks. I updated this to use \r\n\r\n```js\r\n$detailsScope.docUrl = `#/doc/${$scope.indexPattern.id}/${$scope.row._index}/${$scope.row._type}/?id=${$scope.row._id}`;\r\n```\r\n\r\nBut what is the equivalent of `{{row._id | uriescape}}`?","created_at":"2016-10-13T15:32:44Z","updated_at":"2016-10-13T15:32:45Z","html_url":"https://github.com/elastic/kibana/pull/8384#discussion_r83244690","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/8384","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/83244690"},"html":{"href":"https://github.com/elastic/kibana/pull/8384#discussion_r83244690"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8384"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/8384","id":86046003,"html_url":"https://github.com/elastic/kibana/pull/8384","diff_url":"https://github.com/elastic/kibana/pull/8384.diff","patch_url":"https://github.com/elastic/kibana/pull/8384.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/8384","number":8384,"state":"open","locked":false,"title":"Add copy document link","user":{"login":"styfle","id":229881,"avatar_url":"https://avatars.githubusercontent.com/u/229881?v=3","gravatar_id":"","url":"https://api.github.com/users/styfle","html_url":"https://github.com/styfle","followers_url":"https://api.github.com/users/styfle/followers","following_url":"https://api.github.com/users/styfle/following{/other_user}","gists_url":"https://api.github.com/users/styfle/gists{/gist_id}","starred_url":"https://api.github.com/users/styfle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styfle/subscriptions","organizations_url":"https://api.github.com/users/styfle/orgs","repos_url":"https://api.github.com/users/styfle/repos","events_url":"https://api.github.com/users/styfle/events{/privacy}","received_events_url":"https://api.github.com/users/styfle/received_events","type":"User","site_admin":false},"body":"This adds a link/button next to the document that allows the user to copy the document's URL to clipboard.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/229881/18687255/378f63a8-7f4d-11e6-9634-ffab6672fc41.png)\r\n\r\nThis fixes #8263 😄 ","created_at":"2016-09-20T20:01:45Z","updated_at":"2016-10-13T15:32:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"304829fc385cecaf115bd186356070f9ab8cd300","assignee":{"login":"Bargs","id":6239176,"avatar_url":"https://avatars.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false},"assignees":[{"login":"Bargs","id":6239176,"avatar_url":"https://avatars.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/8384/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/8384/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/8384/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/5f39eab4a5b247862f3bc577b2530d8589b585ed","head":{"label":"styfle:feature/copy-doc-link","ref":"feature/copy-doc-link","sha":"5f39eab4a5b247862f3bc577b2530d8589b585ed","user":{"login":"styfle","id":229881,"avatar_url":"https://avatars.githubusercontent.com/u/229881?v=3","gravatar_id":"","url":"https://api.github.com/users/styfle","html_url":"https://github.com/styfle","followers_url":"https://api.github.com/users/styfle/followers","following_url":"https://api.github.com/users/styfle/following{/other_user}","gists_url":"https://api.github.com/users/styfle/gists{/gist_id}","starred_url":"https://api.github.com/users/styfle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styfle/subscriptions","organizations_url":"https://api.github.com/users/styfle/orgs","repos_url":"https://api.github.com/users/styfle/repos","events_url":"https://api.github.com/users/styfle/events{/privacy}","received_events_url":"https://api.github.com/users/styfle/received_events","type":"User","site_admin":false},"repo":{"id":68147805,"name":"kibana","full_name":"styfle/kibana","owner":{"login":"styfle","id":229881,"avatar_url":"https://avatars.githubusercontent.com/u/229881?v=3","gravatar_id":"","url":"https://api.github.com/users/styfle","html_url":"https://github.com/styfle","followers_url":"https://api.github.com/users/styfle/followers","following_url":"https://api.github.com/users/styfle/following{/other_user}","gists_url":"https://api.github.com/users/styfle/gists{/gist_id}","starred_url":"https://api.github.com/users/styfle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styfle/subscriptions","organizations_url":"https://api.github.com/users/styfle/orgs","repos_url":"https://api.github.com/users/styfle/repos","events_url":"https://api.github.com/users/styfle/events{/privacy}","received_events_url":"https://api.github.com/users/styfle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/styfle/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/styfle/kibana","forks_url":"https://api.github.com/repos/styfle/kibana/forks","keys_url":"https://api.github.com/repos/styfle/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styfle/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styfle/kibana/teams","hooks_url":"https://api.github.com/repos/styfle/kibana/hooks","issue_events_url":"https://api.github.com/repos/styfle/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/styfle/kibana/events","assignees_url":"https://api.github.com/repos/styfle/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/styfle/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/styfle/kibana/tags","blobs_url":"https://api.github.com/repos/styfle/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styfle/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styfle/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/styfle/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styfle/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/styfle/kibana/languages","stargazers_url":"https://api.github.com/repos/styfle/kibana/stargazers","contributors_url":"https://api.github.com/repos/styfle/kibana/contributors","subscribers_url":"https://api.github.com/repos/styfle/kibana/subscribers","subscription_url":"https://api.github.com/repos/styfle/kibana/subscription","commits_url":"https://api.github.com/repos/styfle/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/styfle/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/styfle/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/styfle/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/styfle/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/styfle/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styfle/kibana/merges","archive_url":"https://api.github.com/repos/styfle/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styfle/kibana/downloads","issues_url":"https://api.github.com/repos/styfle/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/styfle/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/styfle/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/styfle/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styfle/kibana/labels{/name}","releases_url":"https://api.github.com/repos/styfle/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/styfle/kibana/deployments","created_at":"2016-09-13T21:09:42Z","updated_at":"2016-09-13T21:09:48Z","pushed_at":"2016-10-13T15:29:46Z","git_url":"git://github.com/styfle/kibana.git","ssh_url":"git@github.com:styfle/kibana.git","clone_url":"https://github.com/styfle/kibana.git","svn_url":"https://github.com/styfle/kibana","homepage":"https://www.elastic.co/products/kibana","size":217685,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"2dbe4b98c5cafa1ac417868a8f9c848d0273ebed","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-10-13T08:47:09Z","pushed_at":"2016-10-13T15:31:42Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":266578,"stargazers_count":6129,"watchers_count":6129,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2263,"mirror_url":null,"open_issues_count":1210,"forks":2263,"open_issues":1210,"watchers":6129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8384"},"html":{"href":"https://github.com/elastic/kibana/pull/8384"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/8384"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/8384/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8384/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8384/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/5f39eab4a5b247862f3bc577b2530d8589b585ed"}}}}
{"actor":{"display_login":"styfle"}}