[DEPR]: Upgrade Button #438
Labels
depr
Proposal for deprecation & removal per OEP-21
needs maintainer attention
Issue or PR specifically needs the attention of the maintainer.
Proposal Date
2024-08-27
Target Ticket Acceptance Date
2024-09-10
Earliest Open edX Named Release Without This Functionality
Sumac - 2024-10
Rationale
The Upgrade Button has been the most commonly requested component by the Open edX community for removal. As far as we can tell, 2U is the only organization that uses the component, which is why a complete removal of the button is the proposed approach as opposed to making it an optional component that can be injected within a PluginSlot. If the code is indeed unused, it only serves as a liability to the community and should be removed.
Removal
This is a proposal to remove the Upgrade Button component, its implementation in CourseCardActions, and any hooks logic and tracking events that are only related to "upgrading" a course.
For the sake of removing the Upgrade Button before the Sumac release, this deprecation proposal doesn't include completely removing upgrade-related information from the
LearnerDashboard.Init()
call to the LMS, which also means that the remaining evidence within Learner Dashboard of a course ever being upgradeable would be found in a redux selector. If this were to remain, then it would at least give the Maintaining team the time to remove the Upgrade data from theinit
, as any need to call LearnerDashboard.Init() more than once will have a tremendous impact on the performance of the page.Replacement
With these removals, in CourseCardActions there would be an empty PluginSlot in place of where the Upgrade Component was implemented to allow for the component to be plugged in using Frontend Plugin Framework. This would also allow any other organization to add whatever action components they would like.
Deprecation
No response
Migration
No response
Additional Info
@jsnwesson
Discourse Post
Task List
The text was updated successfully, but these errors were encountered: