Skip to content

feat: translate STUDIO_BASE_URL to cmsBaseUrl in frontend site config#38577

Open
arbrandes wants to merge 1 commit intoopenedx:masterfrom
arbrandes:arbrandes/translate-cms-base-url
Open

feat: translate STUDIO_BASE_URL to cmsBaseUrl in frontend site config#38577
arbrandes wants to merge 1 commit intoopenedx:masterfrom
arbrandes:arbrandes/translate-cms-base-url

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

Description

Maps the legacy STUDIO_BASE_URL key to the optional cmsBaseUrl field in SITE_CONFIG_TRANSLATION_MAP, matching frontend-base's OptionalSiteConfig interface. With this change, FrontendSiteConfigView surfaces the Studio base URL at the top level of the response rather than nesting it inside commonAppConfig.

The two test_views.py cases that previously asserted STUDIO_BASE_URL lived in commonAppConfig now assert it appears at the top level as cmsBaseUrl.

LLM usage notice

Built with assistance from Claude.

@arbrandes arbrandes force-pushed the arbrandes/translate-cms-base-url branch from 5b64474 to 79a05d2 Compare May 6, 2026 23:36
Maps the legacy STUDIO_BASE_URL key to the optional frontend-base
cmsBaseUrl field so it surfaces at the top level of FrontendSiteConfigView
instead of falling through to commonAppConfig.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes arbrandes force-pushed the arbrandes/translate-cms-base-url branch from 79a05d2 to 47d132a Compare May 7, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant