{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/53","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/53/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/53/events","html_url":"https://github.com/mitodl/micromasters/issues/53","id":139982009,"number":53,"title":"Student dashboard: course start dates and enrollment dates (data only)","user":{"login":"pdpinch","id":430126,"avatar_url":"https://avatars.githubusercontent.com/u/430126?v=3","gravatar_id":"","url":"https://api.github.com/users/pdpinch","html_url":"https://github.com/pdpinch","followers_url":"https://api.github.com/users/pdpinch/followers","following_url":"https://api.github.com/users/pdpinch/following{/other_user}","gists_url":"https://api.github.com/users/pdpinch/gists{/gist_id}","starred_url":"https://api.github.com/users/pdpinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdpinch/subscriptions","organizations_url":"https://api.github.com/users/pdpinch/orgs","repos_url":"https://api.github.com/users/pdpinch/repos","events_url":"https://api.github.com/users/pdpinch/events{/privacy}","received_events_url":"https://api.github.com/users/pdpinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T19:10:18Z","updated_at":"2016-04-06T20:28:38Z","closed_at":null,"body":"As a student, I need to know when the courses I've enrolled in will start (or when they started in the past) and when future courses will be open for enrollment. \r\n\r\nThis will require some research on the appropriate edX API for this data. I believe it is \"Course Discovery\" \r\n\r\navailable in enrollment API:\r\n- [ ] If the user is enrolled, and `start_date` is in the future, we display **starts: [date]**\r\n- [ ] If the user is enrolled, and `start_date` is in the past, we display **started: [date]**\r\n\r\ncould be done in an asyc task:\r\n- [ ] If the user is not enrolled, and `enrollment_start` is in the future, display **enrollment starts: [date]**\r\n- [ ] If the user is not enrolled and `enrollment_end` is in the past, don't display the course \r\n\r\nalso an async task?\r\n- [ ] If the course doesn't exist (yet) display **not yet scheduled** (?)\r\n\r\nThe \"not yet scheduled\" courses will require a different model to keep the vague, future data separate from the specific data coming from edX. \r\n\r\nsteps:\r\n- [ ] discovery of which edX API to use\r\n- [ ] add edX API to edx_api_client library\r\n- [ ] create REST API in Micromasters that exposes the edx_app_client to the react front-end\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/206546726","html_url":"https://github.com/mitodl/micromasters/issues/53#issuecomment-206546726","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/53","id":206546726,"user":{"login":"pdpinch","id":430126,"avatar_url":"https://avatars.githubusercontent.com/u/430126?v=3","gravatar_id":"","url":"https://api.github.com/users/pdpinch","html_url":"https://github.com/pdpinch","followers_url":"https://api.github.com/users/pdpinch/followers","following_url":"https://api.github.com/users/pdpinch/following{/other_user}","gists_url":"https://api.github.com/users/pdpinch/gists{/gist_id}","starred_url":"https://api.github.com/users/pdpinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdpinch/subscriptions","organizations_url":"https://api.github.com/users/pdpinch/orgs","repos_url":"https://api.github.com/users/pdpinch/repos","events_url":"https://api.github.com/users/pdpinch/events{/privacy}","received_events_url":"https://api.github.com/users/pdpinch/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T20:28:38Z","updated_at":"2016-04-06T20:28:38Z","body":"I think most of this will be covered by #125."}}