Repository navigation
feat(tutorial): show the table a stage asks for under its goal - #99
Merged
Merged
Conversation
The part tables now come from one TruthTableView, shared with the stage page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dress the review The goal table used to drop silently when a check gave no value for an output, while checking the circuit threw for the same mistake. Both now share one lookup. TruthTable.tsx is renamed after the component it exports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
f7ec972
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5bcace89.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-stage-goal-table.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ections Their labels were faint captions, weaker than the part names under them. They are now bold headings, and the stage title is bold to stay above them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sentence made a poor heading and wrapped mid-word in Japanese. The goal text and its table now share one "Goal" section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ading apart from the goal text 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
A visitor who knows nothing about logic has to work out what to build from the goal's sentence alone. This PR shows each stage's goal as a truth table too, which can be compared with the tables of the parts, and makes the stage's left column read as sections now that it holds several tables.
truthTableOfCheck), so it always matches what Check expects, and every stage defined with a check gets one. A stage whose pins carry more than one bit gets none.PartDescriptionintoTruthTableView, used by both the part descriptions and the stage page.Not in this PR
Testing
npx vitest run(181 tests),npx tsc -p .andnpx biome check srcpass. New tests cover:🤖 Generated with Claude Code