Skip to content

Commit a560b9c

Browse files
feat!: Drop support for the legacy Grading page.
The legacy Grading 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.grading' waffle flag will no longer be respected. The system will behave as if the flag is set to false permanently.
1 parent 759a9bb commit a560b9c

4 files changed

Lines changed: 2 additions & 220 deletions

File tree

cms/djangoapps/contentstore/views/course.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,12 @@
100100
from ..toggles import (
101101
default_enable_flexible_peer_openassessments,
102102
use_new_advanced_settings_page,
103-
use_new_grading_page,
104103
use_new_group_configurations_page,
105104
use_new_schedule_details_page,
106105
)
107106
from ..utils import (
108107
add_instructor,
109108
get_advanced_settings_url,
110-
get_course_grading,
111109
get_course_outline_url,
112110
get_course_rerun_context,
113111
get_course_settings,
@@ -1425,10 +1423,7 @@ def grading_handler(request, course_key_string, grader_index=None):
14251423
raise PermissionDenied()
14261424

14271425
if 'text/html' in request.META.get('HTTP_ACCEPT', '') and request.method == 'GET':
1428-
if use_new_grading_page(course_key):
1429-
return redirect(get_grading_url(course_key))
1430-
grading_context = get_course_grading(course_key)
1431-
return render_to_response('settings_graders.html', grading_context)
1426+
return redirect(get_grading_url(course_key))
14321427
elif 'application/json' in request.META.get('HTTP_ACCEPT', ''):
14331428
if request.method == 'GET':
14341429
if grader_index is None:

cms/static/cms/js/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
'js/factories/manage_users',
2828
'js/factories/outline',
2929
'js/factories/settings',
30-
'js/factories/settings_advanced',
31-
'js/factories/settings_graders'
30+
'js/factories/settings_advanced'
3231
]),
3332
/**
3433
* By default all the configuration for optimization happens from the command

cms/static/js/factories/settings_graders.js

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

cms/templates/settings_graders.html

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

0 commit comments

Comments
 (0)