Skip to content

Commit 81190eb

Browse files
feat!: Drop support for the legacy Schedule and Details page.
The legacy Schedule and Details page in Studio has been replaced with a new view in the Authoring MFE. This change removes the now unused JS/HTML/Python related to the old page. This work is part of #36108 BREAKING CHANGE: The 'legacy_studio.schedule_details' waffle flag will no longer be respected. The system will behave as if the flag is set to false permanently.
1 parent 759a9bb commit 81190eb

3 files changed

Lines changed: 1 addition & 770 deletions

File tree

cms/djangoapps/contentstore/views/course.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,13 @@
102102
use_new_advanced_settings_page,
103103
use_new_grading_page,
104104
use_new_group_configurations_page,
105-
use_new_schedule_details_page,
106105
)
107106
from ..utils import (
108107
add_instructor,
109108
get_advanced_settings_url,
110109
get_course_grading,
111110
get_course_outline_url,
112111
get_course_rerun_context,
113-
get_course_settings,
114112
get_grading_url,
115113
get_group_configurations_context,
116114
get_group_configurations_url,
@@ -1382,10 +1380,7 @@ def settings_handler(request, course_key_string): # lint-amnesty, pylint: disab
13821380
with modulestore().bulk_operations(course_key):
13831381
course_block = get_course_and_check_access(course_key, request.user)
13841382
if 'text/html' in request.META.get('HTTP_ACCEPT', '') and request.method == 'GET':
1385-
if use_new_schedule_details_page(course_key):
1386-
return redirect(get_schedule_details_url(course_key))
1387-
settings_context = get_course_settings(request, course_key, course_block)
1388-
return render_to_response('settings.html', settings_context)
1383+
return redirect(get_schedule_details_url(course_key))
13891384
elif 'application/json' in request.META.get('HTTP_ACCEPT', ''): # pylint: disable=too-many-nested-blocks
13901385
if request.method == 'GET':
13911386
course_details = CourseDetails.fetch(course_key)

cms/static/js/factories/settings.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)