{"action":"created","comment":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/comments/215489676","pull_request_review_id":152762874,"id":215489676,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTQ4OTY3Ng==","diff_hunk":"@@ -0,0 +1,42 @@\n+/* Copyright (C) 2018 Canonical Ltd. */\n+'use strict';\n+\n+const PropTypes = require('prop-types');\n+const React = require('react');\n+\n+class AddedServicesLabel extends React.Component {\n+\n+  /**\n+    Calls changeState to show the readme\n+  */\n+  _showReadme() {\n+    this.props.changeState({store: this.props.bundleURL});\n+  }\n+\n+  /**\n+    Calls changeState to show the post deployment panel.\n+  */\n+  _showGetStarted() {\n+    this.props.changeState({postDeploymentPanel: this.props.bundleURL});\n+  }\n+\n+  render() {\n+    // A bundleURL is in the format elasticsearch-cluster/bundle/17\n+    const name = this.props.bundleURL.split('/')[0].replace('-', ' ');\n+    return (\n+      <li className=\"inspector-view__label-item\">\n+        <div className=\"inspector-view__label-name\">{name}</div>\n+        <ul className=\"inspector-view__label-link-list\">\n+          <li onClick={this._showReadme.bind(this)}>Readme</li>\n+          <li onClick={this._showGetStarted.bind(this)}>Get Started</li>","path":"jujugui/static/gui/src/app/components/added-services-list/label/label.js","position":31,"original_position":31,"commit_id":"a2514b68a81dcce4bbc37ca14776b391e3b746e2","original_commit_id":"a2514b68a81dcce4bbc37ca14776b391e3b746e2","user":{"login":"huwshimi","id":361637,"node_id":"MDQ6VXNlcjM2MTYzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/361637?v=4","gravatar_id":"","url":"https://api.github.com/users/huwshimi","html_url":"https://github.com/huwshimi","followers_url":"https://api.github.com/users/huwshimi/followers","following_url":"https://api.github.com/users/huwshimi/following{/other_user}","gists_url":"https://api.github.com/users/huwshimi/gists{/gist_id}","starred_url":"https://api.github.com/users/huwshimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huwshimi/subscriptions","organizations_url":"https://api.github.com/users/huwshimi/orgs","repos_url":"https://api.github.com/users/huwshimi/repos","events_url":"https://api.github.com/users/huwshimi/events{/privacy}","received_events_url":"https://api.github.com/users/huwshimi/received_events","type":"User","site_admin":false},"body":"\"Get started\" (lower case s) as per our style guide.","created_at":"2018-09-06T04:04:51Z","updated_at":"2018-09-06T04:08:12Z","html_url":"https://github.com/juju/juju-gui/pull/3786#discussion_r215489676","pull_request_url":"https://api.github.com/repos/juju/juju-gui/pulls/3786","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/comments/215489676"},"html":{"href":"https://github.com/juju/juju-gui/pull/3786#discussion_r215489676"},"pull_request":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3786"}}},"pull_request":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/3786","id":213353075,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzUzMDc1","html_url":"https://github.com/juju/juju-gui/pull/3786","diff_url":"https://github.com/juju/juju-gui/pull/3786.diff","patch_url":"https://github.com/juju/juju-gui/pull/3786.patch","issue_url":"https://api.github.com/repos/juju/juju-gui/issues/3786","number":3786,"state":"open","locked":false,"title":"Group applications by bundle in the inspector","user":{"login":"hatched","id":532033,"node_id":"MDQ6VXNlcjUzMjAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/532033?v=4","gravatar_id":"","url":"https://api.github.com/users/hatched","html_url":"https://github.com/hatched","followers_url":"https://api.github.com/users/hatched/followers","following_url":"https://api.github.com/users/hatched/following{/other_user}","gists_url":"https://api.github.com/users/hatched/gists{/gist_id}","starred_url":"https://api.github.com/users/hatched/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatched/subscriptions","organizations_url":"https://api.github.com/users/hatched/orgs","repos_url":"https://api.github.com/users/hatched/repos","events_url":"https://api.github.com/users/hatched/events{/privacy}","received_events_url":"https://api.github.com/users/hatched/received_events","type":"User","site_admin":false},"body":"Applications with a `bundleURL` annotation will be grouped by the same `bundleURL` and displayed with links to show the bundles 'readme' and 'get started'.","created_at":"2018-09-05T16:19:26Z","updated_at":"2018-09-06T04:08:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85e7f1ae507f738b50ca97200e63ae586453708d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":384554431,"node_id":"MDU6TGFiZWwzODQ1NTQ0MzE=","url":"https://api.github.com/repos/juju/juju-gui/labels/QA:%20Needed","name":"QA: Needed","color":"fef2c0","default":false},{"id":389245306,"node_id":"MDU6TGFiZWwzODkyNDUzMDY=","url":"https://api.github.com/repos/juju/juju-gui/labels/Review:%20Needed","name":"Review: Needed","color":"fef2c0","default":false},{"id":316997062,"node_id":"MDU6TGFiZWwzMTY5OTcwNjI=","url":"https://api.github.com/repos/juju/juju-gui/labels/feature","name":"feature","color":"009800","default":false}],"milestone":{"url":"https://api.github.com/repos/juju/juju-gui/milestones/52","html_url":"https://github.com/juju/juju-gui/milestone/52","labels_url":"https://api.github.com/repos/juju/juju-gui/milestones/52/labels","id":3132472,"node_id":"MDk6TWlsZXN0b25lMzEzMjQ3Mg==","number":52,"title":"tedious troi","description":"","creator":{"login":"frankban","id":1408172,"node_id":"MDQ6VXNlcjE0MDgxNzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1408172?v=4","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":47,"state":"open","created_at":"2018-02-21T09:53:47Z","updated_at":"2018-09-05T16:19:26Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/juju/juju-gui/pulls/3786/commits","review_comments_url":"https://api.github.com/repos/juju/juju-gui/pulls/3786/comments","review_comment_url":"https://api.github.com/repos/juju/juju-gui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/juju-gui/issues/3786/comments","statuses_url":"https://api.github.com/repos/juju/juju-gui/statuses/a2514b68a81dcce4bbc37ca14776b391e3b746e2","head":{"label":"hatched:group-by-bundle","ref":"group-by-bundle","sha":"a2514b68a81dcce4bbc37ca14776b391e3b746e2","user":{"login":"hatched","id":532033,"node_id":"MDQ6VXNlcjUzMjAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/532033?v=4","gravatar_id":"","url":"https://api.github.com/users/hatched","html_url":"https://github.com/hatched","followers_url":"https://api.github.com/users/hatched/followers","following_url":"https://api.github.com/users/hatched/following{/other_user}","gists_url":"https://api.github.com/users/hatched/gists{/gist_id}","starred_url":"https://api.github.com/users/hatched/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatched/subscriptions","organizations_url":"https://api.github.com/users/hatched/orgs","repos_url":"https://api.github.com/users/hatched/repos","events_url":"https://api.github.com/users/hatched/events{/privacy}","received_events_url":"https://api.github.com/users/hatched/received_events","type":"User","site_admin":false},"repo":{"id":14962756,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk2Mjc1Ng==","name":"juju-gui","full_name":"hatched/juju-gui","owner":{"login":"hatched","id":532033,"node_id":"MDQ6VXNlcjUzMjAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/532033?v=4","gravatar_id":"","url":"https://api.github.com/users/hatched","html_url":"https://github.com/hatched","followers_url":"https://api.github.com/users/hatched/followers","following_url":"https://api.github.com/users/hatched/following{/other_user}","gists_url":"https://api.github.com/users/hatched/gists{/gist_id}","starred_url":"https://api.github.com/users/hatched/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatched/subscriptions","organizations_url":"https://api.github.com/users/hatched/orgs","repos_url":"https://api.github.com/users/hatched/repos","events_url":"https://api.github.com/users/hatched/events{/privacy}","received_events_url":"https://api.github.com/users/hatched/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hatched/juju-gui","description":"Juju-GUI is a web-based GUI for Juju <https://juju.ubuntu.com/>.","fork":true,"url":"https://api.github.com/repos/hatched/juju-gui","forks_url":"https://api.github.com/repos/hatched/juju-gui/forks","keys_url":"https://api.github.com/repos/hatched/juju-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hatched/juju-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hatched/juju-gui/teams","hooks_url":"https://api.github.com/repos/hatched/juju-gui/hooks","issue_events_url":"https://api.github.com/repos/hatched/juju-gui/issues/events{/number}","events_url":"https://api.github.com/repos/hatched/juju-gui/events","assignees_url":"https://api.github.com/repos/hatched/juju-gui/assignees{/user}","branches_url":"https://api.github.com/repos/hatched/juju-gui/branches{/branch}","tags_url":"https://api.github.com/repos/hatched/juju-gui/tags","blobs_url":"https://api.github.com/repos/hatched/juju-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hatched/juju-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hatched/juju-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/hatched/juju-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hatched/juju-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/hatched/juju-gui/languages","stargazers_url":"https://api.github.com/repos/hatched/juju-gui/stargazers","contributors_url":"https://api.github.com/repos/hatched/juju-gui/contributors","subscribers_url":"https://api.github.com/repos/hatched/juju-gui/subscribers","subscription_url":"https://api.github.com/repos/hatched/juju-gui/subscription","commits_url":"https://api.github.com/repos/hatched/juju-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/hatched/juju-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/hatched/juju-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/hatched/juju-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/hatched/juju-gui/contents/{+path}","compare_url":"https://api.github.com/repos/hatched/juju-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hatched/juju-gui/merges","archive_url":"https://api.github.com/repos/hatched/juju-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hatched/juju-gui/downloads","issues_url":"https://api.github.com/repos/hatched/juju-gui/issues{/number}","pulls_url":"https://api.github.com/repos/hatched/juju-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/hatched/juju-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/hatched/juju-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hatched/juju-gui/labels{/name}","releases_url":"https://api.github.com/repos/hatched/juju-gui/releases{/id}","deployments_url":"https://api.github.com/repos/hatched/juju-gui/deployments","created_at":"2013-12-05T18:57:16Z","updated_at":"2018-07-23T19:09:16Z","pushed_at":"2018-09-05T23:28:42Z","git_url":"git://github.com/hatched/juju-gui.git","ssh_url":"git@github.com:hatched/juju-gui.git","clone_url":"https://github.com/hatched/juju-gui.git","svn_url":"https://github.com/hatched/juju-gui","homepage":null,"size":131108,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"juju:develop","ref":"develop","sha":"781aeec2686efe4d584bfad6f9ee44b19b7ea0b8","user":{"login":"juju","id":4604548,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MDQ1NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4604548?v=4","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":14960387,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk2MDM4Nw==","name":"juju-gui","full_name":"juju/juju-gui","owner":{"login":"juju","id":4604548,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MDQ1NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4604548?v=4","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/juju-gui","description":"Juju-GUI is a web-based GUI for Juju <https://jujucharms.com/>.","fork":false,"url":"https://api.github.com/repos/juju/juju-gui","forks_url":"https://api.github.com/repos/juju/juju-gui/forks","keys_url":"https://api.github.com/repos/juju/juju-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/juju-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/juju-gui/teams","hooks_url":"https://api.github.com/repos/juju/juju-gui/hooks","issue_events_url":"https://api.github.com/repos/juju/juju-gui/issues/events{/number}","events_url":"https://api.github.com/repos/juju/juju-gui/events","assignees_url":"https://api.github.com/repos/juju/juju-gui/assignees{/user}","branches_url":"https://api.github.com/repos/juju/juju-gui/branches{/branch}","tags_url":"https://api.github.com/repos/juju/juju-gui/tags","blobs_url":"https://api.github.com/repos/juju/juju-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/juju-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/juju-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/juju-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/juju-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/juju-gui/languages","stargazers_url":"https://api.github.com/repos/juju/juju-gui/stargazers","contributors_url":"https://api.github.com/repos/juju/juju-gui/contributors","subscribers_url":"https://api.github.com/repos/juju/juju-gui/subscribers","subscription_url":"https://api.github.com/repos/juju/juju-gui/subscription","commits_url":"https://api.github.com/repos/juju/juju-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/juju-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/juju-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/juju-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/juju-gui/contents/{+path}","compare_url":"https://api.github.com/repos/juju/juju-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/juju-gui/merges","archive_url":"https://api.github.com/repos/juju/juju-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/juju-gui/downloads","issues_url":"https://api.github.com/repos/juju/juju-gui/issues{/number}","pulls_url":"https://api.github.com/repos/juju/juju-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/juju-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/juju-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/juju-gui/labels{/name}","releases_url":"https://api.github.com/repos/juju/juju-gui/releases{/id}","deployments_url":"https://api.github.com/repos/juju/juju-gui/deployments","created_at":"2013-12-05T17:15:48Z","updated_at":"2018-09-05T09:38:35Z","pushed_at":"2018-09-06T03:31:10Z","git_url":"git://github.com/juju/juju-gui.git","ssh_url":"git@github.com:juju/juju-gui.git","clone_url":"https://github.com/juju/juju-gui.git","svn_url":"https://github.com/juju/juju-gui","homepage":"","size":130948,"stargazers_count":165,"watchers_count":165,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":88,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":76,"open_issues":88,"watchers":165,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3786"},"html":{"href":"https://github.com/juju/juju-gui/pull/3786"},"issue":{"href":"https://api.github.com/repos/juju/juju-gui/issues/3786"},"comments":{"href":"https://api.github.com/repos/juju/juju-gui/issues/3786/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3786/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3786/commits"},"statuses":{"href":"https://api.github.com/repos/juju/juju-gui/statuses/a2514b68a81dcce4bbc37ca14776b391e3b746e2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"huwshimi"}}