Skip to content

style(copy): components copy pass - #31

Merged
Bissbert merged 2 commits into
mainfrom
style/copy-pass-components
May 12, 2026
Merged

Bissbert merged 2 commits into
mainfrom
style/copy-pass-components

Conversation

@Bissbert

Copy link
Copy Markdown
Contributor

Summary

  • Removes login/account UI labels from the admin panel (public-facing rendered text)
  • Applies British English throughout user-facing strings in components
  • Replaces all prose em-dashes with colon, semicolon, comma, or full stop
  • Removes AI tells ("comprehensive") from user-visible copy
  • Updates test assertions in RationalePanel and ScheduleBadge to match new strings

Changes by category

Login/account removal (3 strings): AdminPanel — "Admin Login" -> "Admin Access", "Login" -> "Enter", "Logout" -> "Exit"

British English (7 strings): jewelry -> jewellery (HardnessReference, 4 hits); Analyzer -> Analyser (ProportionAnalyzer heading, JSDoc, AdvancedTools title prop)

Em-dashes removed (approx. 24 occurrences across 15 files): Each replaced by the most semantically appropriate punctuation. Typographic placeholder dashes ("—" for empty values, "— skip this row —") left intact as they are null-state indicators, not prose.

AI tells (2 strings): "comprehensive" -> "detailed" (AdvancedTools), "comprehensive" -> "thorough" (PolariscopeGuide)

Test plan

  • npm run build passes cleanly (912 pages, 0 errors)
  • RationalePanel tests: updated assertions match new "Correct: here is why" / "Not quite: here is why" strings
  • ScheduleBadge tests: updated aria-label assertion matches "New, never seen before"
  • Spot-check AdminPanel renders "Admin Access" heading and "Enter" button
  • Spot-check HardnessReference table shows "jewellery" in wear column
  • Spot-check ProportionAnalyzer section heading reads "Proportion Analyser"

…ents

- AdminPanel: rename "Admin Login" / "Login" / "Logout" to "Admin Access" / "Enter" / "Exit"
- HardnessReference: jewelry -> jewellery (4 occurrences)
- ProportionAnalyzer/AdvancedTools: "Analyzer" -> "Analyser" in rendered text and JSDoc
- PolariscopeGuide, AdvancedTools: "comprehensive" -> "thorough" / "detailed"
- Em-dashes replaced with colon, semicolon, comma, or full stop in 15 components
- Matching test assertions updated in RationalePanel.test.tsx and ScheduleBadge.test.tsx
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to: https://065ea342.gemmology-dev.pages.dev

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 12, 2026 •

Copy link
Copy Markdown

Deploying gemmology-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 98e67fb
Status:🚫  Build failed.

View logs

@Bissbert
Bissbert merged commit 27a5261 into main May 12, 2026
1 of 2 checks passed
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to: https://58a153fb.gemmology-dev.pages.dev

This branch was successfully deployed

1 active deployment
gemmology-dev (Preview) — 98e67fb2 Deployed May 12, 2026 by github-actions[bot]
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