{"action":"created","comment":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/comments/216805414","pull_request_review_id":154318935,"id":216805414,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjgwNTQxNA==","diff_hunk":"@@ -45,142 +40,40 @@ class Status extends React.Component {\n   componentWillReceiveProps() {\n     // Reset to the lowest status so that when the apps, units etc. are looped\n     // through the highest status can be stored.\n-    this.setState({highestStatus: this.STATUS_OK});\n+    this.setState({highestStatus: utils.STATUSES.OK});\n+  }\n+\n+  componentDidMount() {\n+    this._setTrafficLight();\n   }\n \n   componentDidUpdate() {\n     // Update the state with the new status now that all status changes/renders\n     // are complete.\n-    if (this.newHighest && (this.state.highestStatus !== this.newHighest)) {\n-      this.setState({highestStatus: this.newHighest});\n-      this.newHighest = null;\n-    }\n+    this._setTrafficLight();\n   }\n \n   /**\n-    Set the highest status if the passed status is higher than the current.\n-    @param status {String} A status.\n-  */\n-  _setHighestStatus(status) {\n-    const normalised = this._normaliseStatus(status);\n-    if (this.STATUS_ORDER.indexOf(normalised) <\n-      this.STATUS_ORDER.indexOf(this.state.highestStatus)) {\n-      // Store the new state instead of updating state directly as this change\n-      // may have been triggered by a state update or render and you can't\n-      // update state during a state update or render.\n-      this.newHighest = normalised;\n-    }\n-  }\n-\n-  /**\n-    Get the highest status from a list of statuses.\n-    @param statuses {Ȧrray} A list of statuses.\n-    @returns {String} The status.\n+    Generate the current model status.\n+    @returns {Object} The resulting element.\n   */\n-  _getHighestStatus(statuses) {\n-    const normalised = statuses.map(status => this._normaliseStatus(status));\n-    let status;\n-    // Loop through the order of priority until there is a matching status.\n-    this.STATUS_ORDER.some(val => {\n-      if (normalised.indexOf(val) > -1) {\n-        status = val;\n-        return true;\n-      }\n+  _setTrafficLight() {\n+    const db = this.props.db;\n+    let statuses = [];\n+    db.services.toArray().forEach(application => {\n+      const app = application.getAttrs();\n+      statuses.push(app.status.current);\n     });\n-    return status;\n-  }\n-\n-  /**\n-    Return an element class name suitable for the given value.\n-    @param {String} prefix The class prefix.\n-    @param {String} value The provided value.\n-    @returns {String} The class name ('ok', 'error' or '').\n-  */\n-  _getStatusClass(prefix, value) {\n-    if (!value) {\n-      // If there is no value then ignore it. This might be the case when an\n-      // entity's state property only has a value for pending/error states.\n-      return '';\n-    }\n-    if (!Array.isArray(value)) {\n-      value = [value];\n-    }\n-    const normalised = value.map(val => this._normaliseStatus(val));\n-    return prefix + this._getHighestStatus(normalised);\n-  }\n-\n-  /**\n-    Normalise the status value.\n-    @param status {String} The raw value.\n-    @returns {String} The normalised status ('ok', 'error' or 'pending').\n-  */\n-  _normaliseStatus(value) {\n-    let status = this.STATUS_OK;\n-    switch(value) {\n-      case 'active':\n-      case 'idle':\n-      case 'started':\n-      case 'waiting':\n-        status = this.STATUS_OK;\n-        break;\n-      case 'blocked':\n-      case 'down':\n-      case 'error':\n-        status = this.STATUS_ERROR;\n-        break;\n-      case 'pending':\n-      case 'installing':\n-      case 'executing':\n-      case 'allocating':\n-      case 'maintenance':\n-        status = this.STATUS_PENDING;\n-        break;\n-    }\n-    return status;\n-  }\n-\n-  /**\n-    Generate a status for display.\n-    @param status {String} The status to display.\n-    @returns {Object} The status markup.\n-  */\n-  _generateStatusDisplay(status) {\n-    // If the status provided from a model property it might have no value.\n-    if (!status) {\n-      return null;\n-    }\n-    return (\n-      <span className={this._getStatusClass('status-view__status--', status)}>\n-        {status}\n-      </span>);\n-  }\n-\n-  /**\n-    Sort by the key attribute.\n-    @param {Object} a The first value.\n-    @param {Object} b The second value.\n-    @returns {Array} The sorted array.\n-  */\n-  _byKey(a, b) {\n-    if (a.key < b.key) {\n-      return -1;\n-    }\n-    if (a.key > b.key) {\n-      return 1;\n-    }\n-    return 0;\n-  }\n-\n-  /**\n-    Filter a row by the status.\n-    @param row {Object} The row values.\n-    @returns {Boolean} Whether the row matches the status.\n-  */\n-  _filterByStatus(row) {\n-    if (!this.state.statusFilter) {\n-      return true;\n+    db.units.toArray().forEach(unit => {\n+      statuses.push(utils.getHighestStatus([unit.agentStatus, unit.workloadStatus]));\n+    });\n+    db.machines.toArray().map(machine => {\n+      statuses.push(machine.agent_state);\n+    });\n+    const highest = utils.getHighestStatus(statuses);\n+    if (highest && (this.state.highestStatus !== highest)) {","path":"jujugui/static/gui/src/app/components/status/status.js","position":196,"original_position":196,"commit_id":"755ab5c9339795a9b40b4408416bd3802080b37c","original_commit_id":"755ab5c9339795a9b40b4408416bd3802080b37c","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":"I'm not sure this check is strictly necessary, should it not just set the highest status and then let the component figure out what to do with that value?","created_at":"2018-09-11T20:10:27Z","updated_at":"2018-09-11T20:18:02Z","html_url":"https://github.com/juju/juju-gui/pull/3790#discussion_r216805414","pull_request_url":"https://api.github.com/repos/juju/juju-gui/pulls/3790","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/comments/216805414"},"html":{"href":"https://github.com/juju/juju-gui/pull/3790#discussion_r216805414"},"pull_request":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3790"}}},"pull_request":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/3790","id":214228681,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MjI4Njgx","html_url":"https://github.com/juju/juju-gui/pull/3790","diff_url":"https://github.com/juju/juju-gui/pull/3790.diff","patch_url":"https://github.com/juju/juju-gui/pull/3790.patch","issue_url":"https://api.github.com/repos/juju/juju-gui/issues/3790","number":3790,"state":"open","locked":false,"title":"Shared status components","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":"This is the first pass at moving the status components to shared components. Some generic components will need to be modified and moved over as well as changing the entity data to be plain objects.","created_at":"2018-09-10T08:04:02Z","updated_at":"2018-09-11T20:18:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da0ba4c3c272fad2a11f2d2970b1c65ba66c2a94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":343979444,"node_id":"MDU6TGFiZWwzNDM5Nzk0NDQ=","url":"https://api.github.com/repos/juju/juju-gui/labels/QA:%20OK","name":"QA: OK","color":"0e8a16","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}],"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":35,"closed_issues":50,"state":"open","created_at":"2018-02-21T09:53:47Z","updated_at":"2018-09-11T15:55:11Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/juju/juju-gui/pulls/3790/commits","review_comments_url":"https://api.github.com/repos/juju/juju-gui/pulls/3790/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/3790/comments","statuses_url":"https://api.github.com/repos/juju/juju-gui/statuses/755ab5c9339795a9b40b4408416bd3802080b37c","head":{"label":"huwshimi:shared-status-components","ref":"shared-status-components","sha":"755ab5c9339795a9b40b4408416bd3802080b37c","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},"repo":{"id":15032585,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAzMjU4NQ==","name":"juju-gui","full_name":"huwshimi/juju-gui","owner":{"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},"private":false,"html_url":"https://github.com/huwshimi/juju-gui","description":"Juju-GUI is a web-based GUI for Juju <https://juju.ubuntu.com/>.","fork":true,"url":"https://api.github.com/repos/huwshimi/juju-gui","forks_url":"https://api.github.com/repos/huwshimi/juju-gui/forks","keys_url":"https://api.github.com/repos/huwshimi/juju-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huwshimi/juju-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huwshimi/juju-gui/teams","hooks_url":"https://api.github.com/repos/huwshimi/juju-gui/hooks","issue_events_url":"https://api.github.com/repos/huwshimi/juju-gui/issues/events{/number}","events_url":"https://api.github.com/repos/huwshimi/juju-gui/events","assignees_url":"https://api.github.com/repos/huwshimi/juju-gui/assignees{/user}","branches_url":"https://api.github.com/repos/huwshimi/juju-gui/branches{/branch}","tags_url":"https://api.github.com/repos/huwshimi/juju-gui/tags","blobs_url":"https://api.github.com/repos/huwshimi/juju-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huwshimi/juju-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huwshimi/juju-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/huwshimi/juju-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huwshimi/juju-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/huwshimi/juju-gui/languages","stargazers_url":"https://api.github.com/repos/huwshimi/juju-gui/stargazers","contributors_url":"https://api.github.com/repos/huwshimi/juju-gui/contributors","subscribers_url":"https://api.github.com/repos/huwshimi/juju-gui/subscribers","subscription_url":"https://api.github.com/repos/huwshimi/juju-gui/subscription","commits_url":"https://api.github.com/repos/huwshimi/juju-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/huwshimi/juju-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/huwshimi/juju-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/huwshimi/juju-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/huwshimi/juju-gui/contents/{+path}","compare_url":"https://api.github.com/repos/huwshimi/juju-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huwshimi/juju-gui/merges","archive_url":"https://api.github.com/repos/huwshimi/juju-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huwshimi/juju-gui/downloads","issues_url":"https://api.github.com/repos/huwshimi/juju-gui/issues{/number}","pulls_url":"https://api.github.com/repos/huwshimi/juju-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/huwshimi/juju-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/huwshimi/juju-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huwshimi/juju-gui/labels{/name}","releases_url":"https://api.github.com/repos/huwshimi/juju-gui/releases{/id}","deployments_url":"https://api.github.com/repos/huwshimi/juju-gui/deployments","created_at":"2013-12-08T22:20:08Z","updated_at":"2014-06-25T06:57:23Z","pushed_at":"2018-09-11T17:20:38Z","git_url":"git://github.com/huwshimi/juju-gui.git","ssh_url":"git@github.com:huwshimi/juju-gui.git","clone_url":"https://github.com/huwshimi/juju-gui.git","svn_url":"https://github.com/huwshimi/juju-gui","homepage":null,"size":131159,"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":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"juju:develop","ref":"develop","sha":"519e70feeb09068aed1e105b21f448f07f830f9a","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-11T15:55:15Z","pushed_at":"2018-09-11T17:20:40Z","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":130980,"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":89,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":76,"open_issues":89,"watchers":165,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3790"},"html":{"href":"https://github.com/juju/juju-gui/pull/3790"},"issue":{"href":"https://api.github.com/repos/juju/juju-gui/issues/3790"},"comments":{"href":"https://api.github.com/repos/juju/juju-gui/issues/3790/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/3790/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/3790/commits"},"statuses":{"href":"https://api.github.com/repos/juju/juju-gui/statuses/755ab5c9339795a9b40b4408416bd3802080b37c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hatched"}}