Skip to content

Commit 7f8ba98

Browse files
feat: import StudioFooterSlot from component package instead of slot package
1 parent 7edb352 commit 7f8ba98

File tree

13 files changed

+16
-29
lines changed

13 files changed

+16
-29
lines changed

package-lock.json

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
"@openedx-plugins/course-app-xpert_unit_summary": "file:plugins/course-apps/xpert_unit_summary",
6363
"@openedx/frontend-build": "^14.3.3",
6464
"@openedx/frontend-plugin-framework": "^1.7.0",
65-
"@openedx/frontend-slot-footer": "^1.2.0",
6665
"@openedx/paragon": "^22.16.0",
6766
"@redux-devtools/extension": "^3.3.0",
6867
"@reduxjs/toolkit": "1.9.7",

src/CourseAuthoringPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useDispatch, useSelector } from 'react-redux';
55
import {
66
useLocation,
77
} from 'react-router-dom';
8-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
8+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
99
import Header from './header';
1010
import { fetchCourseDetail, fetchWaffleFlags } from './data/thunks';
1111
import { useModel } from './generic/model-store';

src/accessibility-page/AccessibilityPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
33
import { Helmet } from 'react-helmet';
44
import { Container } from '@openedx/paragon';
5-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
5+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
66

77
import Header from '../header';
88
import messages from './messages';

src/course-rerun/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
ActionRow,
88
Button,
99
} from '@openedx/paragon';
10-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
10+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
1111

1212
import { useNavigate, useParams } from 'react-router-dom';
1313

src/library-authoring/LibraryAuthoringPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from 'react';
77
import { Helmet } from 'react-helmet';
88
import classNames from 'classnames';
9-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
9+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
1010
import { useIntl } from '@edx/frontend-platform/i18n';
1111
import {
1212
ActionRow,

src/library-authoring/collections/LibraryCollectionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect } from 'react';
2-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
2+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
33
import { useIntl } from '@edx/frontend-platform/i18n';
44
import {
55
ActionRow,

src/library-authoring/create-library/CreateLibrary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StudioFooterSlot } from '@openedx/frontend-slot-footer';
1+
import { StudioFooterSlot } from '@edx/frontend-component-footer';
22
import { useIntl } from '@edx/frontend-platform/i18n';
33
import {
44
Container,

src/plugin-slots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
* [`org.openedx.frontend.authoring.video_transcript_additional_translations_component.v1`](./AdditionalTranslationsComponentSlot/)
1717

1818
## Footer Slot
19-
* [`studio_footer_slot`](./StudioFooterSlot/)
19+
* [`org.openedx.frontend.layout.studio_footer.v1`](./StudioFooterSlot/)

src/plugin-slots/StudioFooterSlot/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Studio Footer Slot
22

3-
### Slot ID: `studio_footer_slot`
3+
### Slot ID: `org.openedx.frontend.layout.studio_footer.v1`
4+
5+
### Slot ID Aliases
6+
* `studio_footer_slot`
47

58
## Description
69

710
This slot is used to replace/modify/hide the footer.
811

9-
The implementation of the `StudioFooterSlot` component lives in [the `frontend-slot-footer` repository](https://github.com/openedx/frontend-slot-footer/).
12+
The implementation of the `StudioFooterSlot` component lives in [the `frontend-component-footer` repository](https://github.com/openedx/frontend-component-footer/).
1013

1114
## Example
1215

@@ -23,7 +26,7 @@ import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-frame
2326

2427
const config = {
2528
pluginSlots: {
26-
studio_footer_slot: {
29+
'org.openedx.frontend.layout.studio_footer.v1': {
2730
plugins: [
2831
{
2932
// Hide the default footer

0 commit comments

Comments
 (0)