Skip to content

docs: improve content and punctuation - #910

Merged
ravisuhag merged 1 commit into
mainfrom
docs/improve-content
Sep 7, 2026
Merged

docs: improve content and punctuation#910
ravisuhag merged 1 commit into
mainfrom
docs/improve-content

Conversation

@ravisuhag

Copy link
Copy Markdown
Member

A punctuation and phrasing pass over the docs site and the library's source comments.

What changed

886 em dashes across 228 files are replaced with plainer punctuation. Each one got the mark it was standing in for rather than a single blanket substitute:

  • a colon for definition lists and list introductions
  • a period where it joined two independent clauses
  • commas, or parentheses, for a parenthetical aside
  • a real conjunction where the two halves needed one
Before After
`--rs-space-5` — 16px spacing `--rs-space-5`: 16px spacing
**Accessibility first** — Every component… **Accessibility first.** Every component…
a no-op pass-through — children render… a no-op pass-through. Children render…
the Today button — wired through actionsRef — to jump back the Today button, wired through actionsRef, to jump back

One phrase, to own the state — needed when…, appeared 12 times across the component docs and now reads to own the state. Do this when… everywhere.

Nine frontmatter descriptions are rephrased rather than re-punctuated. A : inside an unquoted YAML scalar reads as a nested mapping, so those took a period or a conjunction instead.

Scope

Every occurrence inside packages/raystack was a comment or JSDoc block, so no string literal, prop, or rendered output changed. The only non-comment edits are two console.warn messages and two test names, and no test asserts on text spanning a dash.

Left in place on purpose:

  • CHANGELOG.md, a historical record of shipped releases
  • the root README, CONTRIBUTING, DEVELOPMENT and agents.md
  • the eight "no value" placeholders in the timeline stress-test stats table, where an em dash is standard table typography

Verification

  • pnpm test:apsara — 2,707 passed, 1 skipped
  • npm run build:apsara — succeeds
  • next build in apps/www — all 187 pages generate, covering every docs route
  • Biome — 4 errors and 61 warnings, identical to main; none in files this PR touches

Every changed file was checked to contain only punctuation edits: each removed line held a dash, and added and removed line counts match at 838 each.

Removes 886 em dashes across the docs site and the library source
comments. Each one is replaced by the punctuation it was standing in
for rather than by a single substitute:

- a colon for definition lists and list introductions
- a period where it joined two independent clauses
- commas, or parentheses, for a parenthetical aside
- a real conjunction where the two halves needed one

Every occurrence in the package was a comment or JSDoc, so no string
literal, prop, or rendered output changed. Two console.warn messages
and two test names are the only non-comment edits; no test asserts on
text spanning a dash.

Left in place on purpose:

- CHANGELOG.md, which is a historical record of shipped releases
- the root README, CONTRIBUTING, DEVELOPMENT and agents.md
- the eight "no value" placeholders in the timeline stress-test stats
  table, where an em dash is standard table typography
@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
apsara Ready Ready Preview Sep 7, 2026 5:35pm UTC

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 228 files, which is 128 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 9f93b72b-bf24-4cc4-809e-cea071992551

📥 Commits

Reviewing files that changed from the base of the PR and between c6f1455 and ffa2725.

