Skip to content

docs(dense): restore bestPractices parity for useLayer#3300

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

docs(dense): restore bestPractices parity for useLayer#3300
josephfarina wants to merge 1 commit into
mainfrom
navi/docs/dense-coverage-layer-bullet

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

What

The docsDense overlay for useLayer listed 3 bestPractices while the
English docs listed 4. The missing guidance was the third English
bullet about the Popover API top layer (render inline, no portal, so it
inherits the trigger theme cascade and focus order; use as: "span" for
inline contexts). Because the loader falls back per-field, dense CLI
output silently dropped that guidance.

Added a compressed version at the matching position with guidance: true,
restoring 1:1 count and order parity. No other bullets changed.

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 (307/307)
  • CLI component tests pass (70/70)
  • astryx component useLayer --lang dense shows all 4 bestPractices, correct Do/Don't flags

Night Watch — Doc Reviewer

Found during Night Watch doc review. The docsDense overlay for useLayer
had 3 bestPractices while the English docs had 4; the guidance about the
Popover API top layer (inline render, no portal, as: span for inline
contexts) was missing, so dense CLI output silently dropped it. Added a
compressed version at the matching position with guidance: true, keeping
1:1 count and order parity.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 1, 2026
@vercel

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

Request Review

@github-actions

github-actions Bot commented Jul 1, 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 1, 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.

1 participant