-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Proposal Date
2025-03-21
Target Ticket Acceptance Date
2025-04-04
Earliest Open edX Named Release Without This Functionality
Teak - 2025-04
Rationale
The DISPLAY_COURSE_SOCK_FLAG is a waffle flag that was used to determine whether verification related upsell messaging should be displayed in the courseware. This data is used to determine whether the sock should be displayed in the legacy courseware which is itself deprecated.
The flag is also provided as a part of the the CourseHomeMetadata, ProgressTab, OutlineTab and VerifiedMode APIs as the can_show_upgrade_sock attribute in JSON. The Only place in our Frontend code that is consuming it is in the frontend-app-learning MFE and while that app consumes it, it doesn't actually make use of it to change any of your experience.
Removal
This DEPR proposes that all Courses Sock related logic and API data be removed from the platform and the frontend-app-learning MFE
Replacement
There is no direct replacement but an equivalent capability can be achieved by using the FooterSlot in the frontend-app-learning MFE.
Deprecation
No response
Migration
No response
Additional Info
- Announcement: https://discuss.openedx.org/t/deprecation-removal-course-sock-flag-and-related-code/15321
Task List
Metadata
Metadata
Assignees
Labels
Type
Projects
Status