Commit 3dd8acc
committed
feat: Only display Preview Language Setting (dark_lang) in LMS
Previously, there were two (identical) ways to preview dark language:
1. <CMS_ROOT_URL>/update_lang
2. <LMS_ROOT_URL>/update_lang
Now, (1) will simply redirect to (2). So, the Preview Language Setting
page will only render in an LMS context. This has no impact on end-user
functionality. It has only a very minor UX end-user impact.
The purpose of this is to allow us to completely retire the legacy
Studio frontend without losing any end-user functionality. This page is
not yet available in an MFE, which will need to be the eventual
solution.1 parent 18113c6 commit 3dd8acc
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| |||
0 commit comments