Repository navigation
feat: mark names, values and buttons in part descriptions, and say how parts work on many bits - #113
Merged
Merged
Conversation
…se it too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…w parts work on many bits The descriptions of parts and their pins now draw names, values and the "Apply", "Add" and "Remove" buttons as the stage texts do. And, Or, Not, Xor, True and False described only one-bit values, and FlipFlop wrote its first output as 0 whatever its width. The pin note spoke of one field, while a split pin has a field for each pin and a "Remove" button too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…part notes by what they mark True and False take no input, so "in a value of two or more bits" had nothing to refer to; they now speak of their output, as FlipFlop does. The tests check that each pin note points at the right buttons in every language, and that a description names only its own part and pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
920ffe2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://afc57ee6.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-part-descriptions.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 part descriptions (the ⓘ in the parts list and "Available parts" on a stage page) were plain text, described And, Or, Not, Xor, True and False only on one-bit values, and told how to set a pin's bit width as if it had one field.
StageTextis renamed toMarkedText, as it is no longer only for stages. The look of "Add" and "Remove" is shared with the pin editor throughcontrolLooks.ts.Not in this PR
Testing
npx vitest run(308 tests),npx tsc -p .andnpx biome check srcpass. New tests cover, for every part description in English and Japanese:🤖 Generated with Claude Code