Skip to content

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

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

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

Conversation

@irfanuddinahmad
Copy link
Copy Markdown
Contributor

@irfanuddinahmad irfanuddinahmad commented Apr 23, 2026

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.

Testing:
302 redirect on test page

image

@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 6 times, most recently from 502aede to b729f4d Compare April 28, 2026 11:19
@irfanuddinahmad irfanuddinahmad linked an issue Apr 28, 2026 that may be closed by this pull request
52 tasks
@irfanuddinahmad irfanuddinahmad added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Apr 28, 2026
@irfanuddinahmad irfanuddinahmad force-pushed the iahmad/DEPR-36108-grading branch 3 times, most recently from 99abc15 to 214d24a Compare April 30, 2026 09:29
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 from a4d684b to 4e2c6bf Compare May 4, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DEPR]: Various legacy Studio pages with direct MFE replacements

1 participant