{"action":"created","comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/171935937","pull_request_review_id":100880735,"id":171935937,"diff_hunk":"@@ -0,0 +1,345 @@\n+/* global google adjustScroll*/\n+import $ from 'jquery';\n+import React, { PropTypes, Component } from 'react';\n+import ReactDOM from 'react-dom';\n+\n+class CensusMapInfoWindow extends Component {\n+  static propTypes = {\n+    handleTakeSurveyClick: PropTypes.func.isRequired,\n+    schoolId: PropTypes.string.isRequired,\n+    schoolName: PropTypes.string.isRequired,\n+    city: PropTypes.string.isRequired,\n+    state: PropTypes.string.isRequired,\n+    location: PropTypes.string.isRequired,\n+    teachesCs: PropTypes.string.isRequired\n+  };\n+\n+  render() {\n+    let censusMessage;\n+\n+    switch (this.props.teachesCs) {\n+      case 'YES':\n+        censusMessage = \"We believe this school offers Computer Science.\";","path":"apps/src/templates/census2017/CensusMap.jsx","position":22,"original_position":22,"commit_id":"0d8ef375b4dc953826d4c78279140424042fecf3","original_commit_id":"0d8ef375b4dc953826d4c78279140424042fecf3","user":{"login":"drewsamnick","id":32463904,"avatar_url":"https://avatars1.githubusercontent.com/u/32463904?v=4","gravatar_id":"","url":"https://api.github.com/users/drewsamnick","html_url":"https://github.com/drewsamnick","followers_url":"https://api.github.com/users/drewsamnick/followers","following_url":"https://api.github.com/users/drewsamnick/following{/other_user}","gists_url":"https://api.github.com/users/drewsamnick/gists{/gist_id}","starred_url":"https://api.github.com/users/drewsamnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewsamnick/subscriptions","organizations_url":"https://api.github.com/users/drewsamnick/orgs","repos_url":"https://api.github.com/users/drewsamnick/repos","events_url":"https://api.github.com/users/drewsamnick/events{/privacy}","received_events_url":"https://api.github.com/users/drewsamnick/received_events","type":"User","site_admin":false},"body":"Agreed. There are a ton of stings on the /yourschool page that aren't localized.","created_at":"2018-03-02T19:09:47Z","updated_at":"2018-03-02T19:09:47Z","html_url":"https://github.com/code-dot-org/code-dot-org/pull/20978#discussion_r171935937","pull_request_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/171935937"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/20978#discussion_r171935937"},"pull_request":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978"}},"in_reply_to_id":171921886},"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978","id":172422959,"html_url":"https://github.com/code-dot-org/code-dot-org/pull/20978","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/20978.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/20978.patch","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/20978","number":20978,"state":"open","locked":false,"title":"Revised new census map with map in React","user":{"login":"drewsamnick","id":32463904,"avatar_url":"https://avatars1.githubusercontent.com/u/32463904?v=4","gravatar_id":"","url":"https://api.github.com/users/drewsamnick","html_url":"https://github.com/drewsamnick","followers_url":"https://api.github.com/users/drewsamnick/followers","following_url":"https://api.github.com/users/drewsamnick/following{/other_user}","gists_url":"https://api.github.com/users/drewsamnick/gists{/gist_id}","starred_url":"https://api.github.com/users/drewsamnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewsamnick/subscriptions","organizations_url":"https://api.github.com/users/drewsamnick/orgs","repos_url":"https://api.github.com/users/drewsamnick/repos","events_url":"https://api.github.com/users/drewsamnick/events{/privacy}","received_events_url":"https://api.github.com/users/drewsamnick/received_events","type":"User","site_admin":false},"body":"We had some problems with the new census map from #20725 and had to revert. The issue was that the map javascript was inside the haml file and thus not getting transpiled. The page was broken on several browsers. \r\n\r\nHere, I have reverted the revert and then moved the map into a React component. We're hoping to get this out in Friday's DTP so that the new map can be presented on Sunday at the CSF summit. I've tested locally and once the changes show up on [the adhoc](https://adhoc-census-use-new-map.cdn-code.org/yourschool) I will point saucelabs there to verify that the page renders in some of the browsers where it failed previously.","created_at":"2018-03-02T05:00:30Z","updated_at":"2018-03-02T19:09:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91436494affd2533a8762659bb95b8a62567fbf2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"breville","id":2205926,"avatar_url":"https://avatars3.githubusercontent.com/u/2205926?v=4","gravatar_id":"","url":"https://api.github.com/users/breville","html_url":"https://github.com/breville","followers_url":"https://api.github.com/users/breville/followers","following_url":"https://api.github.com/users/breville/following{/other_user}","gists_url":"https://api.github.com/users/breville/gists{/gist_id}","starred_url":"https://api.github.com/users/breville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breville/subscriptions","organizations_url":"https://api.github.com/users/breville/orgs","repos_url":"https://api.github.com/users/breville/repos","events_url":"https://api.github.com/users/breville/events{/privacy}","received_events_url":"https://api.github.com/users/breville/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978/commits","review_comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978/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/20978/comments","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/0d8ef375b4dc953826d4c78279140424042fecf3","head":{"label":"code-dot-org:census-use-new-map","ref":"census-use-new-map","sha":"0d8ef375b4dc953826d4c78279140424042fecf3","user":{"login":"code-dot-org","id":5124627,"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,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"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-03-01T19:53:54Z","pushed_at":"2018-03-02T18:50:09Z","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":6872920,"stargazers_count":248,"watchers_count":248,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":169,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":169,"open_issues":123,"watchers":248,"default_branch":"staging"}},"base":{"label":"code-dot-org:staging","ref":"staging","sha":"ad9a17cc95f2c120c96f6ccdcfc8c44df18d8bfa","user":{"login":"code-dot-org","id":5124627,"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,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"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-03-01T19:53:54Z","pushed_at":"2018-03-02T18:50:09Z","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":6872920,"stargazers_count":248,"watchers_count":248,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":169,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":169,"open_issues":123,"watchers":248,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/20978"},"issue":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/20978"},"comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/20978/comments"},"review_comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/20978/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/20978/commits"},"statuses":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/0d8ef375b4dc953826d4c78279140424042fecf3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"drewsamnick"}}