Skip to content

Commit

Permalink
fix: pr requests
Browse files Browse the repository at this point in the history
  • Loading branch information
kiram15 committed Feb 13, 2025
1 parent 91b2e77 commit d2dc28e
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 225 deletions.
48 changes: 0 additions & 48 deletions src/containers/DashboardModal/hooks.js

This file was deleted.

75 changes: 0 additions & 75 deletions src/containers/DashboardModal/hooks.test.js

This file was deleted.

3 changes: 3 additions & 0 deletions src/plugin-slots/DashboardModalSlot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ const config = {
type: DIRECT_PLUGIN,
priority: 60,
RenderWidget: DashboardModal,
content: {
store,
},
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/plugin-slots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* [`widget_sidebar_slot`](./WidgetSidebarSlot/)
* [`course_list_slot`](./CourseListSlot/)
* [`no_courses_view_slot`](./NoCoursesViewSlot/)
* [`dashboard_modal_slot](./DashboardModalSlot)
* [`dashboard_modal_slot`](./DashboardModalSlot)
8 changes: 0 additions & 8 deletions src/tracking/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@ export const events = StrictDict({
leaveSession: 'leaveSession',
unenrollReason: 'unenrollReason',
entitlementUnenrollReason: 'entitlementUnenrollReason',
dashboardModalOpened: 'dashboardModalOpened',
dashboardModalCTAClicked: 'dashboardModalCTAClicked',
dashboardModalClosed: 'dashboardModalClosed',
});

const learnerPortal = 'edx.ui.enterprise.lms.dashboard.learner_portal_modal';

export const eventNames = StrictDict({
enterCourseClicked: 'edx.bi.dashboard.enter_course.clicked',
courseImageClicked: 'edx.bi.dashboard.course_image.clicked',
Expand All @@ -39,9 +34,6 @@ export const eventNames = StrictDict({
leaveSession: 'course-dashboard.leave-session',
unenrollReason: 'unenrollment_reason.selected',
entitlementUnenrollReason: 'entitlement_unenrollment_reason.selected',
dashboardModalOpened: `${learnerPortal}.opened`,
dashboardModalCTAClicked: `${learnerPortal}.dashboard_cta.clicked`,
dashboardModalClosed: `${learnerPortal}.closed`,
findCoursesClicked: 'edx.bi.dashboard.find_courses_button.clicked',
purchaseCredit: 'edx.bi.credit.clicked_purchase_credit',
filterClicked: 'course-dashboard.filter.clicked',
Expand Down
2 changes: 0 additions & 2 deletions src/tracking/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import course from './trackers/course';
import credit from './trackers/credit';
import engagement from './trackers/engagement';
import enterpriseDashboard from './trackers/enterpriseDashboard';
import entitlements from './trackers/entitlements';
import socialShare from './trackers/socialShare';
import findCourses from './trackers/findCourses';
Expand All @@ -11,7 +10,6 @@ export default {
course,
credit,
engagement,
enterpriseDashboard,
entitlements,
socialShare,
findCourses,
Expand Down
44 changes: 0 additions & 44 deletions src/tracking/trackers/enterpriseDashboard.js

This file was deleted.

47 changes: 0 additions & 47 deletions src/tracking/trackers/enterpriseDashboard.test.js

This file was deleted.

0 comments on commit d2dc28e

Please sign in to comment.