Skip to content

feat(mosaic): refine UserButton popover width, header, and settings label - #10006

Merged
alexcarpenter merged 1 commit into
carp/mosaic-user-button-combined-settingsfrom
prestonwebdev/user-button-design-tweaks
Sep 30, 2026
Merged

alexcarpenter merged 1 commit into
carp/mosaic-user-button-combined-settingsfrom
prestonwebdev/user-button-design-tweaks

Conversation

@prestonwebdev

Copy link
Copy Markdown
Member

Description

Stacked on top of #10002 (carp/mosaic-user-button-combined-settings) — a set of small design refinements to the Mosaic UserButton, split out so they can be reviewed and merged into that PR independently if wanted.

  • Popover width → 350px. The open surface now uses a fixed 350px width (clamped to the viewport) instead of the default popover md variant (~376px).
  • Header avatar → 38px. The selected account/organization avatar in the open menu is now 38px (up from 32px). 38px maps to the shared Avatar md size, so the non-badged avatar uses it directly.
  • Header name + identifier both 14px. The identifier/subtitle line moves from 12px to 14px so it matches the name's size — the two are now distinguished only by weight (name medium, identifier regular).
  • User-led "Settings" button. In user-led mode the header settings control now renders as a labelled button with a gear icon and the word "Settings", rather than the icon-only gear. Other modes are unchanged.

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: Design refinements to the (unreleased) UserButton rework in feat(mosaic): rework UserButton #10002

…abel

- Widen the popover surface to 350px.
- Size the header avatar to 38px.
- Set the header name and identifier to the same 14px size.
- Show a labelled "Settings" button with a gear icon in user-led mode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Sep 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe2c6b

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

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Sep 30, 2026 10:27pm UTC
swingset Ready Ready Preview Sep 30, 2026 10:27pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

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

Review profile: ASSERTIVE

Plan: Advanced

Run ID: da961b05-345a-4f70-bced-e3ea3e4e8769

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

@alexcarpenter
alexcarpenter merged commit 5528630 into carp/mosaic-user-button-combined-settings Sep 30, 2026
10 checks passed
@alexcarpenter
alexcarpenter deleted the prestonwebdev/user-button-design-tweaks branch September 30, 2026 22:31

This branch was successfully deployed

2 active deployments
Preview – swingset — 6fe2c6b7 Deployed Sep 30, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 6fe2c6b7 Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants