{"action":"created","comment":{"url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/comments/50997549","id":50997549,"diff_hunk":"@@ -0,0 +1,84 @@\n+import React from 'react';\n+\n+export default React.createClass({\n+  getInitialState() {\n+      return {};\n+    },\n+  componentWillMount() {\n+      this.setState({\n+      students: [\n+        {\n+          id: 1,\n+          name: 'Student1',\n+          classifications: 120,\n+          group: 'Group1'\n+        },\n+        {\n+          id: 2,\n+          name: 'Student2',\n+          classifications: 80,\n+          group: 'Group1'\n+        },\n+        {\n+          id: 3,\n+          name: 'Student3',\n+          classifications: 207,\n+          group: 'Group1'\n+        },\n+        {\n+          id: 4,\n+          name: 'Student4',\n+          classifications: 100,\n+          group: 'Group1'\n+        },\n+        {\n+          id: 5,\n+          name: 'Student5',\n+          classifications: 150,\n+          group: 'Group1'\n+        },\n+        {\n+          id: 6,\n+          name: 'Student6',\n+          classifications: 160,\n+          group: 'Group1'\n+        }\n+      ]\n+     });\n+  },\n+  render(){\n+    let rows = this.state.students.map(function(student, i) {\n+      return (\n+        <tr key={i}>\n+          <td>{student.id}</td>\n+          <td>{student.name}</td>\n+          <td>{student.classifications}</td>\n+          <td>{student.group}</td>\n+        </tr>\n+      )\n+    });\n+    return(\n+      <div>\n+        <h2>Classroom Name</h2>\n+        <table className=\"table table-hover\">\n+          <thead>\n+            <tr>\n+              <th>Id</th>\n+              <th>Name</th>\n+              <th>Classifications</th>\n+              <th>Group</th>\n+            </tr>\n+          </thead>\n+          <tbody>\n+            { rows }\n+          </tbody>\n+        </table>\n+      </div>\n+    );\n+\n+  }\n+});\n+\n+","path":"src/components/StudentTable.jsx","position":82,"original_position":82,"commit_id":"229a65ae38e6f4f3edbd88cea2199dee4b3dd153","original_commit_id":"229a65ae38e6f4f3edbd88cea2199dee4b3dd153","user":{"login":"rogerhutchings","id":2725841,"avatar_url":"https://avatars.githubusercontent.com/u/2725841?v=3","gravatar_id":"","url":"https://api.github.com/users/rogerhutchings","html_url":"https://github.com/rogerhutchings","followers_url":"https://api.github.com/users/rogerhutchings/followers","following_url":"https://api.github.com/users/rogerhutchings/following{/other_user}","gists_url":"https://api.github.com/users/rogerhutchings/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerhutchings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerhutchings/subscriptions","organizations_url":"https://api.github.com/users/rogerhutchings/orgs","repos_url":"https://api.github.com/users/rogerhutchings/repos","events_url":"https://api.github.com/users/rogerhutchings/events{/privacy}","received_events_url":"https://api.github.com/users/rogerhutchings/received_events","type":"User","site_admin":false},"body":"only leave one trailing line","created_at":"2016-01-27T15:21:00Z","updated_at":"2016-01-27T15:21:00Z","html_url":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14#discussion_r50997549","pull_request_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/comments/50997549"},"html":{"href":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14#discussion_r50997549"},"pull_request":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14","id":56192948,"html_url":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14","diff_url":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14.diff","patch_url":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14.patch","issue_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/14","number":14,"state":"open","locked":false,"title":"Add table component. Add sidebar.","user":{"login":"simoneduca","id":8989606,"avatar_url":"https://avatars.githubusercontent.com/u/8989606?v=3","gravatar_id":"","url":"https://api.github.com/users/simoneduca","html_url":"https://github.com/simoneduca","followers_url":"https://api.github.com/users/simoneduca/followers","following_url":"https://api.github.com/users/simoneduca/following{/other_user}","gists_url":"https://api.github.com/users/simoneduca/gists{/gist_id}","starred_url":"https://api.github.com/users/simoneduca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoneduca/subscriptions","organizations_url":"https://api.github.com/users/simoneduca/orgs","repos_url":"https://api.github.com/users/simoneduca/repos","events_url":"https://api.github.com/users/simoneduca/events{/privacy}","received_events_url":"https://api.github.com/users/simoneduca/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-15T16:49:46Z","updated_at":"2016-01-27T15:21:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec4ab0ac36e8247d3dabf417111e3104d0ff83d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14/commits","review_comments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14/comments","review_comment_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/14/comments","statuses_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/statuses/229a65ae38e6f4f3edbd88cea2199dee4b3dd153","head":{"label":"zooniverse:tabs-and-tables","ref":"tabs-and-tables","sha":"229a65ae38e6f4f3edbd88cea2199dee4b3dd153","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":48992650,"name":"wildcam-gorongosa-education","full_name":"zooniverse/wildcam-gorongosa-education","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/wildcam-gorongosa-education","description":"","fork":false,"url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education","forks_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/forks","keys_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/teams","hooks_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/events","assignees_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/tags","blobs_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/languages","stargazers_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/subscription","commits_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/merges","archive_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/downloads","issues_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/releases{/id}","deployments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/deployments","created_at":"2016-01-04T11:21:00Z","updated_at":"2016-01-20T10:31:05Z","pushed_at":"2016-01-27T15:06:44Z","git_url":"git://github.com/zooniverse/wildcam-gorongosa-education.git","ssh_url":"git@github.com:zooniverse/wildcam-gorongosa-education.git","clone_url":"https://github.com/zooniverse/wildcam-gorongosa-education.git","svn_url":"https://github.com/zooniverse/wildcam-gorongosa-education","homepage":null,"size":280,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"zooniverse:master","ref":"master","sha":"66b02c3302ba395a6707ec519939530614b8b5ad","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":48992650,"name":"wildcam-gorongosa-education","full_name":"zooniverse/wildcam-gorongosa-education","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/wildcam-gorongosa-education","description":"","fork":false,"url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education","forks_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/forks","keys_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/teams","hooks_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/events","assignees_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/tags","blobs_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/languages","stargazers_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/subscription","commits_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/merges","archive_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/downloads","issues_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/releases{/id}","deployments_url":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/deployments","created_at":"2016-01-04T11:21:00Z","updated_at":"2016-01-20T10:31:05Z","pushed_at":"2016-01-27T15:06:44Z","git_url":"git://github.com/zooniverse/wildcam-gorongosa-education.git","ssh_url":"git@github.com:zooniverse/wildcam-gorongosa-education.git","clone_url":"https://github.com/zooniverse/wildcam-gorongosa-education.git","svn_url":"https://github.com/zooniverse/wildcam-gorongosa-education","homepage":null,"size":280,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14"},"html":{"href":"https://github.com/zooniverse/wildcam-gorongosa-education/pull/14"},"issue":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/14"},"comments":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/zooniverse/wildcam-gorongosa-education/statuses/229a65ae38e6f4f3edbd88cea2199dee4b3dd153"}}}}