[DEPR]: Learning Header Actions Slot V1
@ChrisChV ci sta già lavorando.
Dal 23/8/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
RFC Start Date
2026-08-31
Target Plan Accepted Date
2026-09-14
Target Transition Unblocked Date
2026-09-23
Earliest Breaking Changes Unblocked Date
2026-10-23
Earliest Open edX Named Release with Breaking Changes
Willow - 2027-01
Rationale
The org.openedx.frontend.layout.learning_header_actions.v1 plugin slot is gated behind both showUserDropdown and authenticatedUser, tying it to the visibility of the user dropdown menu. This is unintended: showUserDropdown should only control the AuthenticatedUserDropdown, not the header's action items (notifications tray, help link, and any plugin content injected into this slot). This prevents consumers who set showUserDropdown={false} from still showing notifications/help, and prevents third-party plugins attached to this slot from rendering independently of that flag. See https://github.com/openedx/frontend-component-header/pull/676
Removal
- Remove the
org.openedx.frontend.layout.learning_header_actions.v1slot, defined in LearningHeaderActionsSlot/v1/index.jsx, which currently wrapsHeaderNotificationsSlotandLearningHelpSlotand is only rendered by v2 whenshowUserDropdownis true. - Delete the
v1/directory entirely. The sharedimages/folder stays, since its screenshots remain valid forv2. - The root index.jsx will drop the
LearningHeaderActionsSlotV1named export.
Replacement
Replaced by the org.openedx.frontend.layout.learning_header_actions.v2 slot, defined in LearningHeaderActionsSlot/v2/index.jsx. Once v1 is removed, v2 will render HeaderNotificationsSlot and LearningHelpSlot directly and unconditionally, no longer gated by showUserDropdown.
Deprecation
Mark org.openedx.frontend.layout.learning_header_actions.v1 as deprecated in v1/README.md and in the plugin slots index, pointing consumers to .v2.
Open question: Is there no native way to deprecate a plugin slot?
Additional Info
No response
Transition Unblocked Tasks
- Merge the PR introducing the
v2slot: https://github.com/openedx/frontend-component-header/pull/682 - Mark
v1as deprecated inv1/README.mdandplugin-slots/README.md - Announce the migration path on Discourse/Slack so operators and plugin authors update their
pluginSlotsconfig from.v1to.v2
Feature Removal Tasks
- Remove the
v1/directory (index.jsx,README.md) - Update
v2/index.jsxto renderHeaderNotificationsSlotandLearningHelpSlotdirectly and unconditionally - Remove the
LearningHeaderActionsSlotV1named export from the rootindex.jsx - Update the root
README.mdandHeaderNotificationsSlot/README.mdto remove references to.v1 - Publish a release and changelog entry noting the removal
- Lingua principale
- JavaScript
- Stelle
- 10
- Fork
- 194
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openedx/frontend-component-header
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
openedx/frontend-component-header#673 · 5 commenti ·
-
[a11y]: The tab and arrow keys are not trapped in the header dropdown once activated.Forse di nuovo libera @peterkulko l’ha presa 218 giorni fa e non c’è nessuna pull request aperta. Apertaa11y
openedx/frontend-component-header#664 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
openedx/frontend-component-header#639 · 2 commenti ·
-
Hardcoded hex value sweepAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
openedx/frontend-component-header#579 · 1 reazione ·
Tutte le issue di openedx/frontend-component-header
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Graphify-Labs/graphify#4860 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
CommandCodeAI/command-code#1088 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CanadaHonk/porffor#426 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
RIT-Software-Engineering/RIT-SE-Senior-Project#546 ·
I maintainer di solito rispondono entro 1 giorno