New Frontend Plugin Slots for the Teak Release

New Frontend Plugin Slots for the Teak Release#

Utilizing frontend plugin slots, site operators now have the ability to customize various portions of the site.

A “frontend plugin slot” refers to an area of a web page - comprising one or more visual elements - that can be “swapped out” with other visual elements. For example, one plugin slot allows you to remove the “Help” button in the header.

Overhead and hassle is minimized using the plugin slot system. Site operators can leverage a plugin slot using a configuration file; the codebase does not need to be copied (“forked”) nor are extensive changes needed. A snippet of code is all that is needed to use a plugin slot. A site operator places that code within a configuration file. Site operators should refer to the src/plugin-slots directory within each MFE’s codebase to view documentation for that MFE’s plugin slot(s).

In these release notes, we’ll detail the new plugin slots found in the Teak release. The full list of existing plugin slots can be found in Available Frontend Plugin Slots, and usage instructions are available at * Use A Frontend Plugin Framework Slot.

Where possible, descriptions of the plugin slots are provided. Click the name of the slot to be brought to the documentation page which contains example screenshots.

Note: Instance operators using these slots will need to use their fully-qualified slot id provided in the descriptions, such as org.openedx.frontend.authoring.course_unit_sidebar.v1.

Authoring MFE#

  • AdditionalCourseContentPluginSlot: No description provided.

  • AdditionalCoursePluginSlot: No description provided.

  • AdditionalTranslationsComponentSlot: No description provided.

  • CourseAuthoringOutlineSidebarSlot: The slot wraps the sidebar that is displayed on the course outline page. It can be used to add additional sidebar components or modify the existing sidebar.

  • CourseAuthoringUnitSidebarSlot: The slot wraps the sidebar that is displayed on the unit editor page. It can be used to add additional sidebar components or modify the existing sidebar.

  • CourseOutlineHeaderActionsSlot: The slot is positioned in the SubHeader section of the Course Outline page, suitable for adding action buttons. The slot by default contains the action buttons such as + New Section, Reindex, View Live.

  • CourseOutlineSubsectionCardExtraActionsSlot: The slot is positioned right before the drop-down menu icon in the sub-section cards of the Course Outline page. It is best suited for adding icon buttons. The slot is empty by default.

  • CourseOutlineUnitCardExtraActionsSlot: The slot is positioned right before the drop-down menu icon in the Unit cards of the Course Outline page. It is best suited for adding icon buttons. The slot is empty by default.

  • CourseUnitHeaderActionsSlot: The slot is positioned in the SubHeader section of the Course Unit editor page. It is suitable for adding action buttons. By default, the slot contains the action buttons like View Live Version and Preview.

Learner Dashboard MFE#

  • CourseBannerSlot: This slot is used for replacing or adding content for the “Course Banner” component. This banner is rendered as a child of the “Course Card”.

  • DashboardModalSlot: This slot is used for rendering a modal on a dashboard.

Learning MFE#

Maintenance chart

Review Date

Working Group Reviewer

Release

Test situation

2025-05-08

Frontend WG

Teak

Pass