Repository navigation
[fix] canvas: one interface language switch, not three - #498
Open
Zhangbo-cn wants to merge 1 commit into
Open
Zhangbo-cn wants to merge 1 commit into
Zhangbo-cn wants to merge 1 commit into
Conversation
Zhangbo-cn
requested review from
hsliuustc0106 and
princepride
as code owners
November 25, 2026 03:00
Settings -> General already has the interface language, and the welcome screen offers it before a project exists. The model setup panel repeated the same control in its top-right corner, so the same setting appeared in two places depending on which panel happened to be open, with nothing indicating they were the same value. The setup panel now opens on the thing it is for: which models are missing. The key it used stays, because the welcome screen still labels its switch with it.
Zhangbo-cn
force-pushed
the
fix/model-setup-language
branch
from
November 25, 2026 03:56
7c013e8 to
55ffecc
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The same interface language switch lived in three places: Settings → General, the welcome screen, and the top-right corner of the model setup panel. Two visible entries for one setting, with nothing on screen saying they were the same value — pick a language in the setup panel and watch Settings → General change under you.
The model setup panel drops its copy. Settings → General stays the settings entry, and the welcome screen keeps its switch because it is what a first-time user sees before any project exists. The
modelSetup.languagekey stays: the welcome screen labels its<select>with it, and the ID it labelled (#model-setup-language) appeared nowhere else, in tests or source.Verification
tsc --noEmitclean;npm test978 pass / 0 fail.check:i18n3351 keys, 0 problems — no key went unused, which is the check that would have caught deletingmodelSetup.languagewith the panel.#settings-language(Settings → General) and#welcome-language(welcome screen) are untouched and are the two remaining entries.