Skip to content

docs(slop): straighten em dashes in layout and RichTextEditor doc prose - #4698

Merged
josephfarina merged 2 commits into
mainfrom
navi/docs/slop-31
Aug 6, 2026
Merged

docs(slop): straighten em dashes in layout and RichTextEditor doc prose#4698
josephfarina merged 2 commits into
mainfrom
navi/docs/slop-31

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

What

Straighten three em dashes in doc prose per the AI-slop rubric (check 17, sub A1). Prose only; meaning preserved; no code, labels, or CJK punctuation touched.

  • packages/cli/assets/docs/layout.doc.dense.mjs: an anti-pattern list item used an em dash to introduce a qualification. Now a colon.
  • packages/lab/src/RichTextEditor/RichTextEditor.doc.mjs: two bestPractices descriptions used em dashes, one to introduce the new-tab link mechanism (now a colon) and one before an appositive about getExtendedIcon (now a semicolon).

Icon.doc.mjs had a fourth em dash in the same category; it is already handled in #4676, so it is not touched here.

RichTextEditor.doc.mjs is also edited by #4380, but that PR adds a tabEscapeHint prop entry in the props array, a region disjoint from these bestPractices edits, so the two do not conflict.

Checklist

  • pnpm --filter @astryxdesign/core typecheck:docs passes
  • tsc --project packages/cli/tsconfig.template-docs.json --noEmit passes
  • docOverlays.test.mjs passes (reference dense overlay unaffected)
  • astryx docs layout --lang dense renders the colon correctly
  • Prose strings only; meaning preserved

Night Watch — Doc Reviewer

An anti-pattern list item used an em dash to introduce a qualification.
Replace it with a colon.

Found during Night Watch doc review.
…ices

Two bestPractices descriptions used em dashes: one to introduce the
new-tab link mechanism, one before an appositive about getExtendedIcon.
Replace with a colon and a semicolon respectively.

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 Aug 4, 2026
@vercel

vercel Bot commented Aug 4, 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 Aug 4, 2026 9:28am

Request Review

@github-actions

github-actions Bot commented Aug 4, 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.

Modified Components

RichTextEditor (@astryxdesign/lab) · View in Storybook
Metric Before After Delta
Bundle Size (ESM) N/A N/A N/A
Lines of Code N/A 1505 -
Complexity N/A Very High (97) -

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/lab N/A 3.5KB 1.5KB

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 Aug 4, 2026
@josephfarina
josephfarina merged commit 6275d14 into main Aug 6, 2026
18 checks passed
@josephfarina
josephfarina deleted the navi/docs/slop-31 branch August 6, 2026 18:00
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