Skip to content

Commit db29e31

Browse files
authored
feat: customize proctoring review requirements link using externalLinkUrlOverrides (#1775)
1 parent e9121f9 commit db29e31

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@edx/frontend-component-header": "^6.2.0",
3939
"@edx/frontend-lib-learning-assistant": "^2.22.0",
4040
"@edx/frontend-lib-special-exams": "^4.0.0",
41-
"@edx/frontend-platform": "^8.3.1",
41+
"@edx/frontend-platform": "^8.4.0",
4242
"@edx/openedx-atlas": "^0.7.0",
4343
"@fortawesome/free-brands-svg-icons": "5.15.4",
4444
"@fortawesome/free-regular-svg-icons": "5.15.4",

src/course-home/outline-tab/widgets/ProctoringInfoPanel.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
33
import camelCase from 'lodash.camelcase';
44

55
import { useIntl } from '@edx/frontend-platform/i18n';
6+
import { getExternalLinkUrl } from '@edx/frontend-platform';
67
import { Button } from '@openedx/paragon';
78

89
import messages from '../messages';
@@ -207,7 +208,7 @@ const ProctoringInfoPanel = () => {
207208
{isSubmissionRequired(readableStatus) && (
208209
onboardingExamButton
209210
)}
210-
<Button variant="outline-primary" block href="https://support.edx.org/hc/en-us/sections/115004169247-Taking-Timed-and-Proctored-Exams">
211+
<Button variant="outline-primary" block href={getExternalLinkUrl('https://support.edx.org/hc/en-us/sections/115004169247-Taking-Timed-and-Proctored-Exams')}>
211212
{intl.formatMessage(messages.proctoringReviewRequirementsButton)}
212213
</Button>
213214
</div>

0 commit comments

Comments
 (0)