Skip to content

docs(indicator): untag @example JSDoc fences so Storybook autodocs renders them - #4911

Merged
cixzhang merged 1 commit into
meta:mainfrom
is-jain:fix/indicator-example-fence-tags
Aug 11, 2026
Merged

cixzhang merged 1 commit into
meta:mainfrom
is-jain:fix/indicator-example-fence-tags

Conversation

@is-jain

@is-jain is-jain commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Fixes #4895

Every @example JSDoc fence in the Indicator sources was language-tagged ```tsx, which the repo's JSDoc convention (CLAUDE.md, "JSDoc Conventions") documents as silently breaking Storybook autodocs code-block rendering. This retags all 7 occurrences across the 5 files listed in the issue's evidence to plain fences, matching the house form:

  • CheckIndicator.tsx (2)
  • CheckboxIndicator.tsx (1)
  • RadioIndicator.tsx (1)
  • indicatorRegistry.ts (2)
  • useIndicator.ts (1)

Comment-only change; vitest run packages/core/src/Indicator passes (19/19).

Note on the issue's closing protocol: the full-component audit re-run and ledger update (scripts/score-ledger.mjs --push) need maintainer access, so I've left those steps to the audit owners — happy to add anything else needed here.

…nders them

Every @example fence in the Indicator sources was language-tagged ```tsx,
which the repo's JSDoc convention documents as silently breaking Storybook
autodocs code-block rendering. Retag all 7 occurrences across the 5 files
to plain ``` fences, matching the house form used by the rest of the repo.
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

@is-jain is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 11, 2026
@github-actions github-actions Bot added community Authored by a community contributor (not on the eng/design team) needs:code-review High-risk change (new package/component/API) — needs human code review before merge labels Aug 11, 2026
@github-actions github-actions Bot removed the needs:code-review High-risk change (new package/component/API) — needs human code review before merge label Aug 11, 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

Indicator (@astryxdesign/core)
Metric Before After Delta
Bundle Size (ESM) N/A N/A N/A
Lines of Code N/A 527 -
Complexity N/A High (24) -

Bundle Size Summary

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

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 11, 2026

@cixzhang cixzhang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cixzhang
cixzhang merged commit be0ba4a into meta:main Aug 11, 2026
20 of 21 checks passed
@github-actions
github-actions Bot deleted the fix/indicator-example-fence-tags branch August 12, 2026 07:28
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. community Authored by a community contributor (not on the eng/design team)

Projects

None yet

3 participants