fix: Remove pointless Maintenance and Announcement apps #35852
+5
−1,637
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The Studio Maintenance app had two features:
"Force Course Publish", which literally doesn't do anything. All it does is tell you what version would be seen by users if the course were to be published--no publishing actually occurs via this feature.
"Announcements", which writes to the announcements_announcement database table, but doesn't actually display anywhere.
Having these pages in the platform is actively misleading and creates a maintenance burden for edx-platform developers, so this commit removes them.
Note that this commit does not include a migration for the announcements Django app. So, announcements_announcement table will not be deleted. Given the small expected size of any past-authored announcements, we are not worried about leaving them in the database perpetually. (REVIEWERS: Let me know if you disagree with this.)
Testing Instructions
None
Merge considerations
Blocked by:
Other cleanup (non-blocking):
Supporting Info: Screenshots of the platform without this PR
Maintenance link in the Studio header
The "Maintenance Dashboard"
"Force Publish Course" not doing anything other than a dry run
"Announcements" that do not show up anywhere
Not even in the deprecated frontends!