diff --git a/src/course-home/progress-tab/ProgressTab.jsx b/src/course-home/progress-tab/ProgressTab.jsx
index 8bed75740c..585b12b2c4 100644
--- a/src/course-home/progress-tab/ProgressTab.jsx
+++ b/src/course-home/progress-tab/ProgressTab.jsx
@@ -7,8 +7,7 @@ import ProgressHeader from './ProgressHeader';
import ProgressTabCertificateStatusSlot from '../../plugin-slots/ProgressTabCertificateStatusSlot';
import ProgressTabCourseGradeSlot from '../../plugin-slots/ProgressTabCourseGradeSlot';
-import ProgressTabDetailedGradesSlot from '../../plugin-slots/ProgressTabDetailedGradesSlot';
-import ProgressTabGradeSummarySlot from '../../plugin-slots/ProgressTabGradeSummarySlot';
+import ProgressTabGradeBreakdownSlot from '../../plugin-slots/ProgressTabGradeBreakdownSlot';
import ProgressTabRelatedLinksSlot from '../../plugin-slots/ProgressTabRelatedLinksSlot';
import { useModel } from '../../generic/model-store';
@@ -17,11 +16,7 @@ const ProgressTab = () => {
courseId,
} = useSelector(state => state.courseHome);
- const {
- gradesFeatureIsFullyLocked, disableProgressGraph,
- } = useModel('progress', courseId);
-
- const applyLockedOverlay = gradesFeatureIsFullyLocked ? 'locked-overlay' : '';
+ const { disableProgressGraph } = useModel('progress', courseId);
const windowWidth = useWindowSize().width;
if (windowWidth === undefined) {
@@ -41,10 +36,7 @@ const ProgressTab = () => {
{!disableProgressGraph && }
{!wideScreen && }
-
`.
-
-![Screenshot of Content added after the Sequence Container](./images/post_sequence_container.png)
-
-```js
-import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';
-
-const config = {
- pluginSlots: {
- progress_tab_detailed_grades_slot: {
- plugins: [
- {
- // Insert custom content after detailed grades widget
- op: PLUGIN_OPERATIONS.Insert,
- widget: {
- id: 'custom_detailed_grades_content',
- type: DIRECT_PLUGIN,
- RenderWidget: ({courseId}) => (
-
- ),
- },
- },
- ]
- }
- },
-}
-
-export default config;
-```
diff --git a/src/plugin-slots/ProgressTabDetailedGradesSlot/index.jsx b/src/plugin-slots/ProgressTabDetailedGradesSlot/index.jsx
deleted file mode 100644
index b449687d3b..0000000000
--- a/src/plugin-slots/ProgressTabDetailedGradesSlot/index.jsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import PropTypes from 'prop-types';
-import { PluginSlot } from '@openedx/frontend-plugin-framework';
-import DetailedGrades from '../../course-home/progress-tab/grades/detailed-grades/DetailedGrades';
-
-const ProgressTabDetailedGradesSlot = ({ courseId }) => (
-
-
-
-);
-
-ProgressTabDetailedGradesSlot.propTypes = {
- courseId: PropTypes.string.isRequired,
-};
-
-export default ProgressTabDetailedGradesSlot;
diff --git a/src/plugin-slots/ProgressTabGradeSummarySlot/README.md b/src/plugin-slots/ProgressTabGradeBreakdownSlot/README.md
similarity index 100%
rename from src/plugin-slots/ProgressTabGradeSummarySlot/README.md
rename to src/plugin-slots/ProgressTabGradeBreakdownSlot/README.md
diff --git a/src/plugin-slots/ProgressTabGradeBreakdownSlot/index.jsx b/src/plugin-slots/ProgressTabGradeBreakdownSlot/index.jsx
new file mode 100644
index 0000000000..de37ba54da
--- /dev/null
+++ b/src/plugin-slots/ProgressTabGradeBreakdownSlot/index.jsx
@@ -0,0 +1,33 @@
+import { useModel } from '@src/generic/model-store';
+import PropTypes from 'prop-types';
+import { PluginSlot } from '@openedx/frontend-plugin-framework';
+import React from 'react';
+import DetailedGrades from '../../course-home/progress-tab/grades/detailed-grades/DetailedGrades';
+import GradeSummary from '../../course-home/progress-tab/grades/grade-summary/GradeSummary';
+
+const ProgressTabGradeBreakdownSlot = ({ courseId }) => {
+ const { gradesFeatureIsFullyLocked } = useModel('progress', courseId);
+ const applyLockedOverlay = gradesFeatureIsFullyLocked ? 'locked-overlay' : '';
+ return (
+
+
+
+
+
+
+ );
+};
+
+ProgressTabGradeBreakdownSlot.propTypes = {
+ courseId: PropTypes.string.isRequired,
+};
+
+export default ProgressTabGradeBreakdownSlot;
diff --git a/src/plugin-slots/ProgressTabGradeSummarySlot/index.jsx b/src/plugin-slots/ProgressTabGradeSummarySlot/index.jsx
deleted file mode 100644
index 2d0ebbccfb..0000000000
--- a/src/plugin-slots/ProgressTabGradeSummarySlot/index.jsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import PropTypes from 'prop-types';
-import { PluginSlot } from '@openedx/frontend-plugin-framework';
-import GradeSummary from '../../course-home/progress-tab/grades/grade-summary/GradeSummary';
-
-const ProgressTabGradeSummarySlot = ({ courseId }) => (
-
-
-
-);
-
-ProgressTabGradeSummarySlot.propTypes = {
- courseId: PropTypes.string.isRequired,
-};
-
-export default ProgressTabGradeSummarySlot;