Skip to content

docs(dense): restore bestPractices count parity for useListFocus#3494

Open
josephfarina wants to merge 1 commit into
mainfrom
navi/docs/dense-coverage-listfocus-bullet
Open

docs(dense): restore bestPractices count parity for useListFocus#3494
josephfarina wants to merge 1 commit into
mainfrom
navi/docs/dense-coverage-listfocus-bullet

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

What

The useListFocus docsDense overlay listed 3 bestPractices where the English docs have 4. The missing bullet was the hasRovingTabIndex/hasCaretGuard guidance (guidance: true), so astryx hook useListFocus --lang dense silently dropped it. The dense translation protocol requires 1:1 count parity with matching guidance flags per position.

Added a compressed version of the missing bullet in the correct position with guidance: true. Rendered output now shows all four practices in order.

Checklist

  • pnpm --filter @astryxdesign/core typecheck:docs passes
  • npx tsc --project packages/cli/tsconfig.template-docs.json --noEmit passes
  • node .github/scripts/api-cli-parity-test.mjs --no-baseline passes (309/309)
  • Dense output rendered and re-read (4 bullets, correct order and flags)

Night Watch — Doc Reviewer

The docsDense overlay had 3 bestPractices where the English docs have 4;
the hasRovingTabIndex/hasCaretGuard guidance bullet was missing, so dense
CLI output silently dropped it. Added a compressed version in the same
position with the same guidance: true flag, keeping 1:1 parity.

Found during Night Watch doc review.
@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:18am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 3, 2026
@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