Skip to content

feat: Simplify import/export page redirects to always use MFE for courses#38423

Draft
irfanuddinahmad wants to merge 1 commit intomasterfrom
iahmad/DEPR-36108-import-export
Draft

feat: Simplify import/export page redirects to always use MFE for courses#38423
irfanuddinahmad wants to merge 1 commit intomasterfrom
iahmad/DEPR-36108-import-export

Conversation

@irfanuddinahmad
Copy link
Copy Markdown
Contributor

This pull request simplifies the logic for redirecting to the new import and export pages by removing the use of feature toggles. Now, the redirect happens for all courses (excluding libraries), regardless of any toggle state.

Import/Export Page Redirection Simplification:

  • Removed the use of the use_new_import_page and use_new_export_page toggles from the import and export handlers in import_export.py, so that all courses (except libraries) are redirected to the new import/export pages unconditionally. [1] [2]
  • Cleaned up the import statements by removing the now-unused use_new_import_page and use_new_export_page imports.

…urses.

The import and export pages in Studio have been replaced with new views
in the Authoring MFE for courses. The legacy condition guarded by the
'legacy_studio.import' and 'legacy_studio.export' waffle flags is
removed. Courses now always redirect to the MFE; libraries continue to
use the legacy HTML page as v2 libraries are not yet fully rolled out.

This work is part of #36108

BREAKING CHANGE: The 'legacy_studio.import' and 'legacy_studio.export'
waffle flags will no longer be respected for courses. The system will
behave as if the flags are set to false permanently for courses.
@irfanuddinahmad irfanuddinahmad changed the title feat!: Simplify import/export page redirects to always use MFE for courses feat: Simplify import/export page redirects to always use MFE for courses Apr 23, 2026
@irfanuddinahmad irfanuddinahmad marked this pull request as draft April 23, 2026 08:42
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