Repository navigation
feat: tell which input pin is free when the pale play button is pressed, and bring the outlined component into view - #118
Merged
Conversation
… free The play button could not be pressed while an input pin was free, and said nothing of which. It now stays pale then, so that it still tells when every pin is connected, but pressing it tries to play, and the simulation goes back to editing with the free pin named and its component outlined, as it already did for a pin free inside a component. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…outlines it A component outlined out of view, e.g. dropped far off, left the player with a message about a pin they could not find. When an error or a failed check outlines one out of view, the view now fits every component, as when the editor opens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the play button - The view fitted for an error leaves room at the bottom for the message about it, which could otherwise cover the component it names. - Stage to canvas is worked out in one place for the view and for the check of what is in view, and showNodes is tested. - The play button is named for screen readers, and stage 1 says it turns green rather than dark. 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: |
0005a96
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://aabfe78f.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-explain-play-blocked.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
…sage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
At the exhibition, a visitor's stage 3 circuit had an Or whose A pin was free, out of view. The play button was simply disabled, and "Check" named a pin nobody could find.
Not in this PR
Testing
npx vitest run(317 tests),npx tsc -p .andnpx biome check srcpass. New tests cover:🤖 Generated with Claude Code