Skip to content

Commit 3c1b749

Browse files
kiram15jsnwesson
authored andcommitted
fix: changing slot id
1 parent 845ee09 commit 3c1b749

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/plugin-slots/DashboardModalSlot/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Dashboard Modal Slot
22

3-
### Slot ID: `dashboard_modal_slot`
3+
### Slot ID: `org.openedx.frontend.learner_dashboard.dashboard_modal.v1`
4+
5+
### https://github.com/openedx/frontend-plugin-framework/blob/master/docs/decisions/0003-slot-naming-and-life-cycle.rst#1-naming-format
46

57
## Description
68

@@ -18,7 +20,7 @@ import { ModalDialog } from '@openedx/paragon';
1820

1921
const config = {
2022
pluginSlots: {
21-
dashboard_modal_slot: {
23+
org.openedx.frontend.learner_dashboard.dashboard_modal.v1: {
2224
plugins: [
2325
{
2426
op: PLUGIN_OPERATIONS.Insert,

src/plugin-slots/DashboardModalSlot/index.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 { PluginSlot } from '@openedx/frontend-plugin-framework';
33

44
const DashboardModalSlot = () => (
5-
<PluginSlot id="dashboard_modal_slot" />
5+
<PluginSlot id="org.openedx.frontend.learner_dashboard.dashboard_modal.v1" />
66
);
77

88
export default DashboardModalSlot;

src/plugin-slots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* [`widget_sidebar_slot`](./WidgetSidebarSlot/)
66
* [`course_list_slot`](./CourseListSlot/)
77
* [`no_courses_view_slot`](./NoCoursesViewSlot/)
8-
* [`dashboard_modal_slot`](./DashboardModalSlot)
8+
* [`org.openedx.frontend.learner_dashboard.dashboard_modal.v1`](./DashboardModalSlot)

0 commit comments

Comments
 (0)