Repository navigation
feat(tutorial): split stage 1's text into its goal and numbered steps - #101
Merged
Merged
Conversation
A stage's texts now have a list of steps, shown under "Steps" between the goal and Check. Stage 1's goal says the table is what clears it, and its steps say that the play button waits for every pin to be connected. The left column now scrolls above a footer holding Check and its result, so that Check stays in view however long the text is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The button waits for Out and every input pin of the placed parts, not for the pins of A and B, so a spare part left unconnected keeps it disabled. The stage texts get a declared type, so that a stage without steps is not typed as never[]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The steps now point at the small circles on a part's edges, and name the input pins by where they are, on the left side. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
725837e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0785af90.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-stage-one-steps.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
Stage 1 is where a visitor who has never used the editor starts. Its goal used to be one paragraph mixing what to build with how to drag, connect and play, and it did not explain pins or say what keeps the play button disabled. This PR separates the goal from the steps and keeps Check in view.
isEachInputPinConnectedchecks.never[], and a stage without texts is a type error.Not in this PR
Testing
npx vitest run(190 tests),npx tsc -p .andnpx biome check srcpass.🤖 Generated with Claude Code