{"action":"created","comment":{"url":"https://api.github.com/repos/calblueprint/replate-business/pulls/comments/84632402","pull_request_review_id":5396815,"id":84632402,"diff_hunk":"@@ -0,0 +1,54 @@\n+/**\n+ * @prop location_id - id associated with the current location\n+ * @prop success      - function handler for successful student creation\n+ */\n+class RecurrenceCreationModule extends DefaultForm {\n+\n+    constructor(props) {\n+        super(props);\n+\n+    }\n+\n+    _attemptCreate = (e) => {\n+        // const success = (msg) => {\n+        //     // Hacky workaround to clear component state\n+        //     $(\".modal-dialog input\").reactClear();\n+        //     $(React.findDOMNode(this.refs.modal)).modal(\"hide\");\n+        //     this.props.success();\n+        // }\n+        // this._attemptAction(APIConstants.requests.create, this._formFields(),\n+        //     success);\n+    }\n+\n+    _toggleDay = (e) => {\n+        var day = e.target.id\n+        if (this.state[day] === \"day-active\") {\n+            var val = \"\"\n+        } else {\n+            var val = \"day-active\"\n+        }\n+        var state  = {}\n+        state[day] = val\n+        this.setState( state );","path":"app/assets/javascripts/components/locations/create_recurrence.jsx","position":32,"original_position":32,"commit_id":"1fe1f2aea5fad815029d4a34a98f3c47c99d081f","original_commit_id":"1fe1f2aea5fad815029d4a34a98f3c47c99d081f","user":{"login":"eric-ls","id":8058313,"avatar_url":"https://avatars.githubusercontent.com/u/8058313?v=3","gravatar_id":"","url":"https://api.github.com/users/eric-ls","html_url":"https://github.com/eric-ls","followers_url":"https://api.github.com/users/eric-ls/followers","following_url":"https://api.github.com/users/eric-ls/following{/other_user}","gists_url":"https://api.github.com/users/eric-ls/gists{/gist_id}","starred_url":"https://api.github.com/users/eric-ls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric-ls/subscriptions","organizations_url":"https://api.github.com/users/eric-ls/orgs","repos_url":"https://api.github.com/users/eric-ls/repos","events_url":"https://api.github.com/users/eric-ls/events{/privacy}","received_events_url":"https://api.github.com/users/eric-ls/received_events","type":"User","site_admin":false},"body":"also, i would do this instead:\r\n```\r\nthis.setState({\r\n    day: val,\r\n});\r\n```","created_at":"2016-10-24T07:29:27Z","updated_at":"2016-10-24T07:29:27Z","html_url":"https://github.com/calblueprint/replate-business/pull/33#discussion_r84632402","pull_request_url":"https://api.github.com/repos/calblueprint/replate-business/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/comments/84632402"},"html":{"href":"https://github.com/calblueprint/replate-business/pull/33#discussion_r84632402"},"pull_request":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/calblueprint/replate-business/pulls/33","id":90559217,"html_url":"https://github.com/calblueprint/replate-business/pull/33","diff_url":"https://github.com/calblueprint/replate-business/pull/33.diff","patch_url":"https://github.com/calblueprint/replate-business/pull/33.patch","issue_url":"https://api.github.com/repos/calblueprint/replate-business/issues/33","number":33,"state":"open","locked":false,"title":"Greta/request creation form","user":{"login":"gretahuang","id":10650440,"avatar_url":"https://avatars.githubusercontent.com/u/10650440?v=3","gravatar_id":"","url":"https://api.github.com/users/gretahuang","html_url":"https://github.com/gretahuang","followers_url":"https://api.github.com/users/gretahuang/followers","following_url":"https://api.github.com/users/gretahuang/following{/other_user}","gists_url":"https://api.github.com/users/gretahuang/gists{/gist_id}","starred_url":"https://api.github.com/users/gretahuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gretahuang/subscriptions","organizations_url":"https://api.github.com/users/gretahuang/orgs","repos_url":"https://api.github.com/users/gretahuang/repos","events_url":"https://api.github.com/users/gretahuang/events{/privacy}","received_events_url":"https://api.github.com/users/gretahuang/received_events","type":"User","site_admin":false},"body":"fix #6 \r\n\r\nAdded `RequestCreationForm` to `Location Home` @eric-ls  @warrenshen \r\nAlso includes an unfinished `RecurrenceModule`","created_at":"2016-10-24T07:08:38Z","updated_at":"2016-10-24T07:29:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1814a7ce8ecb7aaaea0866dd7cf8da95b05706b9","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/calblueprint/replate-business/milestones/1","html_url":"https://github.com/calblueprint/replate-business/milestones/MVP","labels_url":"https://api.github.com/repos/calblueprint/replate-business/milestones/1/labels","id":2075577,"number":1,"title":"MVP","description":"","creator":{"login":"eric-ls","id":8058313,"avatar_url":"https://avatars.githubusercontent.com/u/8058313?v=3","gravatar_id":"","url":"https://api.github.com/users/eric-ls","html_url":"https://github.com/eric-ls","followers_url":"https://api.github.com/users/eric-ls/followers","following_url":"https://api.github.com/users/eric-ls/following{/other_user}","gists_url":"https://api.github.com/users/eric-ls/gists{/gist_id}","starred_url":"https://api.github.com/users/eric-ls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric-ls/subscriptions","organizations_url":"https://api.github.com/users/eric-ls/orgs","repos_url":"https://api.github.com/users/eric-ls/repos","events_url":"https://api.github.com/users/eric-ls/events{/privacy}","received_events_url":"https://api.github.com/users/eric-ls/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":15,"state":"open","created_at":"2016-10-17T20:55:45Z","updated_at":"2016-10-24T07:19:09Z","due_on":"2016-12-02T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/calblueprint/replate-business/pulls/33/commits","review_comments_url":"https://api.github.com/repos/calblueprint/replate-business/pulls/33/comments","review_comment_url":"https://api.github.com/repos/calblueprint/replate-business/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calblueprint/replate-business/issues/33/comments","statuses_url":"https://api.github.com/repos/calblueprint/replate-business/statuses/1fe1f2aea5fad815029d4a34a98f3c47c99d081f","head":{"label":"calblueprint:greta/request-creation-form","ref":"greta/request-creation-form","sha":"1fe1f2aea5fad815029d4a34a98f3c47c99d081f","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":71021454,"name":"replate-business","full_name":"calblueprint/replate-business","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/replate-business","description":"Business portal for Replate","fork":false,"url":"https://api.github.com/repos/calblueprint/replate-business","forks_url":"https://api.github.com/repos/calblueprint/replate-business/forks","keys_url":"https://api.github.com/repos/calblueprint/replate-business/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/replate-business/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/replate-business/teams","hooks_url":"https://api.github.com/repos/calblueprint/replate-business/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/replate-business/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/replate-business/events","assignees_url":"https://api.github.com/repos/calblueprint/replate-business/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/replate-business/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/replate-business/tags","blobs_url":"https://api.github.com/repos/calblueprint/replate-business/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/replate-business/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/replate-business/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/replate-business/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/replate-business/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/replate-business/languages","stargazers_url":"https://api.github.com/repos/calblueprint/replate-business/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/replate-business/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/replate-business/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/replate-business/subscription","commits_url":"https://api.github.com/repos/calblueprint/replate-business/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/replate-business/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/replate-business/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/replate-business/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/replate-business/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/replate-business/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/replate-business/merges","archive_url":"https://api.github.com/repos/calblueprint/replate-business/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/replate-business/downloads","issues_url":"https://api.github.com/repos/calblueprint/replate-business/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/replate-business/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/replate-business/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/replate-business/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/replate-business/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/replate-business/releases{/id}","deployments_url":"https://api.github.com/repos/calblueprint/replate-business/deployments","created_at":"2016-10-16T00:28:11Z","updated_at":"2016-10-23T20:00:58Z","pushed_at":"2016-10-24T07:08:38Z","git_url":"git://github.com/calblueprint/replate-business.git","ssh_url":"git@github.com:calblueprint/replate-business.git","clone_url":"https://github.com/calblueprint/replate-business.git","svn_url":"https://github.com/calblueprint/replate-business","homepage":"","size":1030,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"8df6b938e6db838701599d891745218ed61ea7c1","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":71021454,"name":"replate-business","full_name":"calblueprint/replate-business","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/replate-business","description":"Business portal for Replate","fork":false,"url":"https://api.github.com/repos/calblueprint/replate-business","forks_url":"https://api.github.com/repos/calblueprint/replate-business/forks","keys_url":"https://api.github.com/repos/calblueprint/replate-business/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/replate-business/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/replate-business/teams","hooks_url":"https://api.github.com/repos/calblueprint/replate-business/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/replate-business/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/replate-business/events","assignees_url":"https://api.github.com/repos/calblueprint/replate-business/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/replate-business/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/replate-business/tags","blobs_url":"https://api.github.com/repos/calblueprint/replate-business/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/replate-business/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/replate-business/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/replate-business/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/replate-business/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/replate-business/languages","stargazers_url":"https://api.github.com/repos/calblueprint/replate-business/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/replate-business/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/replate-business/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/replate-business/subscription","commits_url":"https://api.github.com/repos/calblueprint/replate-business/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/replate-business/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/replate-business/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/replate-business/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/replate-business/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/replate-business/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/replate-business/merges","archive_url":"https://api.github.com/repos/calblueprint/replate-business/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/replate-business/downloads","issues_url":"https://api.github.com/repos/calblueprint/replate-business/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/replate-business/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/replate-business/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/replate-business/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/replate-business/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/replate-business/releases{/id}","deployments_url":"https://api.github.com/repos/calblueprint/replate-business/deployments","created_at":"2016-10-16T00:28:11Z","updated_at":"2016-10-23T20:00:58Z","pushed_at":"2016-10-24T07:08:38Z","git_url":"git://github.com/calblueprint/replate-business.git","ssh_url":"git@github.com:calblueprint/replate-business.git","clone_url":"https://github.com/calblueprint/replate-business.git","svn_url":"https://github.com/calblueprint/replate-business","homepage":"","size":1030,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/33"},"html":{"href":"https://github.com/calblueprint/replate-business/pull/33"},"issue":{"href":"https://api.github.com/repos/calblueprint/replate-business/issues/33"},"comments":{"href":"https://api.github.com/repos/calblueprint/replate-business/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/replate-business/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/replate-business/statuses/1fe1f2aea5fad815029d4a34a98f3c47c99d081f"}}}}
{"actor":{"display_login":"eric-ls"}}