Skip to content

docs(i18n): backfill docsDense bestPractices for InternationalizationProvider#4323

Merged
josephfarina merged 1 commit into
mainfrom
navi/docs/dense-coverage-i18n-bullets
Jul 26, 2026
Merged

docs(i18n): backfill docsDense bestPractices for InternationalizationProvider#4323
josephfarina merged 1 commit into
mainfrom
navi/docs/dense-coverage-i18n-bullets

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

What

The English docs for InternationalizationProvider gained four usage.bestPractices bullets in #4294, but the docsDense overlay only carried usage.description and propDescriptions. The CLI loader (mergeTranslation) silently falls back to the English bullets when the overlay omits them, so astryx component InternationalizationProvider --lang dense was serving uncompressed guidance.

This adds the four dense bullets to docsDense.usage.bestPractices, matching the English count, order, and per-position guidance flag.

Validation

  • pnpm --filter @astryxdesign/core typecheck:docs passes
  • pnpm exec tsc --project packages/cli/tsconfig.template-docs.json --noEmit passes
  • node .github/scripts/api-cli-parity-test.mjs --no-baseline: 330 pass, 0 fail
  • astryx component InternationalizationProvider --lang dense renders the four dense bullets with single (required) markers

Night Watch — Doc Reviewer

…Provider

The English docs added four bestPractices bullets in #4294, but the
docsDense overlay only carried usage.description and propDescriptions.
The loader silently fell back to the English bullets, so dense output
was not compressed. Add the four dense bullets, matching English order
and guidance flags.

Found during Night Watch doc review.
@vercel

vercel Bot commented Jul 25, 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 25, 2026 9:16am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 25, 2026
github-actions Bot added a commit that referenced this pull request Jul 25, 2026
@github-actions

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

i18n
Metric Before After Delta
Bundle Size (ESM) N/A N/A N/A
Lines of Code N/A 174 -
Complexity N/A Low (2) -

Bundle Size Summary

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

Accessibility Audit

Status: No accessibility violations detected.


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

@josephfarina
josephfarina merged commit becff91 into main Jul 26, 2026
26 of 27 checks passed
@github-actions
github-actions Bot deleted the navi/docs/dense-coverage-i18n-bullets branch July 26, 2026 06:58
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