{"action":"created","issue":{"url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/70","repository_url":"https://api.github.com/repos/voteamerica/voteamerica.github.io","labels_url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/70/comments","events_url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/70/events","html_url":"https://github.com/voteamerica/voteamerica.github.io/pull/70","id":180092013,"number":70,"title":"Add calendar and time range availability sliders to main site","user":{"login":"sfirrin","id":13263282,"avatar_url":"https://avatars.githubusercontent.com/u/13263282?v=3","gravatar_id":"","url":"https://api.github.com/users/sfirrin","html_url":"https://github.com/sfirrin","followers_url":"https://api.github.com/users/sfirrin/followers","following_url":"https://api.github.com/users/sfirrin/following{/other_user}","gists_url":"https://api.github.com/users/sfirrin/gists{/gist_id}","starred_url":"https://api.github.com/users/sfirrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfirrin/subscriptions","organizations_url":"https://api.github.com/users/sfirrin/orgs","repos_url":"https://api.github.com/users/sfirrin/repos","events_url":"https://api.github.com/users/sfirrin/events{/privacy}","received_events_url":"https://api.github.com/users/sfirrin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rickr","id":334550,"avatar_url":"https://avatars.githubusercontent.com/u/334550?v=3","gravatar_id":"","url":"https://api.github.com/users/rickr","html_url":"https://github.com/rickr","followers_url":"https://api.github.com/users/rickr/followers","following_url":"https://api.github.com/users/rickr/following{/other_user}","gists_url":"https://api.github.com/users/rickr/gists{/gist_id}","starred_url":"https://api.github.com/users/rickr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickr/subscriptions","organizations_url":"https://api.github.com/users/rickr/orgs","repos_url":"https://api.github.com/users/rickr/repos","events_url":"https://api.github.com/users/rickr/events{/privacy}","received_events_url":"https://api.github.com/users/rickr/received_events","type":"User","site_admin":false},"assignees":[{"login":"rickr","id":334550,"avatar_url":"https://avatars.githubusercontent.com/u/334550?v=3","gravatar_id":"","url":"https://api.github.com/users/rickr","html_url":"https://github.com/rickr","followers_url":"https://api.github.com/users/rickr/followers","following_url":"https://api.github.com/users/rickr/following{/other_user}","gists_url":"https://api.github.com/users/rickr/gists{/gist_id}","starred_url":"https://api.github.com/users/rickr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickr/subscriptions","organizations_url":"https://api.github.com/users/rickr/orgs","repos_url":"https://api.github.com/users/rickr/repos","events_url":"https://api.github.com/users/rickr/events{/privacy}","received_events_url":"https://api.github.com/users/rickr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-09-29T16:04:23Z","updated_at":"2016-10-03T02:10:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/pulls/70","html_url":"https://github.com/voteamerica/voteamerica.github.io/pull/70","diff_url":"https://github.com/voteamerica/voteamerica.github.io/pull/70.diff","patch_url":"https://github.com/voteamerica/voteamerica.github.io/pull/70.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/comments/251013454","html_url":"https://github.com/voteamerica/voteamerica.github.io/pull/70#issuecomment-251013454","issue_url":"https://api.github.com/repos/voteamerica/voteamerica.github.io/issues/70","id":251013454,"user":{"login":"dmilet","id":11915880,"avatar_url":"https://avatars.githubusercontent.com/u/11915880?v=3","gravatar_id":"","url":"https://api.github.com/users/dmilet","html_url":"https://github.com/dmilet","followers_url":"https://api.github.com/users/dmilet/followers","following_url":"https://api.github.com/users/dmilet/following{/other_user}","gists_url":"https://api.github.com/users/dmilet/gists{/gist_id}","starred_url":"https://api.github.com/users/dmilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmilet/subscriptions","organizations_url":"https://api.github.com/users/dmilet/orgs","repos_url":"https://api.github.com/users/dmilet/repos","events_url":"https://api.github.com/users/dmilet/events{/privacy}","received_events_url":"https://api.github.com/users/dmilet/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T02:10:02Z","updated_at":"2016-10-03T02:10:02Z","body":"After further reading and testing...\r\n1. the hidden input riderDateTimeRangesJSON is constructed by the web page, and therefore can be used as-is by the node.js app and the field stored in the database. However, I really wonder why we would store the data this way {\"month\":\"Oct\",\"day\":\"7\",\"startTime\":\"10:10am\",\"endTime\":\"5:50pm\"} rather than using ISO 8601 format.\r\n\r\n2. The form from the master_calendar branch has only on field for Name, while the database expects two fields, one for the First Name the other for the Last Name.\r\n\r\n3. Node.js app expects driver forms to be submitted to <url>/driver and similarly rider forms to be submitted to <url>/rider. The index.html must be changed anyway to not use CloudStitch anymore.\r\n\r\n4. We don't need to duplicate the information in hidden inputs named riderDateTimeRangesJSON and datetime[]."}}
{"actor":{"display_login":"dmilet"}}