payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/comments/320934204","pull_request_review_id":283840877,"id":320934204,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyMDkzNDIwNA==","diff_hunk":"@@ -48,9 +48,7 @@ function ListRuleRevisions(props) {\n   const [fetchedRevisions, fetchRevisions] = useAction(getRevisions);\n   const addSC = useAction(addScheduledChange)[1];\n   const { ruleId } = props.match.params;\n-  // eslint-disable-next-line prefer-destructuring\n-  const error = fetchedRevisions.error;\n-  const isLoading = fetchedRevisions.loading;\n+  const { error, loading: isLoading } = fetchedRevisions;","path":"src/views/Rules/ListRuleRevisions/index.jsx","position":7,"original_position":7,"commit_id":"0d1b2f1ddb1ee866b3468397dd8b79c284fda4f4","original_commit_id":"0d1b2f1ddb1ee866b3468397dd8b79c284fda4f4","user":{"login":"helfi92","id":3766511,"node_id":"MDQ6VXNlcjM3NjY1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3766511?v=4","gravatar_id":"","url":"https://api.github.com/users/helfi92","html_url":"https://github.com/helfi92","followers_url":"https://api.github.com/users/helfi92/followers","following_url":"https://api.github.com/users/helfi92/following{/other_user}","gists_url":"https://api.github.com/users/helfi92/gists{/gist_id}","starred_url":"https://api.github.com/users/helfi92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfi92/subscriptions","organizations_url":"https://api.github.com/users/helfi92/orgs","repos_url":"https://api.github.com/users/helfi92/repos","events_url":"https://api.github.com/users/helfi92/events{/privacy}","received_events_url":"https://api.github.com/users/helfi92/received_events","type":"User","site_admin":false},"body":"This was actually intended so that if we ever add new requests to this view, we could just do\r\n\r\n```jsx\r\nconst error = fetchedRevisions.error || ...\r\nconst isLoading = fetchedRevisions.loading || ...;\r\n``` ","created_at":"2019-09-04T19:27:03Z","updated_at":"2019-09-04T19:34:40Z","html_url":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184#discussion_r320934204","pull_request_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/comments/320934204"},"html":{"href":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184#discussion_r320934204"},"pull_request":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184","id":312874733,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEyODc0NzMz","html_url":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184","diff_url":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184.diff","patch_url":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184.patch","issue_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/184","number":184,"state":"open","locked":false,"title":"Emergency Shutoff UI","user":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"body":"This probably needs a little bit more work, but I think it's far enough along for some feedback. Under normal circumstances, the only visible change is the SpeedDial with the \"Disable Updates\" button in the bottom right. Once updates have been shut off, the EmergencyShutoffCard is shown:\r\n![image](https://user-images.githubusercontent.com/49649/64049275-49ec1700-cb42-11e9-85f2-d78ebc260270.png)\r\n\r\nWhen \"Enable Updates\" is used for a Product/Channel that doesn't require signoff, we make a request to the backend to re-enable them, and remove the EmergencyShutoffCard if that's successful.\r\n\r\nIf signoffs are required, the card changes to the following:\r\n![image](https://user-images.githubusercontent.com/49649/64049351-89b2fe80-cb42-11e9-8973-0b7b7992be76.png)\r\n\r\nI got rid of almost all of the information we show on other Scheduled Change sections (what will change, when it will change, etc.) because it's either not relevant, or shown in the CardHeader instead.\r\n\r\nIf \"Keep Updates Disabled\" is clicked, we cancel the enabling of updates, which reverts the Card back to the first screenshot. The \"Signoff\" button works as usual.","created_at":"2019-08-30T20:28:42Z","updated_at":"2019-09-04T19:34:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a43c7066b12a9463bebd339f24fe2c1de1c9392","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184/commits","review_comments_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184/comments","review_comment_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/184/comments","statuses_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/statuses/0d1b2f1ddb1ee866b3468397dd8b79c284fda4f4","head":{"label":"mozbhearsum:emergency-shutoff","ref":"emergency-shutoff","sha":"0d1b2f1ddb1ee866b3468397dd8b79c284fda4f4","user":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"repo":{"id":178893590,"node_id":"MDEwOlJlcG9zaXRvcnkxNzg4OTM1OTA=","name":"balrog-ui","full_name":"mozbhearsum/balrog-ui","private":false,"owner":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mozbhearsum/balrog-ui","description":"The web UI for interacting with RelEng Balrog","fork":true,"url":"https://api.github.com/repos/mozbhearsum/balrog-ui","forks_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/forks","keys_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/teams","hooks_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/hooks","issue_events_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/events","assignees_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/tags","blobs_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/languages","stargazers_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/stargazers","contributors_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/contributors","subscribers_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/subscribers","subscription_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/subscription","commits_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/merges","archive_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/downloads","issues_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/labels{/name}","releases_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mozbhearsum/balrog-ui/deployments","created_at":"2019-04-01T15:34:06Z","updated_at":"2019-07-29T15:09:32Z","pushed_at":"2019-09-04T17:36:37Z","git_url":"git://github.com/mozbhearsum/balrog-ui.git","ssh_url":"git@github.com:mozbhearsum/balrog-ui.git","clone_url":"https://github.com/mozbhearsum/balrog-ui.git","svn_url":"https://github.com/mozbhearsum/balrog-ui","homepage":null,"size":1359,"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,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-frontend-infra:master","ref":"master","sha":"32d67245729c46a9ded5f9467dbec149b61cafc6","user":{"login":"mozilla-frontend-infra","id":24963858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTYzODU4","avatar_url":"https://avatars3.githubusercontent.com/u/24963858?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-frontend-infra","html_url":"https://github.com/mozilla-frontend-infra","followers_url":"https://api.github.com/users/mozilla-frontend-infra/followers","following_url":"https://api.github.com/users/mozilla-frontend-infra/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-frontend-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-frontend-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-frontend-infra/subscriptions","organizations_url":"https://api.github.com/users/mozilla-frontend-infra/orgs","repos_url":"https://api.github.com/users/mozilla-frontend-infra/repos","events_url":"https://api.github.com/users/mozilla-frontend-infra/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-frontend-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":176316056,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYzMTYwNTY=","name":"balrog-ui","full_name":"mozilla-frontend-infra/balrog-ui","private":false,"owner":{"login":"mozilla-frontend-infra","id":24963858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTYzODU4","avatar_url":"https://avatars3.githubusercontent.com/u/24963858?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-frontend-infra","html_url":"https://github.com/mozilla-frontend-infra","followers_url":"https://api.github.com/users/mozilla-frontend-infra/followers","following_url":"https://api.github.com/users/mozilla-frontend-infra/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-frontend-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-frontend-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-frontend-infra/subscriptions","organizations_url":"https://api.github.com/users/mozilla-frontend-infra/orgs","repos_url":"https://api.github.com/users/mozilla-frontend-infra/repos","events_url":"https://api.github.com/users/mozilla-frontend-infra/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-frontend-infra/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla-frontend-infra/balrog-ui","description":"The web UI for interacting with RelEng Balrog","fork":false,"url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui","forks_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/forks","keys_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/teams","hooks_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/hooks","issue_events_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/events","assignees_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/tags","blobs_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/languages","stargazers_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/stargazers","contributors_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/contributors","subscribers_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/subscribers","subscription_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/subscription","commits_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/merges","archive_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/downloads","issues_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/deployments","created_at":"2019-03-18T15:31:50Z","updated_at":"2019-09-03T14:25:14Z","pushed_at":"2019-09-04T17:49:27Z","git_url":"git://github.com/mozilla-frontend-infra/balrog-ui.git","ssh_url":"git@github.com:mozilla-frontend-infra/balrog-ui.git","clone_url":"https://github.com/mozilla-frontend-infra/balrog-ui.git","svn_url":"https://github.com/mozilla-frontend-infra/balrog-ui","homepage":null,"size":1265,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":21,"license":null,"forks":3,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184"},"html":{"href":"https://github.com/mozilla-frontend-infra/balrog-ui/pull/184"},"issue":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/184"},"comments":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-frontend-infra/balrog-ui/statuses/0d1b2f1ddb1ee866b3468397dd8b79c284fda4f4"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"helfi92"}}