Skip to content

docs: remove em-dashes from VisuallyHidden and useTreeFocus prose#3493

Open
josephfarina wants to merge 1 commit into
mainfrom
navi/docs/slop-06
Open

docs: remove em-dashes from VisuallyHidden and useTreeFocus prose#3493
josephfarina wants to merge 1 commit into
mainfrom
navi/docs/slop-06

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

What

Two .doc.mjs files carried em-dashes in prose strings, which the AI-slop rubric (check 17, sub A1) flags. Recast each as a semicolon so the two independent clauses stay separate without an em-dash.

  • VisuallyHidden.doc.mjs: usage.description ("no styling props; the whole point...") and two bestPractices don't-entries, across all three exports (docs, docsZh, docsDense).
  • useTreeFocus.doc.mjs: one bestPractices don't-entry ("...prefer useGridFocus; those traversals differ from a tree.").

Meaning is unchanged; only punctuation was normalized. name/displayName labels and CJK punctuation were left alone.

Checklist

  • pnpm --filter @astryxdesign/core typecheck:docs passes
  • npx tsc --project packages/cli/tsconfig.template-docs.json --noEmit passes
  • Dense output rendered and re-read (no em-dashes, no duplicate (required))

Night Watch — Doc Reviewer

Recast em-dash asides as semicolons in usage and bestPractices prose
across VisuallyHidden (docs, docsZh, docsDense copies) and useTreeFocus.
Meaning unchanged; only punctuation normalized.

Found during Night Watch doc review.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 3, 2026
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jul 3, 2026 9:14am

Request Review

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.6KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant