chore: fix typos and grammar in comments and docs#2446
Merged
Conversation
Dictionary-checked typo fixes (no behavior change): - e2e/readme.md: threshhold -> threshold - packages/styles/variables.css: hypen -> hyphen (comment) - polymorphicComponent.test.tsx: polymoprhic -> polymorphic (comment) - Toast/utils.ts: indicies -> indices (comment) - TwoColumnPanel.tsx: collapsable -> collapsible (comment)
Found via an LLM review pass over docs/pages prose and prop descriptions: - TooltipTabstop: keyboard-accesible -> keyboard-accessible - intro: "add include cauldron's styles" -> "include cauldron's styles"; "This can be using" -> "This can be done using" - ImpactBadge: "Badge component is designed" -> "Badge component that is designed"
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
frankensteinke
marked this pull request as ready for review
June 22, 2026 13:49
frankensteinke
enabled auto-merge (squash)
June 22, 2026 13:49
Contributor
There was a problem hiding this comment.
Pull request overview
Repository-wide spelling/grammar cleanup in developer-facing comments and documentation frontmatter/prose, with no functional changes.
Changes:
- Corrected typos in code comments across styles and React packages (e.g., “hyphen”, “polymorphic”, “indices”, “collapsible”).
- Corrected wording/grammar in documentation pages and frontmatter descriptions.
- Corrected an E2E docs typo (“threshold”) in Playwright screenshot guidance.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
packages/styles/variables.css |
Fixes a typo in the CSS variable naming-convention comment. |
packages/react/src/utils/polymorphicComponent.test.tsx |
Fixes a typo in a type-test explanatory comment. |
packages/react/src/components/TwoColumnPanel/TwoColumnPanel.tsx |
Fixes a typo in an internal behavior comment. |
packages/react/src/components/Toast/utils.ts |
Fixes a typo in a utility comment. |
e2e/readme.md |
Fixes “threshold” typo in screenshot comparison guidance. |
docs/pages/intro.mdx |
Improves grammar in setup instructions. |
docs/pages/components/TooltipTabstop.mdx |
Fixes a typo in frontmatter description (“keyboard-accessible”). |
docs/pages/components/ImpactBadge.mdx |
Adjusts frontmatter description grammar for clarity. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rheisler-deque
approved these changes
Jun 23, 2026
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
Spelling and grammar cleanup across the repo, found via a
codespelldictionary sweep plus an LLM review pass over user-facing docs prose. No behavior change, no shipped UI strings affected.Code-comment / dev-doc typos (codespell)
e2e/readme.mdpackages/styles/variables.csspackages/react/src/utils/polymorphicComponent.test.tsxpackages/react/src/components/Toast/utils.tspackages/react/src/components/TwoColumnPanel/TwoColumnPanel.tsxDocs-prose spelling / grammar (LLM review)
docs/pages/components/TooltipTabstop.mdxdocs/pages/intro.mdxdocs/pages/components/ImpactBadge.mdxVerified clean / intentionally skipped
ActionList.figma.tsx"Opitional": preserved deliberately to match the Figma layer name (per existing comment).TextEllipsis.mdx/colors.mdxdescriptions (description punctuation is inconsistent repo-wide).Deque(company),master(branch), Testing Library APIs (waitFor,focusIn),<thead>.Doc example fixes (duplicate
aria-current, "Animated Progres") are in #2445.