Removes the tightly coupled upgrade/upsell ("notifications") panel from the Learning MFE core and replaces it with a pluggable widget registry system. The right sidebar now supports dynamically-registered external widgets, making it easy to add, remove, or replace sidebar panels without forking the MFE.
17 lines
499 B
TypeScript
17 lines
499 B
TypeScript
import { defineMessages } from '@edx/frontend-platform/i18n';
|
|
|
|
const messages = defineMessages({
|
|
closeSidebarTrigger: {
|
|
id: 'sidebar.close.button',
|
|
defaultMessage: 'Close sidebar',
|
|
description: 'Button to close the active sidebar panel',
|
|
},
|
|
responsiveCloseSidebarPanel: {
|
|
id: 'sidebar.responsive.close.button',
|
|
defaultMessage: 'Back to course',
|
|
description: 'Responsive back-button to close the sidebar and return to course content',
|
|
},
|
|
});
|
|
|
|
export default messages;
|