Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[DEPR]: Learning Header Actions Slot V1

Abierto
#681 2 comentarios 1 reacción 1 asignado Ver en GitHub

@ChrisChV ya está trabajando en esto.

Desde el 23/8/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

depr
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.v1 slot, defined in LearningHeaderActionsSlot/v1/index.jsx, which currently wraps HeaderNotificationsSlot and LearningHelpSlot and is only rendered by v2 when showUserDropdown is true.
  • Delete the v1/ directory entirely. The shared images/ folder stays, since its screenshots remain valid for v2.
  • The root index.jsx will drop the LearningHeaderActionsSlotV1 named 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
Feature Removal Tasks
  • Remove the v1/ directory (index.jsx, README.md)
  • Update v2/index.jsx to render HeaderNotificationsSlot and LearningHelpSlot directly and unconditionally
  • Remove the LearningHeaderActionsSlotV1 named export from the root index.jsx
  • Update the root README.md and HeaderNotificationsSlot/README.md to remove references to .v1
  • Publish a release and changelog entry noting the removal
Lenguaje dominante
JavaScript
Estrellas
10
Forks
193
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openedx/frontend-component-header

Todos los issues de openedx/frontend-component-header

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.