astryx icon indicating copy to clipboard operation
astryx copied to clipboard

docs(cli): Wrap With Dividers example in CollapsibleGroup fixes #2691

Open ahfoysal opened this issue 4 months ago • 1 comments

Summary

  • Updated the Collapsible With Dividers template example to use CollapsibleGroup for consistent accordion behavior.
  • Added explicit value props and grouped the three sections under a single CollapsibleGroup type="single".
  • Kept the existing example content unchanged; this is a docs-template consistency fix.

Why this is low risk

  • Scope is isolated to one file:
    • packages/cli/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsx
  • No API changes or test updates needed (docs template rendering behavior only).
  • Aligns with the pattern used by CollapsibleShowcase and other multi-section examples.

Closes #2691

ahfoysal avatar Jul 07 '26 07:07 ahfoysal

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Jul 07 '26 07:07 vercel[bot]

Closing this in favor of #3646, which fixes the same issue (#2691) as a clean single-file change and keeps the first item open on load (defaultValue="deployment"). Two independent fixes for the same thing is a good problem to have — thank you for taking the time on it.

Separately, heads up for future PRs: this branch had picked up some unrelated changes (a Text size update + a pagination changeset) from what looks like a messy rebase base — starting a branch fresh from the latest main keeps a PR scoped to just your change and avoids that.

Please keep contributing — the good first issue and help wanted labels have lots that are open, and we appreciate you diving in. 🙏

cixzhang avatar Jul 11 '26 05:07 cixzhang