Skip to content

[DEPR]: DISPLAY_COURSE_SOCK_FLAG #36429

@feanil

Description

@feanil

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

Task List

Metadata

Metadata

Assignees

Labels

deprProposal for deprecation & removal per OEP-21

Type

No type

Projects

Status

Plan Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions