Skip to content

feat: Drop support for the legacy Grading page.#38418

Draft
irfanuddinahmad wants to merge 5 commits intomasterfrom
iahmad/DEPR-36108-grading
Draft

feat: Drop support for the legacy Grading page.#38418
irfanuddinahmad wants to merge 5 commits intomasterfrom
iahmad/DEPR-36108-grading

Conversation

@irfanuddinahmad
Copy link
Copy Markdown
Contributor

This pull request removes the legacy grading settings page and its supporting code from the codebase. The grading settings are now handled exclusively by the new grading page, and all references, templates, and JavaScript for the old implementation have been deleted.

Removal of legacy grading settings page:

  • Deleted the settings_graders.html template, which previously rendered the legacy grading settings UI.
  • Removed the settings_graders.js factory and its dependencies, eliminating the JavaScript logic for the old grading settings page.

Backend code cleanup:

  • Removed all references to the legacy grading page toggle and utility functions from course.py, including the use_new_grading_page toggle and get_course_grading import.
  • Updated the grading_handler view to always redirect to the new grading page, removing the conditional logic and legacy rendering path.

@irfanuddinahmad irfanuddinahmad force-pushed the iahmad/DEPR-36108-grading branch from 4d6e343 to a560b9c Compare April 23, 2026 07:44
@irfanuddinahmad irfanuddinahmad changed the title feat!: Drop support for the legacy Grading page. feat: Drop support for the legacy Grading page. Apr 23, 2026
@irfanuddinahmad irfanuddinahmad marked this pull request as draft April 23, 2026 08:40
@irfanuddinahmad irfanuddinahmad force-pushed the iahmad/DEPR-36108-grading branch 2 times, most recently from da30635 to 267a7d1 Compare April 24, 2026 15:03
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.
@irfanuddinahmad irfanuddinahmad force-pushed the iahmad/DEPR-36108-grading branch 2 times, most recently from a1f2ba6 to fbb19f7 Compare April 25, 2026 17:15
@irfanuddinahmad irfanuddinahmad force-pushed the iahmad/DEPR-36108-grading branch from fbb19f7 to 502aede Compare April 26, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant