{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7771","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7771/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7771/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7771/events","html_url":"https://github.com/edx/edx-platform/pull/7771","id":69973122,"number":7771,"title":"WIP: MIT CCX student dashboard display","user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/community%20manager%20review","name":"community manager review","color":"207de5"},{"url":"https://api.github.com/repos/edx/edx-platform/labels/open-source-contribution","name":"open-source-contribution","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-21T23:02:54Z","updated_at":"2015-04-23T17:47:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7771","html_url":"https://github.com/edx/edx-platform/pull/7771","diff_url":"https://github.com/edx/edx-platform/pull/7771.diff","patch_url":"https://github.com/edx/edx-platform/pull/7771.patch"},"body":"This pull request addresses display issues identified after the merging of the MIT CCX extension work in https://github.com/edx/edx-platform/pull/6636 and reported in [this JIRA ticket](https://openedx.atlassian.net/browse/TNL-2007) (and reported also as jazkarta/edx-platform#74).  At the same time, it also addresses an issue identified by the MIT team and reported as jazkarta/edx-platform#75.  \r\n\r\nThe PR updates the display of CCX courses to which a student has been granted membership to match the display of \"normal\" EdX courses.  It ensures that the start and end dates displayed for the CCX are in fact those of the CCX itself, and not those of the course from which it was created.  It also ensures that if the start date of a CCX has not yet arrived the student will not be able to click on the CCX and view it.\r\n\r\nA CCX which has not yet started:\r\n![not_yet_started](https://cloud.githubusercontent.com/assets/417109/7264287/ff095d5a-e83e-11e4-812b-017c3df7e562.png)\r\n\r\n\r\nA CCX which has started:\r\n![already_started](https://cloud.githubusercontent.com/assets/417109/7264294/081cd6a6-e83f-11e4-8606-d91cb5ae35b4.png)\r\n\r\n\r\nThe code updated for this pull request resides in the `lms/djangoapps/ccx` app as well as in the template for the shared dashboard.\r\n\r\nThis pull request is a Work In Progress, we seek advice on the approach taken to solving the problem of display of CCX instances on the shared dashboard as well as pointers to any opportunities to better use internal code to accomplish our goals. In particular, we are curious as to the advisability of replicating API provided by a Course Descriptor as part of the CCX model.  Is there a better way of accomplishing the goal of treating a CCX more similarly to a standard course?\r\n\r\nFor context on ongoing work to make CCXs work more like regular courses it may be valuable to look over the discussion on jazkarta/edx-platform#43 and the related tickets in that tracker which have been opened.  It may be that work yet to be done for that issue may help to resolve some of the questions asked here.\r\n\r\nPlease note that as this is a WIP PR, tests have yet to be written to cover the work done herein. They will be added once the direction is clear."},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/95668169","html_url":"https://github.com/edx/edx-platform/pull/7771#issuecomment-95668169","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7771","id":95668169,"user":{"login":"sarina","id":1985317,"avatar_url":"https://avatars.githubusercontent.com/u/1985317?v=3","gravatar_id":"","url":"https://api.github.com/users/sarina","html_url":"https://github.com/sarina","followers_url":"https://api.github.com/users/sarina/followers","following_url":"https://api.github.com/users/sarina/following{/other_user}","gists_url":"https://api.github.com/users/sarina/gists{/gist_id}","starred_url":"https://api.github.com/users/sarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarina/subscriptions","organizations_url":"https://api.github.com/users/sarina/orgs","repos_url":"https://api.github.com/users/sarina/repos","events_url":"https://api.github.com/users/sarina/events{/privacy}","received_events_url":"https://api.github.com/users/sarina/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T17:47:36Z","updated_at":"2015-04-23T17:47:36Z","body":"Are you using devstack?\nOn Apr 23, 2015 1:36 PM, \"Cris Ewing\" <notifications@github.com> wrote:\n\n> I appreciate the feedback, @nedbat <https://github.com/nedbat>, @sarina\n> <https://github.com/sarina>. Something must be munged on my local\n> instance with paver run_quality because I got no error output locally,\n> but can see the reports in the test artifacts from the run above. I'll\n> polish that stuff up today and get this back to you asap\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/edx/edx-platform/pull/7771#issuecomment-95666006>.\n>\n"}}