fix: Update course preview redirect
This PR changes the preview URL redirect from Studio. Before when a user clicked on the course preview button to check unpublished changes, the preview in the New Experience would show the most recently published version of the course. The unpublished changes that the user was hoping to view are no present. At the moment users have been publishing the content to check it then having to republish the old version if they did not like the changes. As a short-term fix, this PR redirects to the Legacy experience where the preview option previously worked. Now the user can see the unpublished changes. A long-term fix is still being explored. This change will impact the Course Author.
Showing
- common/djangoapps/student/tests/test_models.py 1 addition, 1 deletioncommon/djangoapps/student/tests/test_models.py
- lms/djangoapps/courseware/tests/test_views.py 64 additions, 19 deletionslms/djangoapps/courseware/tests/test_views.py
- lms/djangoapps/courseware/toggles.py 30 additions, 1 deletionlms/djangoapps/courseware/toggles.py
- lms/templates/courseware/courseware-chromeless.html 0 additions, 2 deletionslms/templates/courseware/courseware-chromeless.html
- openedx/core/djangoapps/schedules/tests/test_resolvers.py 1 addition, 2 deletionsopenedx/core/djangoapps/schedules/tests/test_resolvers.py
Loading
Please register or sign in to comment