Skip to content

Commit 04e948e

Browse files
committed
fixup! fixup! feat: Add slots for video and file upload components and alerts
1 parent 496d26c commit 04e948e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/plugin-slots/CourseFilesSlot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This slot is used to replace/modify/hide the course file table UI.
1212

1313
![Red Border around Files UI](./screenshot_files_border_wrap.png)
1414

15-
The following `env.config.jsx` will wrap the files component with a div that has a large red dashed
15+
The following `env.config.jsx` will wrap the files component with a div that has a large dashed
1616
red border.
1717

1818
```js

src/plugin-slots/CourseOutlinePageAlertsSlot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This slot is used to add alerts to the course outline page.
1212

1313
![Additional Alerts in Outline Page](./screenshot_outline_alert_added.png)
1414

15-
The following `env.config.jsx` will wrap the files component with a div that has a large red dashed redborder.
15+
The following `env.config.jsx` display a custom additional alert on the course outline page.
1616

1717
```js
1818
import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';

src/plugin-slots/CourseVideosSlot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This slot is used to replace/modify/hide the course video upload page UI.
1212

1313
![Red Border around Videos UI](./screenshot_videos_border_wrap.png)
1414

15-
The following `env.config.jsx` will wrap the files component with a div that has a large red dashed redborder.
15+
The following `env.config.jsx` will wrap the videos UI with a div that has a large dashed red border.
1616

1717
```js
1818
import { PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';

src/plugin-slots/EditFileErrorAlertsSlot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This slot is used to add alerts to the course file edit page.
1616

1717
![🍞 in breadcrumbs slot](./screenshot_videos_alert_added.png)
1818

19-
The following `env.config.jsx` will wrap the files component with a div that has a large red dashed redborder.
19+
The following `env.config.jsx` will display an additional custom alert on the files and uploads page.
2020

2121
```js
2222
import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';

0 commit comments

Comments
 (0)