From 16274df6e713aceeb40540a08af8d525944c2ed1 Mon Sep 17 00:00:00 2001 From: Tenzin Choeying Date: Mon, 1 Jun 2026 23:01:49 +0530 Subject: [PATCH] fix: point Studio home "Getting started" link to working Open edX docs The `home` help token returned by the Studio backend resolves to a retired readthedocs page. Override it in the help-urls thunk with the current Open edX educators quickstart URL until the backend help_tokens config is migrated. Co-authored-by: Cursor --- src/help-urls/data/thunks.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/help-urls/data/thunks.js b/src/help-urls/data/thunks.js index 93b4f8d128..30a7a6b19e 100644 --- a/src/help-urls/data/thunks.js +++ b/src/help-urls/data/thunks.js @@ -3,6 +3,11 @@ import { RequestStatus } from '../../data/constants'; import { getHelpUrls } from './api'; import { updateLoadingHelpUrlsStatus, updatePages } from './slice'; +// The backend `home` help token still resolves to a retired readthedocs page. +// Override it with the current Open edX educators quickstart until the backend +// help_tokens config is migrated to docs.openedx.org. +const HOME_HELP_URL_OVERRIDE = 'https://docs.openedx.org/en/latest/educators/quickstarts/build_a_course.html'; + export function fetchHelpUrls() { return async (dispatch) => { dispatch(updateLoadingHelpUrlsStatus({ status: RequestStatus.IN_PROGRESS })); @@ -10,7 +15,7 @@ export function fetchHelpUrls() { try { const urls = await getHelpUrls(); - dispatch(updatePages(urls)); + dispatch(updatePages({ ...urls, home: HOME_HELP_URL_OVERRIDE })); dispatch(updateLoadingHelpUrlsStatus({ status: RequestStatus.SUCCESSFUL })); return true;