{"action":"created","comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/203853854","pull_request_review_id":138829395,"id":203853854,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzg1Mzg1NA==","diff_hunk":"@@ -83,42 +82,39 @@ var styles = {\n };\n \n /**\n- * A purple pane header that can have be focused (purple), unfocused (light purple)\n- * or read only (charcoal).\n+ * A purple pane header that can have be focused (purple) or unfocused (light purple).\n  */\n-const PaneHeader = Radium(React.createClass({\n-  propTypes: {\n+class PaneHeader extends React.Component {\n+  static propTypes = {\n     hasFocus: PropTypes.bool.isRequired,\n-    readOnly: PropTypes.bool,\n     style: PropTypes.object\n-  },\n+  };\n \n-  render: function () {\n-    var {hasFocus, readOnly, style, ...props} = this.props;\n+  render() {\n+    let {hasFocus, style, ...props} = this.props;\n \n     // TODO: AnimationTab should likely use components from PaneHeader, at\n     // which point purpleHeader style should move in here.\n     style = [\n       style,\n       commonStyles.purpleHeader,\n-      !hasFocus && commonStyles.purpleHeaderUnfocused,\n-      readOnly && commonStyles.purpleHeaderReadOnly,\n+      !hasFocus && commonStyles.purpleHeaderUnfocused\n     ];","path":"apps/src/templates/PaneHeader.jsx","position":null,"original_position":50,"commit_id":"96aea67ed21a5754b8cc5a5e084ad1c181feaeb2","original_commit_id":"19e7a62f11f21c7e29a3e767691cc2298dcf7a76","user":{"login":"epeach","id":2959170,"node_id":"MDQ6VXNlcjI5NTkxNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/2959170?v=4","gravatar_id":"","url":"https://api.github.com/users/epeach","html_url":"https://github.com/epeach","followers_url":"https://api.github.com/users/epeach/followers","following_url":"https://api.github.com/users/epeach/following{/other_user}","gists_url":"https://api.github.com/users/epeach/gists{/gist_id}","starred_url":"https://api.github.com/users/epeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeach/subscriptions","organizations_url":"https://api.github.com/users/epeach/orgs","repos_url":"https://api.github.com/users/epeach/repos","events_url":"https://api.github.com/users/epeach/events{/privacy}","received_events_url":"https://api.github.com/users/epeach/received_events","type":"User","site_admin":false},"body":"Great call! I ended up updating this in a bunch of places in this file - thanks!","created_at":"2018-07-19T20:03:37Z","updated_at":"2018-07-19T20:03:37Z","html_url":"https://github.com/code-dot-org/code-dot-org/pull/23801#discussion_r203853854","pull_request_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/203853854"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/23801#discussion_r203853854"},"pull_request":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801"}},"in_reply_to_id":203839406},"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801","id":202653539,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNjUzNTM5","html_url":"https://github.com/code-dot-org/code-dot-org/pull/23801","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/23801.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/23801.patch","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/23801","number":23801,"state":"open","locked":false,"title":"Es6-ify PaneHeader","user":{"login":"epeach","id":2959170,"node_id":"MDQ6VXNlcjI5NTkxNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/2959170?v=4","gravatar_id":"","url":"https://api.github.com/users/epeach","html_url":"https://github.com/epeach","followers_url":"https://api.github.com/users/epeach/followers","following_url":"https://api.github.com/users/epeach/following{/other_user}","gists_url":"https://api.github.com/users/epeach/gists{/gist_id}","starred_url":"https://api.github.com/users/epeach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeach/subscriptions","organizations_url":"https://api.github.com/users/epeach/orgs","repos_url":"https://api.github.com/users/epeach/repos","events_url":"https://api.github.com/users/epeach/events{/privacy}","received_events_url":"https://api.github.com/users/epeach/received_events","type":"User","site_admin":false},"body":"Es6-ify PaneHeader, PaneSection, and PaneButton.\r\n\r\nAdditionally, removes unused `read-only` prop. from PaneHeader.","created_at":"2018-07-19T18:59:34Z","updated_at":"2018-07-19T20:03:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99d37ac17abdd373222ea6d00807efc32841bc88","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801/commits","review_comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801/comments","review_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/23801/comments","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/96aea67ed21a5754b8cc5a5e084ad1c181feaeb2","head":{"label":"code-dot-org:pane-header-es6","ref":"pane-header-es6","sha":"96aea67ed21a5754b8cc5a5e084ad1c181feaeb2","user":{"login":"code-dot-org","id":5124627,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjQ2Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5124627?v=4","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"node_id":"MDEwOlJlcG9zaXRvcnkyNDI1MDAwOQ==","name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjQ2Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5124627?v=4","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","deployments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/deployments","created_at":"2014-09-20T00:46:11Z","updated_at":"2018-07-19T19:37:10Z","pushed_at":"2018-07-19T20:02:45Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":8012365,"stargazers_count":330,"watchers_count":330,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":191,"mirror_url":null,"archived":false,"open_issues_count":128,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":191,"open_issues":128,"watchers":330,"default_branch":"staging"}},"base":{"label":"code-dot-org:staging","ref":"staging","sha":"847ac2ef453c99858e390001aa4fbe5518d36ba6","user":{"login":"code-dot-org","id":5124627,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjQ2Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5124627?v=4","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"node_id":"MDEwOlJlcG9zaXRvcnkyNDI1MDAwOQ==","name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMjQ2Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5124627?v=4","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","deployments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/deployments","created_at":"2014-09-20T00:46:11Z","updated_at":"2018-07-19T19:37:10Z","pushed_at":"2018-07-19T20:02:45Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":8012365,"stargazers_count":330,"watchers_count":330,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":191,"mirror_url":null,"archived":false,"open_issues_count":128,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":191,"open_issues":128,"watchers":330,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/23801"},"issue":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/23801"},"comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/23801/comments"},"review_comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801/comments"},"review_comment":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/23801/commits"},"statuses":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/96aea67ed21a5754b8cc5a5e084ad1c181feaeb2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"epeach"}}