diff --git a/README.rst b/README.rst index 6357e55302..33e1fd9762 100644 --- a/README.rst +++ b/README.rst @@ -100,6 +100,12 @@ The Learning MFE is similar to all the other Open edX MFEs. Read the Open edX Developer Guide's section on `MFE applications `_. +Plugins +======= +This MFE can be customized using `Frontend Plugin Framework `_. + +The parts of this MFE that can be customized in that manner are documented `here `_. + Environment Variables ====================== diff --git a/src/courseware/course/sequence/Sequence.jsx b/src/courseware/course/sequence/Sequence.jsx index d847c85656..7fe7b751c2 100644 --- a/src/courseware/course/sequence/Sequence.jsx +++ b/src/courseware/course/sequence/Sequence.jsx @@ -9,11 +9,11 @@ import { import { useIntl } from '@edx/frontend-platform/i18n'; import { useSelector } from 'react-redux'; import SequenceExamWrapper from '@edx/frontend-lib-special-exams'; -import { PluginSlot } from '@openedx/frontend-plugin-framework'; import PageLoading from '@src/generic/PageLoading'; import { useModel } from '@src/generic/model-store'; import { useSequenceBannerTextAlert, useSequenceEntranceExamAlert } from '@src/alerts/sequence-alerts/hooks'; +import SequenceContainerSlot from '../../../plugin-slots/SequenceContainerSlot'; import CourseLicense from '../course-license'; import Sidebar from '../sidebar/Sidebar'; @@ -196,13 +196,7 @@ const Sequence = ({ {isNewDiscussionSidebarViewEnabled ? : } - + ); diff --git a/src/courseware/course/sequence/Unit/__snapshots__/index.test.jsx.snap b/src/courseware/course/sequence/Unit/__snapshots__/index.test.jsx.snap index 2419acb694..2249c87122 100644 --- a/src/courseware/course/sequence/Unit/__snapshots__/index.test.jsx.snap +++ b/src/courseware/course/sequence/Unit/__snapshots__/index.test.jsx.snap @@ -28,14 +28,9 @@ exports[`Unit component output snapshot: not bookmarked, do not show content 1`] > unit-title -

{unit.title}

- +

{formatMessage(messages.headerPlaceholder)}

{ -