Repository navigation
fix(tutorial): name the stage components in the language shown - #108
Merged
Merged
Conversation
The stage and the parts it hands over kept the name of the language the stage was first opened in, so the side panel and the title bar could disagree with the stage text after switching languages. They are now renamed on opening and on each switch, without saving, so that a stage only opened still leaves nothing behind. The title bar now follows a renamed component. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The failure message reads part names from the store, but was rendered outside the store's scope and did not follow a rename, so it kept the old language's name after a switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
9ff1337
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c4aecf63.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://fix-tutorial-component-names.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
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.
Summary
The stage's component and the parts it hands over were named in the language the stage was first opened in, and kept that name after switching languages. Stage 3 says "Only switch A" can be used, while the side panel could show 「A だけのスイッチ」.
Not in this PR
Testing
npx vitest run(277 tests),npx tsc -p .andnpx biome check srcpass. New tests cover:🤖 Generated with Claude Code