Skip to content

feat(swingset): collapsible sidebar groups, split User Button and User Profile - #9498

Closed
kylemac wants to merge 1 commit into
mainfrom
kylemac/swingset-sidebar-collapse
Closed

feat(swingset): collapsible sidebar groups, split User Button and User Profile#9498
kylemac wants to merge 1 commit into
mainfrom
kylemac/swingset-sidebar-collapse

Conversation

@kylemac

@kylemac kylemac commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Reorganizes the swingset sidebar. Groups are now collapsible (Primitives, Components, Styles, and Hooks start collapsed), entries truncate to a single line with a tooltip revealing the full usage string, and a separator sets the composed-flow groups apart. The old `User` group is split into `User Button` and `User Profile`, driven by each story's `meta.group`, which moves those pages to `/user-button/` and `/user-profile/` and updates the composition-footer layer ordering and the package CLAUDE.md accordingly.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview Aug 18, 2026 10:24pm
swingset Error Error Aug 18, 2026 10:24pm

Request Review

@changeset-bot

changeset-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 29ccd39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: ee3824cd-f1b0-4d91-822f-3349baac7598

📥 Commits

Reviewing files that changed from the base of the PR and between 72ffc81 and 29ccd39.

📒 Files selected for processing (12)
  • .changeset/swingset-sidebar-collapse.md
  • packages/swingset/CLAUDE.md
  • packages/swingset/src/components/Composition.tsx
  • packages/swingset/src/components/DocsViewer.tsx
  • packages/swingset/src/components/app-sidebar.tsx
  • packages/swingset/src/lib/registry.ts
  • packages/swingset/src/stories/user-button.stories.tsx
  • packages/swingset/src/stories/user-profile-account-section.stories.tsx
  • packages/swingset/src/stories/user-profile-connected-accounts-section.stories.tsx
  • packages/swingset/src/stories/user-profile-delete-section.stories.tsx
  • packages/swingset/src/stories/user-profile-profile-panel.stories.tsx
  • packages/swingset/src/stories/user-profile-web3-wallets-section.stories.tsx
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • clerk/clerk_go (manual)
  • clerk/dashboard (manual)
  • clerk/accounts (manual)
  • clerk/backoffice (manual)
  • clerk/clerk (manual)
  • clerk/clerk-docs (manual)
  • clerk/cloudflare-workers (manual)
  • clerk/clerk-ios (auto-detected)
  • clerk/cli (auto-detected)
  • clerk/clerk-android (auto-detected)

Included review availability: 9 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.


📝 Walkthrough

Walkthrough

Swingset replaces the single User layer with User Button and User Profile groups across documentation, registry comments, and story metadata. The sidebar now uses collapsible groups, configurable default-open states, active-link matching, layer-specific usage labels, and conditional tooltips for truncated labels. An empty Changeset file was added.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to 29ccd

This PR reorganizes the sidebar and splits user-related story groups without any supplied evidence of a concrete correctness or production impact; no actionable merge-blocking risk remains beyond normal checks and review.

Possibly related PRs

Suggested reviewers: austincalvelage, alexcarpenter

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the two primary changes: collapsible Swingset sidebar groups and the split between User Button and User Profile.
Description check ✅ Passed The description directly explains the sidebar changes, User group split, route updates, and related documentation changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@kylemac kylemac closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant