{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments/203036590","pull_request_review_id":137846516,"id":203036590,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzAzNjU5MA==","diff_hunk":"@@ -247,7 +248,12 @@ export class AddonReviewListBase extends React.Component<Props> {\n       ) : null;\n \n     return (\n-      <div className=\"AddonReviewList\">\n+      <div\n+        className={makeClassName(\n+          'AddonReviewList',\n+          `AddonReviewList--${(addon && addon.type) || ''}`,","path":"src/amo/components/AddonReviewList/index.js","position":15,"original_position":15,"commit_id":"ccee90c7019fe12e5391493a61503797db4b90bd","original_commit_id":"ccee90c7019fe12e5391493a61503797db4b90bd","user":{"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},"body":"I actually had something similar but slightly diff b/c it's a dynamic class name:\r\n```javascript\r\n   <div\r\n        className={makeClassName('AddonReviewList', {\r\n          [`AddonReviewList--${addon.type}`]: addon && addon.type,\r\n        })}\r\n      >\r\n```\r\nbut flow complains about this :/\r\n\r\nis it better to just hard code the class name..just for static theme type?","created_at":"2018-07-17T14:09:08Z","updated_at":"2018-07-17T14:09:08Z","html_url":"https://github.com/mozilla/addons-frontend/pull/5613#discussion_r203036590","pull_request_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/comments/203036590"},"html":{"href":"https://github.com/mozilla/addons-frontend/pull/5613#discussion_r203036590"},"pull_request":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613"}},"in_reply_to_id":202996331},"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613","id":201654763,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNjU0NzYz","html_url":"https://github.com/mozilla/addons-frontend/pull/5613","diff_url":"https://github.com/mozilla/addons-frontend/pull/5613.diff","patch_url":"https://github.com/mozilla/addons-frontend/pull/5613.patch","issue_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/5613","number":5613,"state":"open","locked":false,"title":"I5277 removes default static theme icon from reviews","user":{"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},"body":"fixes #5277 \r\n\r\n","created_at":"2018-07-16T14:25:37Z","updated_at":"2018-07-17T14:09:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"102d05ee5baa087707f8097364c1aee089d48650","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613/commits","review_comments_url":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613/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/5613/comments","statuses_url":"https://api.github.com/repos/mozilla/addons-frontend/statuses/ccee90c7019fe12e5391493a61503797db4b90bd","head":{"label":"rebmullin:I5277-reviews-static-theme-icon","ref":"I5277-reviews-static-theme-icon","sha":"ccee90c7019fe12e5391493a61503797db4b90bd","user":{"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},"repo":{"id":127836690,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc4MzY2OTA=","name":"addons-frontend","full_name":"rebmullin/addons-frontend","owner":{"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},"private":false,"html_url":"https://github.com/rebmullin/addons-frontend","description":"Front-end to complement mozilla/addons-server","fork":true,"url":"https://api.github.com/repos/rebmullin/addons-frontend","forks_url":"https://api.github.com/repos/rebmullin/addons-frontend/forks","keys_url":"https://api.github.com/repos/rebmullin/addons-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebmullin/addons-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebmullin/addons-frontend/teams","hooks_url":"https://api.github.com/repos/rebmullin/addons-frontend/hooks","issue_events_url":"https://api.github.com/repos/rebmullin/addons-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/rebmullin/addons-frontend/events","assignees_url":"https://api.github.com/repos/rebmullin/addons-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/rebmullin/addons-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/rebmullin/addons-frontend/tags","blobs_url":"https://api.github.com/repos/rebmullin/addons-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebmullin/addons-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebmullin/addons-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebmullin/addons-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebmullin/addons-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/rebmullin/addons-frontend/languages","stargazers_url":"https://api.github.com/repos/rebmullin/addons-frontend/stargazers","contributors_url":"https://api.github.com/repos/rebmullin/addons-frontend/contributors","subscribers_url":"https://api.github.com/repos/rebmullin/addons-frontend/subscribers","subscription_url":"https://api.github.com/repos/rebmullin/addons-frontend/subscription","commits_url":"https://api.github.com/repos/rebmullin/addons-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebmullin/addons-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebmullin/addons-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebmullin/addons-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebmullin/addons-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/rebmullin/addons-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebmullin/addons-frontend/merges","archive_url":"https://api.github.com/repos/rebmullin/addons-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebmullin/addons-frontend/downloads","issues_url":"https://api.github.com/repos/rebmullin/addons-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/rebmullin/addons-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/rebmullin/addons-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/rebmullin/addons-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebmullin/addons-frontend/labels{/name}","releases_url":"https://api.github.com/repos/rebmullin/addons-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/rebmullin/addons-frontend/deployments","created_at":"2018-04-03T02:02:39Z","updated_at":"2018-05-03T19:19:11Z","pushed_at":"2018-07-17T01:02:39Z","git_url":"git://github.com/rebmullin/addons-frontend.git","ssh_url":"git@github.com:rebmullin/addons-frontend.git","clone_url":"https://github.com/rebmullin/addons-frontend.git","svn_url":"https://github.com/rebmullin/addons-frontend","homepage":"","size":529922,"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":"e02eab48d26f799fa1e72489a18f0219ee230046","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","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},"private":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-07-17T13:10:59Z","pushed_at":"2018-07-17T13:16:56Z","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":530163,"stargazers_count":226,"watchers_count":226,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":148,"mirror_url":null,"archived":false,"open_issues_count":457,"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":148,"open_issues":457,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613"},"html":{"href":"https://github.com/mozilla/addons-frontend/pull/5613"},"issue":{"href":"https://api.github.com/repos/mozilla/addons-frontend/issues/5613"},"comments":{"href":"https://api.github.com/repos/mozilla/addons-frontend/issues/5613/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/addons-frontend/pulls/5613/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/5613/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/addons-frontend/statuses/ccee90c7019fe12e5391493a61503797db4b90bd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rebmullin"}}