feat!: Drop the legacy studio updates page. (#37544)
Remove the legacy studio updates page and its related artifacts. They have been replaced by API and a new UI in the authoring MFE. This cleanup is a part of https://github.com/openedx/edx-platform/issues/36108 BREAKING CHANGE: The 'legacy_studio.updates' waffle flag will no longer be respected. The system will behave as if the flag is set to false permanently.
This commit is contained in:
@@ -80,10 +80,15 @@ class CourseWaffleFlagsSerializer(serializers.Serializer):
|
||||
|
||||
def get_use_new_updates_page(self, obj):
|
||||
"""
|
||||
Method to get the use_new_updates_page switch
|
||||
Method to indicate if we should use the new updates_page
|
||||
|
||||
This used to be based on a waffle flag but the flag is being removed so we
|
||||
default it to true for now until we can remove the need for it from the consumers
|
||||
of this serializer and the related APIs.
|
||||
|
||||
See https://github.com/openedx/edx-platform/issues/37497
|
||||
"""
|
||||
course_key = self.get_course_key()
|
||||
return toggles.use_new_updates_page(course_key)
|
||||
return True
|
||||
|
||||
def get_use_new_import_page(self, obj):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user