{"action":"created","comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/126758373","pull_request_review_id":49273458,"id":126758373,"diff_hunk":"@@ -0,0 +1,146 @@\n+import React, {Component, PropTypes} from 'react';\n+import i18n from '@cdo/locale';\n+import color from '../../util/color';\n+import experiments from '../../util/experiments';\n+import CardContainer from './CardContainer';\n+import LoginTypeCard from './LoginTypeCard';\n+\n+const style = {\n+  h1: {\n+    fontFamily: '\"Gotham 7r\", sans-serif',\n+    fontWeight: 'normal',\n+    fontSize: 32,\n+    lineHeight: 1.5,\n+    color: color.dark_charcoal,\n+  },\n+  h2: {\n+    fontFamily: '\"Gotham 4r\", sans-serif',\n+    fontWeight: 'normal',\n+    fontSize: 24,\n+    lineHeight: 2,\n+    color: color.dark_charcoal,\n+    margin: '10px 0',\n+  },\n+  h3: {\n+    fontFamily: '\"Gotham 5r\", sans-serif',\n+    fontWeight: 'normal',\n+    fontSize: 16,\n+    lineHeight: 2,\n+    color: color.dark_charcoal,\n+  },\n+};\n+\n+/**\n+ * View shown to a teacher when beginning to add students to an empty section.\n+ * Lets the teacher decide whether to use word/picture logins, have students\n+ * manage their own accounts via email/oauth, or to sync students with an\n+ * external service like Microsoft Classroom or Clever.\n+ */\n+class AddInitialStudentsView extends Component {\n+  static propTypes = {\n+    sectionName: PropTypes.string.isRequired,\n+  };\n+\n+  render() {\n+    const {sectionName} = this.props;\n+    const googleClassroom = experiments.isEnabled('googleClassroom');\n+    const microsoftClassroom = experiments.isEnabled('microsoftClassroom');\n+    const clever = experiments.isEnabled('clever');\n+    const anyThirdParty = googleClassroom || microsoftClassroom || clever;\n+\n+    return (\n+      <div>\n+        <h1 style={style.h1}>","path":"apps/src/templates/teacherDashboard/AddInitialStudentsView.jsx","position":53,"original_position":53,"commit_id":"678555b7e2cd8395c1611d98f16c971001d73c3e","original_commit_id":"678555b7e2cd8395c1611d98f16c971001d73c3e","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars3.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"body":"So, how about some reusable components with a styleguide entry?\r\n![image](https://user-images.githubusercontent.com/1615761/28081721-12c893ea-6625-11e7-82f3-9f0917821ede.png)\r\n","created_at":"2017-07-11T17:38:30Z","updated_at":"2017-07-11T17:38:30Z","html_url":"https://github.com/code-dot-org/code-dot-org/pull/16335#discussion_r126758373","pull_request_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335","_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/126758373"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/16335#discussion_r126758373"},"pull_request":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335"}}},"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335","id":129782001,"html_url":"https://github.com/code-dot-org/code-dot-org/pull/16335","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/16335.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/16335.patch","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/16335","number":16335,"state":"open","locked":false,"title":"Teacher Dashboard: New view for adding students to an empty section","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars3.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"body":"Part of the [updated sections flow spec](https://docs.google.com/document/d/1zCvxpItEDlBownz6sAWXv7GjDVqAjm_U29aDv7wPwn8/edit#bookmark=id.z3kx04swmj14).\r\n\r\nCreates the new view for picking a login type or third-party provider for the section.\r\n\r\n![screenshot from 2017-07-10 16-52-18](https://user-images.githubusercontent.com/1615761/28045123-29b22872-6590-11e7-9984-b1fa1d287936.png)\r\n\r\nThis view isn't hooked up to anything but storybook yet - I figured it'd be nice to get this in and checked for style, then have all the changes wiring it into the teacher dashboard in a separate PR.\r\n\r\n### Review assignments:\r\n\r\n- @epeach Scan everything because we're working together on this spec.\r\n- @Bjvanminnen Please check my React style against the other teacher dashboard work you've been doing.\r\n- @breville This has the flexbox approach to content cards, I'm interested in your thoughts.\r\n- @markabarrett please style-check!","created_at":"2017-07-10T21:51:30Z","updated_at":"2017-07-11T17:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5f56809247708de653e9673cf7e7102a468b6a9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"epeach","id":2959170,"avatar_url":"https://avatars3.githubusercontent.com/u/2959170?v=3","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}],"milestone":null,"commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335/commits","review_comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335/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/16335/comments","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/678555b7e2cd8395c1611d98f16c971001d73c3e","head":{"label":"code-dot-org:section-flow-initial-add-students-view","ref":"section-flow-initial-add-students-view","sha":"678555b7e2cd8395c1611d98f16c971001d73c3e","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars1.githubusercontent.com/u/5124627?v=3","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://avatars1.githubusercontent.com/u/5124627?v=3","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":"2017-07-09T01:43:37Z","pushed_at":"2017-07-11T17:38:12Z","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":5532952,"stargazers_count":197,"watchers_count":197,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":107,"forks":127,"open_issues":107,"watchers":197,"default_branch":"staging"}},"base":{"label":"code-dot-org:staging","ref":"staging","sha":"34d20928bd6a9f4377b83b832f1293bb85886977","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars1.githubusercontent.com/u/5124627?v=3","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://avatars1.githubusercontent.com/u/5124627?v=3","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":"2017-07-09T01:43:37Z","pushed_at":"2017-07-11T17:38:12Z","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":5532952,"stargazers_count":197,"watchers_count":197,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":107,"forks":127,"open_issues":107,"watchers":197,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/16335"},"issue":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/16335"},"comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/16335/comments"},"review_comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/16335/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/16335/commits"},"statuses":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/678555b7e2cd8395c1611d98f16c971001d73c3e"}}}}
{"actor":{"display_login":"islemaster"}}