📒 Files selected for processing (228)
  • apps/www/src/app/docs/[[...slug]]/page.module.css
  • apps/www/src/app/examples/page.tsx
  • apps/www/src/app/examples/timeline-stress/page.tsx
  • apps/www/src/components/dataview-demo.tsx
  • apps/www/src/components/demo/demo.tsx
  • apps/www/src/components/docs/search.tsx
  • apps/www/src/components/docs/sidebar.module.css
  • apps/www/src/components/docs/sidebar.tsx
  • apps/www/src/components/icongallery/icongallery.tsx
  • apps/www/src/components/tour-demo.tsx
  • apps/www/src/content/docs/(overview)/getting-started.mdx
  • apps/www/src/content/docs/(overview)/index.mdx
  • apps/www/src/content/docs/(overview)/styling.mdx
  • apps/www/src/content/docs/(overview)/upgrading.mdx
  • apps/www/src/content/docs/ai-elements/chat-panel/index.mdx
  • apps/www/src/content/docs/ai-elements/chat/index.mdx
  • apps/www/src/content/docs/ai-elements/message/index.mdx
  • apps/www/src/content/docs/ai-elements/prompt-input/index.mdx
  • apps/www/src/content/docs/ai-elements/reasoning/index.mdx
  • apps/www/src/content/docs/components/accordion/index.mdx
  • apps/www/src/content/docs/components/alert-dialog/index.mdx
  • apps/www/src/content/docs/components/amount/index.mdx
  • apps/www/src/content/docs/components/announcement-bar/index.mdx
  • apps/www/src/content/docs/components/breadcrumb/index.mdx
  • apps/www/src/content/docs/components/button/index.mdx
  • apps/www/src/content/docs/components/calendar/index.mdx
  • apps/www/src/content/docs/components/callout/index.mdx
  • apps/www/src/content/docs/components/checkbox/index.mdx
  • apps/www/src/content/docs/components/chip/index.mdx
  • apps/www/src/content/docs/components/code-block/index.mdx
  • apps/www/src/content/docs/components/collapsible/index.mdx
  • apps/www/src/content/docs/components/color-picker/index.mdx
  • apps/www/src/content/docs/components/combobox/index.mdx
  • apps/www/src/content/docs/components/command/index.mdx
  • apps/www/src/content/docs/components/container/index.mdx
  • apps/www/src/content/docs/components/context-menu/index.mdx
  • apps/www/src/content/docs/components/dialog/index.mdx
  • apps/www/src/content/docs/components/drawer/index.mdx
  • apps/www/src/content/docs/components/empty-state/index.mdx
  • apps/www/src/content/docs/components/field/index.mdx
  • apps/www/src/content/docs/components/filter-chip/index.mdx
  • apps/www/src/content/docs/components/flex/index.mdx
  • apps/www/src/content/docs/components/floating-actions/index.mdx
  • apps/www/src/content/docs/components/grid/index.mdx
  • apps/www/src/content/docs/components/headline/index.mdx
  • apps/www/src/content/docs/components/image/index.mdx
  • apps/www/src/content/docs/components/input/index.mdx
  • apps/www/src/content/docs/components/kbd/index.mdx
  • apps/www/src/content/docs/components/label/index.mdx
  • apps/www/src/content/docs/components/link/index.mdx
  • apps/www/src/content/docs/components/list/index.mdx
  • apps/www/src/content/docs/components/menu/index.mdx
  • apps/www/src/content/docs/components/menubar/index.mdx
  • apps/www/src/content/docs/components/meter/index.mdx
  • apps/www/src/content/docs/components/navbar/index.mdx
  • apps/www/src/content/docs/components/number-field/index.mdx
  • apps/www/src/content/docs/components/otp-field/index.mdx
  • apps/www/src/content/docs/components/popover/index.mdx
  • apps/www/src/content/docs/components/progress/index.mdx
  • apps/www/src/content/docs/components/radio/index.mdx
  • apps/www/src/content/docs/components/select/index.mdx
  • apps/www/src/content/docs/components/sidebar/index.mdx
  • apps/www/src/content/docs/components/sidepanel/index.mdx
  • apps/www/src/content/docs/components/spinner/index.mdx
  • apps/www/src/content/docs/components/switch/index.mdx
  • apps/www/src/content/docs/components/table/index.mdx
  • apps/www/src/content/docs/components/tabs/index.mdx
  • apps/www/src/content/docs/components/toast/index.mdx
  • apps/www/src/content/docs/components/toggle/index.mdx
  • apps/www/src/content/docs/components/tooltip/index.mdx
  • apps/www/src/content/docs/components/tour/index.mdx
  • apps/www/src/content/docs/dataview/index.mdx
  • apps/www/src/content/docs/dataview/list.mdx
  • apps/www/src/content/docs/dataview/timeline.mdx
  • apps/www/src/content/docs/theme/colors/index.mdx
  • apps/www/src/content/docs/theme/effects/index.mdx
  • apps/www/src/content/docs/theme/icons/index.mdx
  • apps/www/src/content/docs/theme/overview/index.mdx
  • apps/www/src/styles/base.css
  • apps/www/src/styles/surfaces.css
  • apps/www/src/styles/typeset.css
  • packages/raystack/README.md
  • packages/raystack/components/accordion/accordion-root.tsx
  • packages/raystack/components/amount/amount.tsx
  • packages/raystack/components/announcement-bar/announcement-bar.module.css
  • packages/raystack/components/calendar/__tests__/calendar.test.tsx
  • packages/raystack/components/calendar/__tests__/date-picker.test.tsx
  • packages/raystack/components/calendar/__tests__/range-picker.runtime.test.tsx
  • packages/raystack/components/calendar/__tests__/range-picker.test.tsx
  • packages/raystack/components/calendar/calendar.tsx
  • packages/raystack/components/calendar/date-picker.tsx
  • packages/raystack/components/calendar/range-picker.tsx
  • packages/raystack/components/calendar/use-picker-popover.ts
  • packages/raystack/components/callout/__tests__/callout.test.tsx
  • packages/raystack/components/callout/callout.module.css
  • packages/raystack/components/chat-panel/__tests__/chat-panel.test.tsx
  • packages/raystack/components/chat-panel/chat-panel-root.tsx
  • packages/raystack/components/chat-panel/chat-panel.module.css
  • packages/raystack/components/chat/chat-attachment.tsx
  • packages/raystack/components/chat/chat-item.tsx
  • packages/raystack/components/chat/chat-messages.tsx
  • packages/raystack/components/checkbox/checkbox.module.css
  • packages/raystack/components/color-picker/__tests__/color-picker.test.tsx
  • packages/raystack/components/color-picker/__tests__/utils.test.ts
  • packages/raystack/components/color-picker/color-picker-area.tsx
  • packages/raystack/components/color-picker/color-picker-hue.tsx
  • packages/raystack/components/color-picker/color-picker-root.tsx
  • packages/raystack/components/color-picker/color-picker.module.css
  • packages/raystack/components/color-picker/utils.ts
  • packages/raystack/components/command/command.module.css
  • packages/raystack/components/data-table/data-table.module.css
  • packages/raystack/components/data-table/hooks/useStickyGroupAnchor.tsx
  • packages/raystack/components/data-view/__tests__/data-view.test.tsx
  • packages/raystack/components/data-view/__tests__/debug.test.tsx
  • packages/raystack/components/data-view/__tests__/group-data.test.ts
  • packages/raystack/components/data-view/__tests__/helpers.ts
  • packages/raystack/components/data-view/__tests__/order-by-x.test.ts
  • packages/raystack/components/data-view/__tests__/pack-lanes.test.ts
  • packages/raystack/components/data-view/__tests__/timeline.test.tsx
  • packages/raystack/components/data-view/components/clear-filters.tsx
  • packages/raystack/components/data-view/components/display-controls.tsx
  • packages/raystack/components/data-view/components/display-properties.tsx
  • packages/raystack/components/data-view/components/filters.tsx
  • packages/raystack/components/data-view/components/list.tsx
  • packages/raystack/components/data-view/components/timeline.tsx
  • packages/raystack/components/data-view/components/toolbar.tsx
  • packages/raystack/components/data-view/components/view-switcher.tsx
  • packages/raystack/components/data-view/data-view.module.css
  • packages/raystack/components/data-view/data-view.tsx
  • packages/raystack/components/data-view/data-view.types.tsx
  • packages/raystack/components/data-view/hooks/useVirtualRows.tsx
  • packages/raystack/components/data-view/utils/index.tsx
  • packages/raystack/components/data-view/utils/order-bucket-keys.tsx
  • packages/raystack/components/data-view/utils/order-by-x.tsx
  • packages/raystack/components/data-view/utils/pack-lanes.tsx
  • packages/raystack/components/data-view/utils/time-scale.tsx
  • packages/raystack/components/drawer/drawer.module.css
  • packages/raystack/components/editor/editor.module.css
  • packages/raystack/components/editor/markup.ts
  • packages/raystack/components/editor/mention-node-view.ts
  • packages/raystack/components/editor/mention.ts
  • packages/raystack/components/editor/schema.ts
  • packages/raystack/components/editor/suggestion-menu.tsx
  • packages/raystack/components/editor/suggestion-plugin.ts
  • packages/raystack/components/editor/use-editor.ts
  • packages/raystack/components/filter-chip/__tests__/filter-chip.test.tsx
  • packages/raystack/components/filter-chip/filter-chip.tsx
  • packages/raystack/components/image/__tests__/image.test.tsx
  • packages/raystack/components/image/image.module.css
  • packages/raystack/components/image/image.tsx
  • packages/raystack/components/label/label.tsx
  • packages/raystack/components/link/link.module.css
  • packages/raystack/components/message/message-bubble.tsx
  • packages/raystack/components/meter/meter.module.css
  • packages/raystack/components/preview-card/preview-card.module.css
  • packages/raystack/components/progress/progress.module.css
  • packages/raystack/components/prompt-input/__tests__/prompt-input-editor.test.tsx
  • packages/raystack/components/prompt-input/__tests__/prompt-input-mentions.test.tsx
  • packages/raystack/components/prompt-input/__tests__/prompt-input-parity.test.tsx
  • packages/raystack/components/prompt-input/__tests__/prompt-input.test.tsx
  • packages/raystack/components/prompt-input/prompt-input-context.tsx
  • packages/raystack/components/prompt-input/prompt-input-editor.tsx
  • packages/raystack/components/prompt-input/prompt-input-mention-registry.ts
  • packages/raystack/components/prompt-input/prompt-input-mentions.tsx
  • packages/raystack/components/prompt-input/prompt-input-root.tsx
  • packages/raystack/components/prompt-input/prompt-input-textarea.tsx
  • packages/raystack/components/prompt-input/prompt-input.module.css
  • packages/raystack/components/prompt-input/use-mention-menu.ts
  • packages/raystack/components/radio/radio.module.css
  • packages/raystack/components/reasoning/reasoning.tsx
  • packages/raystack/components/scroll-area/__tests__/data-slots.test.tsx
  • packages/raystack/components/scroll-area/scroll-area.module.css
  • packages/raystack/components/select/select.module.css
  • packages/raystack/components/sidebar/__tests__/sidebar.test.tsx
  • packages/raystack/components/sidebar/sidebar-group.tsx
  • packages/raystack/components/sidebar/sidebar-header.tsx
  • packages/raystack/components/sidebar/sidebar-item.tsx
  • packages/raystack/components/sidebar/sidebar-more.tsx
  • packages/raystack/components/sidebar/sidebar-root.tsx
  • packages/raystack/components/theme-provider/__tests__/theme.test.tsx
  • packages/raystack/components/theme-provider/theme.tsx
  • packages/raystack/components/theme-provider/types.ts
  • packages/raystack/components/toast/toast.module.css
  • packages/raystack/components/toggle/toggle.module.css
  • packages/raystack/components/tooltip/tooltip.module.css
  • packages/raystack/components/tour/__tests__/tour.test.tsx
  • packages/raystack/components/tour/tour-content.tsx
  • packages/raystack/components/tour/tour-root.tsx
  • packages/raystack/components/tour/tour.module.css
  • packages/raystack/components/tour/types.ts
  • packages/raystack/figma/accordion.figma.ts
  • packages/raystack/figma/badge.figma.ts
  • packages/raystack/figma/breadcrumb-item.figma.ts
  • packages/raystack/figma/calendar.figma.ts
  • packages/raystack/figma/callout.figma.ts
  • packages/raystack/figma/chip.figma.ts
  • packages/raystack/figma/color-picker.figma.ts
  • packages/raystack/figma/command.figma.ts
  • packages/raystack/figma/dialog.figma.ts
  • packages/raystack/figma/icon-button.figma.ts
  • packages/raystack/figma/input.figma.ts
  • packages/raystack/figma/menu.figma.ts
  • packages/raystack/figma/meter.figma.ts
  • packages/raystack/figma/navbar.figma.ts
  • packages/raystack/figma/otp-field.figma.ts
  • packages/raystack/figma/preview-card.figma.ts
  • packages/raystack/figma/progress.figma.ts
  • packages/raystack/figma/radio.figma.ts
  • packages/raystack/figma/scroll-area.figma.ts
  • packages/raystack/figma/search.figma.ts
  • packages/raystack/figma/select.figma.ts
  • packages/raystack/figma/separator.figma.ts
  • packages/raystack/figma/sidebar-group.figma.ts
  • packages/raystack/figma/sidebar-item.figma.ts
  • packages/raystack/figma/switch.figma.ts
  • packages/raystack/figma/toast.figma.ts
  • packages/raystack/figma/toolbar.figma.ts
  • packages/raystack/icons/__tests__/bundle.test.ts
  • packages/raystack/icons/__tests__/create-icon.test.tsx
  • packages/raystack/icons/create-icon.tsx
  • packages/raystack/icons/icons.tsx
  • packages/raystack/icons/index.tsx
  • packages/raystack/icons/types.ts
  • packages/raystack/styles/effects.css
  • packages/raystack/styles/global.css
  • packages/raystack/styles/primitives/appearance.css
  • packages/raystack/styles/typography.css
  • packages/raystack/test-utils/data-slots.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Sep 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@raystack/apsara@910

commit: ffa2725

@ravisuhag
ravisuhag merged commit b131496 into main Sep 7, 2026
7 checks passed
@ravisuhag
ravisuhag deleted the docs/improve-content branch September 7, 2026 17:36
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