Skip to content

fix: call parts components on the screen - #115

Merged
Rn86222 merged 4 commits into
mainfrom
fix/component-wording
Nov 20, 2026
Merged

Rn86222 merged 4 commits into
mainfrom
fix/component-wording

Conversation

@Rn86222

@Rn86222 Rn86222 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The screen called the same things parts (the tutorial's list heading, "Available parts", the stage texts, the loop error), components (the editor's title bar, the search box, the free mode list, "Create a new component...") and nodes (the deletion dialog, a refused connection). They are now all components, in English and Japanese.

  • Tutorial: the list heading uses the same "Components" as the editor, and the stage page says "Available components". Stage 1's first step says what a component is ("The pieces a circuit is built from are called components"), as the word is new to visitors who do not know logic circuits.
  • Input and Output: their descriptions say that the pin appears where the component is placed in another one, instead of "placed as a part".
  • Deletion dialog: says that the component is removed from the components using it, with the wires connected to it. In English, the places are joined with "and" ("in ALU and CPU").
  • Refused connection: the notice for a component's output joined to its own input says so. The editor never offers such a pin while dragging a wire, so it only shows if the store is reached otherwise.

Not in this PR

  • Renaming the free mode list's "N nodes". "Uses N components" read oddly, and the names of the input and output pins do not fit one line when there are many.
  • Renaming parts, PartDescription and the like in the code, which are not on the screen.

Testing

  • npx vitest run (308 tests), npx tsc -p . and npx biome check src pass. The tests of the loop error and the deletion dialog follow the new texts.
  • In the browser, in English and Japanese: stage 1's list heading, "Available components" and first step, and the deletion dialog of a component in use.

🤖 Generated with Claude Code

Rn86222 and others added 4 commits November 21, 2026 03:00
The screen called the same things parts (the tutorial's list heading,
"Available parts", the stage texts, the loop error), components (the
editor, the search box, the free mode list) and nodes (the free mode
list's count, the deletion dialog, a refused connection). They are now
all components, in English and Japanese.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n did, and what a component is

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed later

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7f7ce43
Status: ✅  Deploy successful!
Preview URL: https://c8028404.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev
Branch Preview URL: https://fix-component-wording.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev

View logs

@Rn86222
Rn86222 merged commit b6d8fb4 into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant