diff --git a/package-lock.json b/package-lock.json index 4cba6c29f6..67886ed888 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2100,9 +2100,9 @@ }, "node_modules/@edx/brand": { "name": "@edly-io/sdaia-brand-openedx", - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@edly-io/sdaia-brand-openedx/-/sdaia-brand-openedx-1.3.1.tgz", - "integrity": "sha512-cR+JU/7KthQyOSPY4u3DS8sfchTsY+zsBl7tREiN/Ip5/6IGCPCi3VxXjfVIUrka97xLYANzD4YhzXgZe5Gfjw==" + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@edly-io/sdaia-brand-openedx/-/sdaia-brand-openedx-1.3.2.tgz", + "integrity": "sha512-xXQjHs7F7w9x7aZ1+h9BAoAaDY5wFfTi8rOFoq4G4B1vilhxRSogUesjDNfZJfOkkoyMrRetNA+RocRPUlO3uw==" }, "node_modules/@edx/browserslist-config": { "version": "1.1.1", diff --git a/src/course-home/outline-tab/DateSummary.jsx b/src/course-home/outline-tab/DateSummary.jsx index edff43a7d2..9a79643b6a 100644 --- a/src/course-home/outline-tab/DateSummary.jsx +++ b/src/course-home/outline-tab/DateSummary.jsx @@ -35,10 +35,10 @@ const DateSummary = ({ }; return ( -
  • +
  • -
    +
    { + const isLocaleRtl = isRtl(getLocale()); const wholePage = ` - + diff --git a/src/course-home/progress-tab/course-completion/CompletionDonutChart.jsx b/src/course-home/progress-tab/course-completion/CompletionDonutChart.jsx index 231689402b..991fba2ded 100644 --- a/src/course-home/progress-tab/course-completion/CompletionDonutChart.jsx +++ b/src/course-home/progress-tab/course-completion/CompletionDonutChart.jsx @@ -39,7 +39,7 @@ const CompletionDonutChart = ({ intl }) => { - {completePercentage}{isLocaleRtl && '\u200f'}% + {completePercentage}%{isLocaleRtl && '\u200f'} {intl.formatMessage(messages.donutLabel)} diff --git a/src/course-home/progress-tab/grades/course-grade/CurrentGradeTooltip.jsx b/src/course-home/progress-tab/grades/course-grade/CurrentGradeTooltip.jsx index d6be42e777..f519ac53f7 100644 --- a/src/course-home/progress-tab/grades/course-grade/CurrentGradeTooltip.jsx +++ b/src/course-home/progress-tab/grades/course-grade/CurrentGradeTooltip.jsx @@ -41,7 +41,7 @@ const CurrentGradeTooltip = ({ intl, tooltipClassName }) => { overlay={( )} diff --git a/src/course-home/progress-tab/grades/course-grade/PassingGradeTooltip.jsx b/src/course-home/progress-tab/grades/course-grade/PassingGradeTooltip.jsx index 6ac172a55d..1aa530d787 100644 --- a/src/course-home/progress-tab/grades/course-grade/PassingGradeTooltip.jsx +++ b/src/course-home/progress-tab/grades/course-grade/PassingGradeTooltip.jsx @@ -25,7 +25,7 @@ const PassingGradeTooltip = ({ intl, passingGrade, tooltipClassName }) => { overlay={( )} diff --git a/src/course-home/progress-tab/grades/detailed-grades/DetailedGradesTable.jsx b/src/course-home/progress-tab/grades/detailed-grades/DetailedGradesTable.jsx index 327a85a28b..53323f41d2 100644 --- a/src/course-home/progress-tab/grades/detailed-grades/DetailedGradesTable.jsx +++ b/src/course-home/progress-tab/grades/detailed-grades/DetailedGradesTable.jsx @@ -35,7 +35,7 @@ const DetailedGradesTable = ({ intl }) => { const detailedGradesData = subsectionScores.map((subsection) => ({ subsectionTitle: , - score: {subsection.numPointsEarned}{isLocaleRtl ? '\\' : '/'}{subsection.numPointsPossible}, + score: {subsection.numPointsEarned}{isLocaleRtl ? '\\' : '/'}/{subsection.numPointsPossible}, })); return ( diff --git a/src/course-home/progress-tab/grades/detailed-grades/ProblemScoreDrawer.jsx b/src/course-home/progress-tab/grades/detailed-grades/ProblemScoreDrawer.jsx index 83816148e4..2f43d17260 100644 --- a/src/course-home/progress-tab/grades/detailed-grades/ProblemScoreDrawer.jsx +++ b/src/course-home/progress-tab/grades/detailed-grades/ProblemScoreDrawer.jsx @@ -16,7 +16,7 @@ const ProblemScoreDrawer = ({ intl, problemScores, subsection }) => {
      {problemScores.map(problemScore => ( -
    • {problemScore.earned}{isLocaleRtl ? '\\' : '/'}{problemScore.possible}
    • +
    • {problemScore.earned}{isLocaleRtl ? '\\' : '/'}/{problemScore.possible}
    • ))}
    diff --git a/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTable.jsx b/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTable.jsx index 4c8c706212..394c89fb8b 100644 --- a/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTable.jsx +++ b/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTable.jsx @@ -74,9 +74,9 @@ const GradeSummaryTable = ({ intl, setAllOfSomeAssignmentTypeIsLocked }) => { type: { footnoteId, footnoteMarker, type: assignment.type, locked, }, - weight: { weight: `${(assignment.weight * 100).toFixed(0)}${isLocaleRtl ? '\u200f' : ''} %`, locked }, - grade: { grade: `${(assignment.averageGrade * 100).toFixed(0)}${isLocaleRtl ? '\u200f' : ''} %`, locked }, - weightedGrade: { weightedGrade: `${(assignment.weightedGrade * 100).toFixed(0)}${isLocaleRtl ? '\u200f' : ''} %`, locked }, + weight: { weight: `${(assignment.weight * 100).toFixed(0)}%${isLocaleRtl ? '\u200f' : ''}`, locked }, + grade: { grade: `${(assignment.averageGrade * 100).toFixed(0)}%${isLocaleRtl ? '\u200f' : ''}`, locked }, + weightedGrade: { weightedGrade: `${(assignment.weightedGrade * 100).toFixed(0)}%${isLocaleRtl ? '\u200f' : ''}`, locked }, }; }); const getAssignmentTypeCell = (value) => ( diff --git a/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTableFooter.jsx b/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTableFooter.jsx index 77d80821d4..597c20cfe8 100644 --- a/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTableFooter.jsx +++ b/src/course-home/progress-tab/grades/grade-summary/GradeSummaryTableFooter.jsx @@ -28,7 +28,7 @@ const GradeSummaryTableFooter = ({ intl }) => {
    {intl.formatMessage(messages.weightedGradeSummary)}
    -
    {totalGrade}{isLocaleRtl && '\u200f'} %
    +
    {totalGrade}%{isLocaleRtl && '\u200f'}
    );