{"action":"created","comment":{"url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/comments/145514592","pull_request_review_id":70326162,"id":145514592,"diff_hunk":"@@ -0,0 +1,42 @@\n+import React from 'react';\n+import { Field, reduxForm } from 'redux-form';\n+import s from './styles.css';\n+const SimpleForm = props => {\n+  const { handleSubmit, pristine, reset, submitting, data, close } = props;\n+  return (\n+    <form onSubmit={handleSubmit} className={s['post-form']}>\n+      <div>\n+        <label>Post a question about Q{data.trial_index}</label>\n+      </div>\n+      <div>\n+        <label>Subject</label>\n+        <div>\n+          <Field\n+            name=\"subject\"\n+            component=\"input\"\n+            type=\"text\"\n+            placeholder=\"enter a subject\"\n+          />\n+        </div>\n+      </div>\n+      <div>\n+        <label>Content</label>\n+        <div>\n+          <Field name=\"content\" component=\"textarea\" />\n+        </div>\n+      </div>\n+      <div>\n+        <button type=\"submit\" disabled={pristine || submitting}>\n+          Submit\n+        </button>\n+        <button type=\"button\" disabled={pristine || submitting} onClick={reset}>\n+          Close\n+        </button>\n+      </div>\n+    </form>\n+  );\n+};\n+\n+export default reduxForm({\n+  form: 'simple' // a unique identifier for this form\n+})(SimpleForm);","path":"components/QuizForum/form.js","position":42,"original_position":42,"commit_id":"c25161d1d2d64f2b67e886608a79c5329172cc10","original_commit_id":"c25161d1d2d64f2b67e886608a79c5329172cc10","user":{"login":"RobAWilkinson","id":1959628,"avatar_url":"https://avatars1.githubusercontent.com/u/1959628?v=4","gravatar_id":"","url":"https://api.github.com/users/RobAWilkinson","html_url":"https://github.com/RobAWilkinson","followers_url":"https://api.github.com/users/RobAWilkinson/followers","following_url":"https://api.github.com/users/RobAWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/RobAWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/RobAWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobAWilkinson/subscriptions","organizations_url":"https://api.github.com/users/RobAWilkinson/orgs","repos_url":"https://api.github.com/users/RobAWilkinson/repos","events_url":"https://api.github.com/users/RobAWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/RobAWilkinson/received_events","type":"User","site_admin":false},"body":"Love it, gives us all the validations for free 👍 ","created_at":"2017-10-18T19:16:31Z","updated_at":"2017-10-18T19:16:31Z","html_url":"https://github.com/pushkin-consortium/front-end/pull/6#discussion_r145514592","pull_request_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/comments/145514592"},"html":{"href":"https://github.com/pushkin-consortium/front-end/pull/6#discussion_r145514592"},"pull_request":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6","id":147270369,"html_url":"https://github.com/pushkin-consortium/front-end/pull/6","diff_url":"https://github.com/pushkin-consortium/front-end/pull/6.diff","patch_url":"https://github.com/pushkin-consortium/front-end/pull/6.patch","issue_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/6","number":6,"state":"open","locked":false,"title":"Auth0web -> Auth0lock","user":{"login":"lbai001","id":15193547,"avatar_url":"https://avatars2.githubusercontent.com/u/15193547?v=4","gravatar_id":"","url":"https://api.github.com/users/lbai001","html_url":"https://github.com/lbai001","followers_url":"https://api.github.com/users/lbai001/followers","following_url":"https://api.github.com/users/lbai001/following{/other_user}","gists_url":"https://api.github.com/users/lbai001/gists{/gist_id}","starred_url":"https://api.github.com/users/lbai001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbai001/subscriptions","organizations_url":"https://api.github.com/users/lbai001/orgs","repos_url":"https://api.github.com/users/lbai001/repos","events_url":"https://api.github.com/users/lbai001/events{/privacy}","received_events_url":"https://api.github.com/users/lbai001/received_events","type":"User","site_admin":false},"body":"All forum topics in redux\r\nAll user info in redux\r\nrefactors auth into redux\r\n\r\nauth0lock hook up in listener-quiz\r\n\r\nQuiz forum component pop up window\r\nForum show all posts\r\n\r\nRebase recovery\r\n\r\ncleans up routes.js\r\n\r\nupdate auth0lock to v10\r\n\r\nfixed create extra user bug\r\nrefactored getUserinfo action\r\nrefactored checkLogin action\r\n\r\nDashboard subscription email address\r\n\r\nUser could insert a subscription email address\r\n\r\n826ef81 pr fix\r\n-puts swal messages in constructor\r\n-refactors handleChangeUserMetaData function\r\n\r\npr 99c934e fixes\r\n\r\npr 2f0e2ff fixes","created_at":"2017-10-18T11:05:23Z","updated_at":"2017-10-18T19:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae0eeec413ea8431dfe2928315a597af3ff195aa","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6/commits","review_comments_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6/comments","review_comment_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/6/comments","statuses_url":"https://api.github.com/repos/pushkin-consortium/front-end/statuses/c25161d1d2d64f2b67e886608a79c5329172cc10","head":{"label":"pushkin-consortium:rebase_","ref":"rebase_","sha":"c25161d1d2d64f2b67e886608a79c5329172cc10","user":{"login":"pushkin-consortium","id":25489009,"avatar_url":"https://avatars1.githubusercontent.com/u/25489009?v=4","gravatar_id":"","url":"https://api.github.com/users/pushkin-consortium","html_url":"https://github.com/pushkin-consortium","followers_url":"https://api.github.com/users/pushkin-consortium/followers","following_url":"https://api.github.com/users/pushkin-consortium/following{/other_user}","gists_url":"https://api.github.com/users/pushkin-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/pushkin-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushkin-consortium/subscriptions","organizations_url":"https://api.github.com/users/pushkin-consortium/orgs","repos_url":"https://api.github.com/users/pushkin-consortium/repos","events_url":"https://api.github.com/users/pushkin-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/pushkin-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":104758606,"name":"front-end","full_name":"pushkin-consortium/front-end","owner":{"login":"pushkin-consortium","id":25489009,"avatar_url":"https://avatars1.githubusercontent.com/u/25489009?v=4","gravatar_id":"","url":"https://api.github.com/users/pushkin-consortium","html_url":"https://github.com/pushkin-consortium","followers_url":"https://api.github.com/users/pushkin-consortium/followers","following_url":"https://api.github.com/users/pushkin-consortium/following{/other_user}","gists_url":"https://api.github.com/users/pushkin-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/pushkin-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushkin-consortium/subscriptions","organizations_url":"https://api.github.com/users/pushkin-consortium/orgs","repos_url":"https://api.github.com/users/pushkin-consortium/repos","events_url":"https://api.github.com/users/pushkin-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/pushkin-consortium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pushkin-consortium/front-end","description":null,"fork":false,"url":"https://api.github.com/repos/pushkin-consortium/front-end","forks_url":"https://api.github.com/repos/pushkin-consortium/front-end/forks","keys_url":"https://api.github.com/repos/pushkin-consortium/front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pushkin-consortium/front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pushkin-consortium/front-end/teams","hooks_url":"https://api.github.com/repos/pushkin-consortium/front-end/hooks","issue_events_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/events{/number}","events_url":"https://api.github.com/repos/pushkin-consortium/front-end/events","assignees_url":"https://api.github.com/repos/pushkin-consortium/front-end/assignees{/user}","branches_url":"https://api.github.com/repos/pushkin-consortium/front-end/branches{/branch}","tags_url":"https://api.github.com/repos/pushkin-consortium/front-end/tags","blobs_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pushkin-consortium/front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/pushkin-consortium/front-end/languages","stargazers_url":"https://api.github.com/repos/pushkin-consortium/front-end/stargazers","contributors_url":"https://api.github.com/repos/pushkin-consortium/front-end/contributors","subscribers_url":"https://api.github.com/repos/pushkin-consortium/front-end/subscribers","subscription_url":"https://api.github.com/repos/pushkin-consortium/front-end/subscription","commits_url":"https://api.github.com/repos/pushkin-consortium/front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/pushkin-consortium/front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/pushkin-consortium/front-end/contents/{+path}","compare_url":"https://api.github.com/repos/pushkin-consortium/front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pushkin-consortium/front-end/merges","archive_url":"https://api.github.com/repos/pushkin-consortium/front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pushkin-consortium/front-end/downloads","issues_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues{/number}","pulls_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/pushkin-consortium/front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/pushkin-consortium/front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pushkin-consortium/front-end/labels{/name}","releases_url":"https://api.github.com/repos/pushkin-consortium/front-end/releases{/id}","deployments_url":"https://api.github.com/repos/pushkin-consortium/front-end/deployments","created_at":"2017-09-25T14:12:10Z","updated_at":"2017-09-25T14:26:09Z","pushed_at":"2017-10-18T11:05:23Z","git_url":"git://github.com/pushkin-consortium/front-end.git","ssh_url":"git@github.com:pushkin-consortium/front-end.git","clone_url":"https://github.com/pushkin-consortium/front-end.git","svn_url":"https://github.com/pushkin-consortium/front-end","homepage":null,"size":63258,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"pushkin-consortium:pushkin_forum","ref":"pushkin_forum","sha":"b21f0bd5271b65093b7113656102e652851f6209","user":{"login":"pushkin-consortium","id":25489009,"avatar_url":"https://avatars1.githubusercontent.com/u/25489009?v=4","gravatar_id":"","url":"https://api.github.com/users/pushkin-consortium","html_url":"https://github.com/pushkin-consortium","followers_url":"https://api.github.com/users/pushkin-consortium/followers","following_url":"https://api.github.com/users/pushkin-consortium/following{/other_user}","gists_url":"https://api.github.com/users/pushkin-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/pushkin-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushkin-consortium/subscriptions","organizations_url":"https://api.github.com/users/pushkin-consortium/orgs","repos_url":"https://api.github.com/users/pushkin-consortium/repos","events_url":"https://api.github.com/users/pushkin-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/pushkin-consortium/received_events","type":"Organization","site_admin":false},"repo":{"id":104758606,"name":"front-end","full_name":"pushkin-consortium/front-end","owner":{"login":"pushkin-consortium","id":25489009,"avatar_url":"https://avatars1.githubusercontent.com/u/25489009?v=4","gravatar_id":"","url":"https://api.github.com/users/pushkin-consortium","html_url":"https://github.com/pushkin-consortium","followers_url":"https://api.github.com/users/pushkin-consortium/followers","following_url":"https://api.github.com/users/pushkin-consortium/following{/other_user}","gists_url":"https://api.github.com/users/pushkin-consortium/gists{/gist_id}","starred_url":"https://api.github.com/users/pushkin-consortium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushkin-consortium/subscriptions","organizations_url":"https://api.github.com/users/pushkin-consortium/orgs","repos_url":"https://api.github.com/users/pushkin-consortium/repos","events_url":"https://api.github.com/users/pushkin-consortium/events{/privacy}","received_events_url":"https://api.github.com/users/pushkin-consortium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pushkin-consortium/front-end","description":null,"fork":false,"url":"https://api.github.com/repos/pushkin-consortium/front-end","forks_url":"https://api.github.com/repos/pushkin-consortium/front-end/forks","keys_url":"https://api.github.com/repos/pushkin-consortium/front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pushkin-consortium/front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pushkin-consortium/front-end/teams","hooks_url":"https://api.github.com/repos/pushkin-consortium/front-end/hooks","issue_events_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/events{/number}","events_url":"https://api.github.com/repos/pushkin-consortium/front-end/events","assignees_url":"https://api.github.com/repos/pushkin-consortium/front-end/assignees{/user}","branches_url":"https://api.github.com/repos/pushkin-consortium/front-end/branches{/branch}","tags_url":"https://api.github.com/repos/pushkin-consortium/front-end/tags","blobs_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pushkin-consortium/front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/pushkin-consortium/front-end/languages","stargazers_url":"https://api.github.com/repos/pushkin-consortium/front-end/stargazers","contributors_url":"https://api.github.com/repos/pushkin-consortium/front-end/contributors","subscribers_url":"https://api.github.com/repos/pushkin-consortium/front-end/subscribers","subscription_url":"https://api.github.com/repos/pushkin-consortium/front-end/subscription","commits_url":"https://api.github.com/repos/pushkin-consortium/front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/pushkin-consortium/front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/pushkin-consortium/front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/pushkin-consortium/front-end/contents/{+path}","compare_url":"https://api.github.com/repos/pushkin-consortium/front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pushkin-consortium/front-end/merges","archive_url":"https://api.github.com/repos/pushkin-consortium/front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pushkin-consortium/front-end/downloads","issues_url":"https://api.github.com/repos/pushkin-consortium/front-end/issues{/number}","pulls_url":"https://api.github.com/repos/pushkin-consortium/front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/pushkin-consortium/front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/pushkin-consortium/front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pushkin-consortium/front-end/labels{/name}","releases_url":"https://api.github.com/repos/pushkin-consortium/front-end/releases{/id}","deployments_url":"https://api.github.com/repos/pushkin-consortium/front-end/deployments","created_at":"2017-09-25T14:12:10Z","updated_at":"2017-09-25T14:26:09Z","pushed_at":"2017-10-18T11:05:23Z","git_url":"git://github.com/pushkin-consortium/front-end.git","ssh_url":"git@github.com:pushkin-consortium/front-end.git","clone_url":"https://github.com/pushkin-consortium/front-end.git","svn_url":"https://github.com/pushkin-consortium/front-end","homepage":null,"size":63258,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6"},"html":{"href":"https://github.com/pushkin-consortium/front-end/pull/6"},"issue":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/issues/6"},"comments":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/pushkin-consortium/front-end/statuses/c25161d1d2d64f2b67e886608a79c5329172cc10"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"RobAWilkinson"}}