{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/78477859","id":78477859,"diff_hunk":"@@ -1,18 +1,146 @@\n+import {\n+  getUnhashableStatesProvider,\n+  unhashUrl,\n+} from 'ui/state_management/state_hashing';\n+import Notifier from 'ui/notify/notifier';\n+\n+import urlShortenerProvider from '../lib/url_shortener';\n+\n import uiModules from 'ui/modules';\n import shareTemplate from 'ui/share/views/share.html';\n const app = uiModules.get('kibana');\n \n-app.directive('share', function () {\n+app.directive('share', function (Private) {\n+  const getUnhashableStates = Private(getUnhashableStatesProvider);\n+  const urlShortener = Private(urlShortenerProvider);\n+\n   return {\n     restrict: 'E',\n     scope: {\n       objectType: '@',\n       objectId: '@',\n-      setAllowEmbed: '&?allowEmbed'\n+      allowEmbed: '@',\n     },\n     template: shareTemplate,\n-    controller: function ($scope) {\n-      $scope.allowEmbed = $scope.setAllowEmbed ? $scope.setAllowEmbed() : true;\n+    controllerAs: 'share',\n+    controller: function ($scope, $location, globalState) {\n+      if ($scope.allowEmbed !== 'false' && $scope.allowEmbed !== undefined) {\n+        throw new Error('allowEmbed must be \"false\" or undefined');\n+      }\n+\n+      // Default to allowing an embedded IFRAME, unless it's explicitly set to false.\n+      this.allowEmbed = $scope.allowEmbed === 'false' ? false : true;\n+      this.objectType = $scope.objectType;\n+\n+      function getOriginalUrl() {\n+        // If there is no objectId, then it isn't saved, so it has no original URL.\n+        if ($scope.objectId === undefined || $scope.objectId === '') {\n+          return;\n+        }\n+\n+        // Remove the query string.\n+        const url = $location.absUrl();\n+        return url.split('?')[0];\n+      };\n+\n+      function getSnapshotUrl() {\n+        const url = $location.absUrl();\n+        // Replace hashes with original RISON values.\n+        const urlWithStates = unhashUrl(url, getUnhashableStates());\n+        return urlWithStates;\n+      }\n+\n+      this.makeUrlEmbeddable = url => {\n+        const embedQueryParam = '?embed=true';\n+        const urlHasQueryString = url.indexOf('?') !== -1;\n+        if (urlHasQueryString) {\n+          return url.replace('?', `${embedQueryParam}&`);\n+        }\n+        return `${url}${embedQueryParam}`;\n+      };\n+\n+      this.makeIframeTag = url => {\n+        if (!url) return;\n+\n+        const embeddableUrl = this.makeUrlEmbeddable(url);\n+        return `<iframe src=\"${embeddableUrl}\" height=\"600\" width=\"800\"></iframe>`;\n+      };\n+\n+      this.urls = {\n+        original: undefined,\n+        snapshot: undefined,\n+        shortSnapshot: undefined,\n+        shortSnapshotIframe: undefined,\n+      };\n+\n+      this.urlFlags = {\n+        shortSnapshot: false,\n+        shortSnapshotIframe: false,\n+      };\n+\n+      const updateUrls = () => {\n+        this.urls = {\n+          original: getOriginalUrl(),\n+          snapshot: getSnapshotUrl(),\n+          shortSnapshot: undefined,\n+          shortSnapshotIframe: undefined,\n+        };\n+\n+        // Whenever the URL changes, reset the Short URLs to regular URLs.\n+        this.urlFlags = {\n+          shortSnapshot: false,\n+          shortSnapshotIframe: false,\n+        };\n+      };\n+\n+      // When the URL changes, update the links in the UI.\n+      $scope.$watch(() => $location.absUrl(), () => {\n+        updateUrls();\n+      });\n+\n+      this.toggleShortSnapshotUrl = () => {\n+        this.urlFlags.shortSnapshot = !this.urlFlags.shortSnapshot;\n+\n+        if (this.urlFlags.shortSnapshot) {\n+          urlShortener.shortenUrl(this.urls.snapshot)\n+          .then(shortUrl => {\n+            this.urls.shortSnapshot = shortUrl;\n+          });\n+        }\n+      };\n+\n+      this.toggleShortSnapshotIframeUrl = () => {\n+        this.urlFlags.shortSnapshotIframe = !this.urlFlags.shortSnapshotIframe;\n+\n+        if (this.urlFlags.shortSnapshotIframe) {\n+          const snapshotIframe = this.makeUrlEmbeddable(this.urls.snapshot);\n+          urlShortener.shortenUrl(snapshotIframe)\n+          .then(shortUrl => {\n+            this.urls.shortSnapshotIframe = shortUrl;\n+          });\n+        }\n+      };\n+\n+      this.copyToClipboard = selector => {\n+        const notify = new Notifier({\n+          location: `Share ${$scope.objectType}`,\n+        });\n+\n+        // Select the text to be copied. If the copy fails, the user can easily copy it manually.\n+        const copyTextarea = document.querySelector(selector);","path":"src/ui/public/share/directives/share.js","position":134,"original_position":134,"commit_id":"ea967483073f6d177431b42be48c230e7495ad5c","original_commit_id":"ea967483073f6d177431b42be48c230e7495ad5c","user":{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false},"body":"Sounds good but how does it make it easier?","created_at":"2016-09-13T00:14:16Z","updated_at":"2016-09-13T00:14:16Z","html_url":"https://github.com/elastic/kibana/pull/8172#discussion_r78477859","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/8172","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/78477859"},"html":{"href":"https://github.com/elastic/kibana/pull/8172#discussion_r78477859"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8172"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/8172","id":84220132,"html_url":"https://github.com/elastic/kibana/pull/8172","diff_url":"https://github.com/elastic/kibana/pull/8172.diff","patch_url":"https://github.com/elastic/kibana/pull/8172.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/8172","number":8172,"state":"open","locked":false,"title":"Redesign Share UI to emphasize difference between Original URLs and Snapshot URLs.","user":{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false},"body":"This supersedes https://github.com/elastic/kibana/pull/8157.\r\n\r\nRedesign Share UI to emphasize difference between Original URLs and Snapshot URLs.\r\n\r\n* Addresses https://github.com/elastic/kibana/issues/8051\r\n* Blocked by https://github.com/elastic/kibana/issues/8022\r\n\r\n## Discover\r\n\r\n### Unsaved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217111/dabb4bf6-710f-11e6-8d93-efe518069fb9.png)\r\n\r\n### Saved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217116/df9e18a6-710f-11e6-802a-457d0346699a.png)\r\n\r\n### Short URL\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217127/e5a2ea7e-710f-11e6-90a8-edeeb5cdd93a.png)\r\n\r\n## Dashboard\r\n\r\n### Unsaved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217139/ee68a054-710f-11e6-8831-7abbdbdf2521.png)\r\n\r\n### Saved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217150/f5efb204-710f-11e6-93bb-3c653eea60e3.png)\r\n\r\n### Short URL\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217156/fbb99074-710f-11e6-8676-0c4942164204.png)\r\n\r\n## Visualization\r\n\r\n### Unsaved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217161/07ecc780-7110-11e6-8f90-dfeeec298437.png)\r\n\r\n### Saved\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217163/0cee52f8-7110-11e6-8c1e-ea4ae92add4e.png)\r\n\r\n### Short URL\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238659/18217166/1244fd38-7110-11e6-8d0e-14d7dca204e0.png)\r\n","created_at":"2016-09-07T00:43:04Z","updated_at":"2016-09-13T00:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a4b8d3a721378cf03ee7f8b3163e9341cd7636b","assignee":{"login":"spalger","id":1329312,"avatar_url":"https://avatars.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},"assignees":[{"login":"spalger","id":1329312,"avatar_url":"https://avatars.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},{"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/8172/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/8172/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/8172/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/ea967483073f6d177431b42be48c230e7495ad5c","head":{"label":"cjcenizal:feature/share-ui-snapshot-vs-original","ref":"feature/share-ui-snapshot-vs-original","sha":"ea967483073f6d177431b42be48c230e7495ad5c","user":{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false},"repo":{"id":60198225,"name":"kibana","full_name":"cjcenizal/kibana","owner":{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjcenizal/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/cjcenizal/kibana","forks_url":"https://api.github.com/repos/cjcenizal/kibana/forks","keys_url":"https://api.github.com/repos/cjcenizal/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjcenizal/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjcenizal/kibana/teams","hooks_url":"https://api.github.com/repos/cjcenizal/kibana/hooks","issue_events_url":"https://api.github.com/repos/cjcenizal/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/cjcenizal/kibana/events","assignees_url":"https://api.github.com/repos/cjcenizal/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/cjcenizal/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/cjcenizal/kibana/tags","blobs_url":"https://api.github.com/repos/cjcenizal/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjcenizal/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjcenizal/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjcenizal/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjcenizal/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/cjcenizal/kibana/languages","stargazers_url":"https://api.github.com/repos/cjcenizal/kibana/stargazers","contributors_url":"https://api.github.com/repos/cjcenizal/kibana/contributors","subscribers_url":"https://api.github.com/repos/cjcenizal/kibana/subscribers","subscription_url":"https://api.github.com/repos/cjcenizal/kibana/subscription","commits_url":"https://api.github.com/repos/cjcenizal/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjcenizal/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjcenizal/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjcenizal/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjcenizal/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/cjcenizal/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjcenizal/kibana/merges","archive_url":"https://api.github.com/repos/cjcenizal/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjcenizal/kibana/downloads","issues_url":"https://api.github.com/repos/cjcenizal/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/cjcenizal/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/cjcenizal/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/cjcenizal/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjcenizal/kibana/labels{/name}","releases_url":"https://api.github.com/repos/cjcenizal/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/cjcenizal/kibana/deployments","created_at":"2016-06-01T17:41:59Z","updated_at":"2016-06-01T17:42:04Z","pushed_at":"2016-09-12T23:36:23Z","git_url":"git://github.com/cjcenizal/kibana.git","ssh_url":"git@github.com:cjcenizal/kibana.git","clone_url":"https://github.com/cjcenizal/kibana.git","svn_url":"https://github.com/cjcenizal/kibana","homepage":"https://www.elastic.co/products/kibana","size":217220,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"90ad5311499ae7bde783d66e6ed28c1501470eb9","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-09-12T18:57:50Z","pushed_at":"2016-09-12T23:36:23Z","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":264080,"stargazers_count":5985,"watchers_count":5985,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2188,"mirror_url":null,"open_issues_count":1163,"forks":2188,"open_issues":1163,"watchers":5985,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8172"},"html":{"href":"https://github.com/elastic/kibana/pull/8172"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/8172"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/8172/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8172/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8172/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/ea967483073f6d177431b42be48c230e7495ad5c"}}}}
{"actor":{"display_login":"cjcenizal"}}