{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments/221932366","pull_request_review_id":160697282,"id":221932366,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTkzMjM2Ng==","diff_hunk":"@@ -90,23 +91,28 @@ export class ConfirmButtonBase extends React.Component<InternalProps> {\n     if (showConfirmation) {\n       return (\n         <div className={classNames}>\n-          <span className=\"ConfirmButton-message\">{message}</span>\n-\n+          {message && <span className=\"ConfirmButton-message\">{message}</span>}\n           <div className=\"ConfirmButton-buttons\">\n-            <Button\n-              buttonType={confirmButtonType}\n-              className=\"ConfirmButton-confirm-button\"\n-              onClick={this.onConfirm}\n-            >\n-              {confirmButtonText || i18n.gettext('Confirm')}\n-            </Button>\n-            <Button\n-              buttonType={cancelButtonType}\n-              className=\"ConfirmButton-cancel-button\"\n-              onClick={this.toggleConfirmation}\n-            >\n-              {cancelButtonText || i18n.gettext('Cancel')}\n-            </Button>\n+            <div className=\"ConfirmButton-confirm-button-container\">","path":"src/ui/components/ConfirmButton/index.js","position":47,"original_position":47,"commit_id":"efe2e78c94c79d50a923b3f5fba50dbc8b2ab908","original_commit_id":"efe2e78c94c79d50a923b3f5fba50dbc8b2ab908","user":{"login":"bobsilverberg","id":142755,"node_id":"MDQ6VXNlcjE0Mjc1NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/142755?v=4","gravatar_id":"","url":"https://api.github.com/users/bobsilverberg","html_url":"https://github.com/bobsilverberg","followers_url":"https://api.github.com/users/bobsilverberg/followers","following_url":"https://api.github.com/users/bobsilverberg/following{/other_user}","gists_url":"https://api.github.com/users/bobsilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobsilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobsilverberg/subscriptions","organizations_url":"https://api.github.com/users/bobsilverberg/orgs","repos_url":"https://api.github.com/users/bobsilverberg/repos","events_url":"https://api.github.com/users/bobsilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobsilverberg/received_events","type":"User","site_admin":false},"body":"You're right, I think I used them at one point, but they're no longer needed.","created_at":"2018-10-02T12:36:18Z","updated_at":"2018-10-02T12:36:18Z","html_url":"https://github.com/mozilla/addons-frontend/pull/6455#discussion_r221932366","pull_request_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments/221932366"},"html":{"href":"https://github.com/mozilla/addons-frontend/pull/6455#discussion_r221932366"},"pull_request":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455"}},"in_reply_to_id":221764417},"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455","id":219005392,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MDA1Mzky","html_url":"https://github.com/mozilla/addons-frontend/pull/6455","diff_url":"https://github.com/mozilla/addons-frontend/pull/6455.diff","patch_url":"https://github.com/mozilla/addons-frontend/pull/6455.patch","issue_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/6455","number":6455,"state":"open","locked":false,"title":"Adjust the appearance of the confirmation buttons when deleting a review/reply","user":{"login":"bobsilverberg","id":142755,"node_id":"MDQ6VXNlcjE0Mjc1NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/142755?v=4","gravatar_id":"","url":"https://api.github.com/users/bobsilverberg","html_url":"https://github.com/bobsilverberg","followers_url":"https://api.github.com/users/bobsilverberg/followers","following_url":"https://api.github.com/users/bobsilverberg/following{/other_user}","gists_url":"https://api.github.com/users/bobsilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobsilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobsilverberg/subscriptions","organizations_url":"https://api.github.com/users/bobsilverberg/orgs","repos_url":"https://api.github.com/users/bobsilverberg/repos","events_url":"https://api.github.com/users/bobsilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobsilverberg/received_events","type":"User","site_admin":false},"body":"Fixes #6454 \r\n\r\nNote that this looks a bit odd when rendered for a review as opposed to a rating, but I think that's okay as a short-term issue until #6347 is fixed entirely.\r\n\r\nDeleting a rating (before):\r\n\r\n![screenshot 2018-09-28 11 18 49](https://user-images.githubusercontent.com/142755/46217551-4b98d380-c310-11e8-8535-00adf8cf5eb9.png)\r\n\r\nDeleting a rating (after):\r\n\r\n![screenshot 2018-09-28 11 17 55](https://user-images.githubusercontent.com/142755/46217517-30c65f00-c310-11e8-82b6-b91fea7b78fd.png)\r\n\r\nDeleting a review (before):\r\n\r\n![screenshot 2018-09-28 11 19 38](https://user-images.githubusercontent.com/142755/46217599-68cda200-c310-11e8-887b-ee66bec87254.png)\r\n\r\nDeleting a review (after):\r\n\r\n![screenshot 2018-09-28 11 20 25](https://user-images.githubusercontent.com/142755/46217633-8569da00-c310-11e8-8ba6-c79573af7fed.png)\r\n","created_at":"2018-09-28T15:27:32Z","updated_at":"2018-10-02T12:36:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"160994f9f1f353d5f0e9cb86fcbf2f364c24ea83","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rebmullin","id":1986001,"node_id":"MDQ6VXNlcjE5ODYwMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1986001?v=4","gravatar_id":"","url":"https://api.github.com/users/rebmullin","html_url":"https://github.com/rebmullin","followers_url":"https://api.github.com/users/rebmullin/followers","following_url":"https://api.github.com/users/rebmullin/following{/other_user}","gists_url":"https://api.github.com/users/rebmullin/gists{/gist_id}","starred_url":"https://api.github.com/users/rebmullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebmullin/subscriptions","organizations_url":"https://api.github.com/users/rebmullin/orgs","repos_url":"https://api.github.com/users/rebmullin/repos","events_url":"https://api.github.com/users/rebmullin/events{/privacy}","received_events_url":"https://api.github.com/users/rebmullin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455/commits","review_comments_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455/comments","review_comment_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/6455/comments","statuses_url":"https://api.github.com/repos/mozilla/addons-frontend/statuses/efe2e78c94c79d50a923b3f5fba50dbc8b2ab908","head":{"label":"bobsilverberg:adjust-confirm-buttons-6454","ref":"adjust-confirm-buttons-6454","sha":"efe2e78c94c79d50a923b3f5fba50dbc8b2ab908","user":{"login":"bobsilverberg","id":142755,"node_id":"MDQ6VXNlcjE0Mjc1NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/142755?v=4","gravatar_id":"","url":"https://api.github.com/users/bobsilverberg","html_url":"https://github.com/bobsilverberg","followers_url":"https://api.github.com/users/bobsilverberg/followers","following_url":"https://api.github.com/users/bobsilverberg/following{/other_user}","gists_url":"https://api.github.com/users/bobsilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobsilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobsilverberg/subscriptions","organizations_url":"https://api.github.com/users/bobsilverberg/orgs","repos_url":"https://api.github.com/users/bobsilverberg/repos","events_url":"https://api.github.com/users/bobsilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobsilverberg/received_events","type":"User","site_admin":false},"repo":{"id":118461865,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0NjE4NjU=","name":"addons-frontend","full_name":"bobsilverberg/addons-frontend","private":false,"owner":{"login":"bobsilverberg","id":142755,"node_id":"MDQ6VXNlcjE0Mjc1NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/142755?v=4","gravatar_id":"","url":"https://api.github.com/users/bobsilverberg","html_url":"https://github.com/bobsilverberg","followers_url":"https://api.github.com/users/bobsilverberg/followers","following_url":"https://api.github.com/users/bobsilverberg/following{/other_user}","gists_url":"https://api.github.com/users/bobsilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobsilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobsilverberg/subscriptions","organizations_url":"https://api.github.com/users/bobsilverberg/orgs","repos_url":"https://api.github.com/users/bobsilverberg/repos","events_url":"https://api.github.com/users/bobsilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobsilverberg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bobsilverberg/addons-frontend","description":"Front-end to complement mozilla/addons-server","fork":true,"url":"https://api.github.com/repos/bobsilverberg/addons-frontend","forks_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/forks","keys_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/teams","hooks_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/hooks","issue_events_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/events","assignees_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/tags","blobs_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/languages","stargazers_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/stargazers","contributors_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/contributors","subscribers_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/subscribers","subscription_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/subscription","commits_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/merges","archive_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/downloads","issues_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/labels{/name}","releases_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/bobsilverberg/addons-frontend/deployments","created_at":"2018-01-22T13:37:47Z","updated_at":"2018-09-27T15:54:11Z","pushed_at":"2018-10-01T19:42:56Z","git_url":"git://github.com/bobsilverberg/addons-frontend.git","ssh_url":"git@github.com:bobsilverberg/addons-frontend.git","clone_url":"https://github.com/bobsilverberg/addons-frontend.git","svn_url":"https://github.com/bobsilverberg/addons-frontend","homepage":"","size":556214,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"8bce8ed951b1640fb8b577ee2356f52132a196f2","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":52104368,"node_id":"MDEwOlJlcG9zaXRvcnk1MjEwNDM2OA==","name":"addons-frontend","full_name":"mozilla/addons-frontend","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla/addons-frontend","description":"Front-end to complement mozilla/addons-server","fork":false,"url":"https://api.github.com/repos/mozilla/addons-frontend","forks_url":"https://api.github.com/repos/mozilla/addons-frontend/forks","keys_url":"https://api.github.com/repos/mozilla/addons-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/addons-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/addons-frontend/teams","hooks_url":"https://api.github.com/repos/mozilla/addons-frontend/hooks","issue_events_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/addons-frontend/events","assignees_url":"https://api.github.com/repos/mozilla/addons-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/addons-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/addons-frontend/tags","blobs_url":"https://api.github.com/repos/mozilla/addons-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/addons-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/addons-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/addons-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/addons-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/addons-frontend/languages","stargazers_url":"https://api.github.com/repos/mozilla/addons-frontend/stargazers","contributors_url":"https://api.github.com/repos/mozilla/addons-frontend/contributors","subscribers_url":"https://api.github.com/repos/mozilla/addons-frontend/subscribers","subscription_url":"https://api.github.com/repos/mozilla/addons-frontend/subscription","commits_url":"https://api.github.com/repos/mozilla/addons-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/addons-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/addons-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/addons-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/addons-frontend/merges","archive_url":"https://api.github.com/repos/mozilla/addons-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/addons-frontend/downloads","issues_url":"https://api.github.com/repos/mozilla/addons-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/addons-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/addons-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/addons-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/addons-frontend/deployments","created_at":"2016-02-19T17:25:57Z","updated_at":"2018-10-02T08:55:31Z","pushed_at":"2018-10-02T11:26:29Z","git_url":"git://github.com/mozilla/addons-frontend.git","ssh_url":"git@github.com:mozilla/addons-frontend.git","clone_url":"https://github.com/mozilla/addons-frontend.git","svn_url":"https://github.com/mozilla/addons-frontend","homepage":"","size":556841,"stargazers_count":286,"watchers_count":286,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":174,"mirror_url":null,"archived":false,"open_issues_count":428,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":174,"open_issues":428,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455"},"html":{"href":"https://github.com/mozilla/addons-frontend/pull/6455"},"issue":{"href":"https://api.github.com/repos/mozilla/addons-frontend/issues/6455"},"comments":{"href":"https://api.github.com/repos/mozilla/addons-frontend/issues/6455/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/6455/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/addons-frontend/statuses/efe2e78c94c79d50a923b3f5fba50dbc8b2ab908"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bobsilverberg"}}