{"action":"created","issue":{"url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/54","repository_url":"https://api.github.com/repos/bridge-school/content-dashboard","labels_url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/54/comments","events_url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/54/events","html_url":"https://github.com/bridge-school/content-dashboard/issues/54","id":349262066,"node_id":"MDU6SXNzdWUzNDkyNjIwNjY=","number":54,"title":"as an admin/teacher I would like to set classroom days for my cohort","user":{"login":"AbdellaToronto","id":3640896,"node_id":"MDQ6VXNlcjM2NDA4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3640896?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdellaToronto","html_url":"https://github.com/AbdellaToronto","followers_url":"https://api.github.com/users/AbdellaToronto/followers","following_url":"https://api.github.com/users/AbdellaToronto/following{/other_user}","gists_url":"https://api.github.com/users/AbdellaToronto/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdellaToronto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdellaToronto/subscriptions","organizations_url":"https://api.github.com/users/AbdellaToronto/orgs","repos_url":"https://api.github.com/users/AbdellaToronto/repos","events_url":"https://api.github.com/users/AbdellaToronto/events{/privacy}","received_events_url":"https://api.github.com/users/AbdellaToronto/received_events","type":"User","site_admin":false},"labels":[{"id":998047055,"node_id":"MDU6TGFiZWw5OTgwNDcwNTU=","url":"https://api.github.com/repos/bridge-school/content-dashboard/labels/class%20outline","name":"class outline","color":"ef04c4","default":false},{"id":992217469,"node_id":"MDU6TGFiZWw5OTIyMTc0Njk=","url":"https://api.github.com/repos/bridge-school/content-dashboard/labels/ready%20to%20go%F0%9F%8F%81","name":"ready to go🏁","color":"52e58a","default":false}],"state":"open","locked":false,"assignee":{"login":"AbdellaToronto","id":3640896,"node_id":"MDQ6VXNlcjM2NDA4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3640896?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdellaToronto","html_url":"https://github.com/AbdellaToronto","followers_url":"https://api.github.com/users/AbdellaToronto/followers","following_url":"https://api.github.com/users/AbdellaToronto/following{/other_user}","gists_url":"https://api.github.com/users/AbdellaToronto/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdellaToronto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdellaToronto/subscriptions","organizations_url":"https://api.github.com/users/AbdellaToronto/orgs","repos_url":"https://api.github.com/users/AbdellaToronto/repos","events_url":"https://api.github.com/users/AbdellaToronto/events{/privacy}","received_events_url":"https://api.github.com/users/AbdellaToronto/received_events","type":"User","site_admin":false},"assignees":[{"login":"AbdellaToronto","id":3640896,"node_id":"MDQ6VXNlcjM2NDA4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3640896?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdellaToronto","html_url":"https://github.com/AbdellaToronto","followers_url":"https://api.github.com/users/AbdellaToronto/followers","following_url":"https://api.github.com/users/AbdellaToronto/following{/other_user}","gists_url":"https://api.github.com/users/AbdellaToronto/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdellaToronto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdellaToronto/subscriptions","organizations_url":"https://api.github.com/users/AbdellaToronto/orgs","repos_url":"https://api.github.com/users/AbdellaToronto/repos","events_url":"https://api.github.com/users/AbdellaToronto/events{/privacy}","received_events_url":"https://api.github.com/users/AbdellaToronto/received_events","type":"User","site_admin":false},{"login":"AnyaCraig","id":12875121,"node_id":"MDQ6VXNlcjEyODc1MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/12875121?v=4","gravatar_id":"","url":"https://api.github.com/users/AnyaCraig","html_url":"https://github.com/AnyaCraig","followers_url":"https://api.github.com/users/AnyaCraig/followers","following_url":"https://api.github.com/users/AnyaCraig/following{/other_user}","gists_url":"https://api.github.com/users/AnyaCraig/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyaCraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyaCraig/subscriptions","organizations_url":"https://api.github.com/users/AnyaCraig/orgs","repos_url":"https://api.github.com/users/AnyaCraig/repos","events_url":"https://api.github.com/users/AnyaCraig/events{/privacy}","received_events_url":"https://api.github.com/users/AnyaCraig/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-09T19:37:33Z","updated_at":"2018-08-29T20:56:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"a classroom represents a single day of class.\r\n\r\nA cohort has many classrooms\r\n\r\na classroom has an associated date (for now) other properties will be added in later.\r\n\r\n\"Classroom\" as a name can be changed if necessary, as long as the reserved word \"class\" is avoided.\r\n\r\n\r\n## Acceptance Criteria\r\n\r\nWhen viewing a cohort (cohort detail page), have an interactive calendar above the list of cohort modules - this calendar should allow you to select a day, and set it as a 'classroom' day. Days that have already been designated as classroom days should be highlighted in some colour on the calendar.\r\n\r\nThe user should be able to click on a day in that calendar and see a modal with a form in it pop up. The form contains the following fields:\r\n\r\n- **Date**: this field should be prepopulated with the date that the user clicked.\r\n- **Start time**: a timepicker with which the user can select the class's start time.\r\n- **End time**: same setup as start time.\r\n- **Modules**: A way to select multiple modules (from among those that have been assigned to this cohort) to be covered in the class.\r\n- **Additional notes**: a textarea to add additional notes for a classroom. \r\n- **Save button**: to save the new class to Firebase. \r\n\r\nWhen a day is selected, update the cohort in firebase to have a new 'classroom' in it's classroom array, and this classroom should have a date associated with it.\r\n\r\nWhen opening a cohort up, should be able to see in the calendar which days already have classrooms (highlighted).\r\n\r\nMaterial UI should be considered for the calendar and timepickers."},"comment":{"url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/comments/417103144","html_url":"https://github.com/bridge-school/content-dashboard/issues/54#issuecomment-417103144","issue_url":"https://api.github.com/repos/bridge-school/content-dashboard/issues/54","id":417103144,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzEwMzE0NA==","user":{"login":"AnyaCraig","id":12875121,"node_id":"MDQ6VXNlcjEyODc1MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/12875121?v=4","gravatar_id":"","url":"https://api.github.com/users/AnyaCraig","html_url":"https://github.com/AnyaCraig","followers_url":"https://api.github.com/users/AnyaCraig/followers","following_url":"https://api.github.com/users/AnyaCraig/following{/other_user}","gists_url":"https://api.github.com/users/AnyaCraig/gists{/gist_id}","starred_url":"https://api.github.com/users/AnyaCraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnyaCraig/subscriptions","organizations_url":"https://api.github.com/users/AnyaCraig/orgs","repos_url":"https://api.github.com/users/AnyaCraig/repos","events_url":"https://api.github.com/users/AnyaCraig/events{/privacy}","received_events_url":"https://api.github.com/users/AnyaCraig/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T20:56:59Z","updated_at":"2018-08-29T20:56:59Z","author_association":"COLLABORATOR","body":"PR made for initial work on this: https://github.com/bridge-school/content-dashboard/pull/62"}}
{"actor":{"display_login":"AnyaCraig"}}