Skip to content

feat(mosaic): order, mark and manage emails in the user profile - #9927

Closed
alexcarpenter wants to merge 1 commit into
carp/mosaic-user-profile-avatar-wireupfrom
carp/mosaic-user-profile-email-wireup
Closed

alexcarpenter wants to merge 1 commit into
carp/mosaic-user-profile-avatar-wireupfrom
carp/mosaic-user-profile-email-wireup

Conversation

@alexcarpenter

@alexcarpenter alexcarpenter commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Description

Wires the email list in the Mosaic user profile to Clerk, matching the legacy EmailsSection. First of three stacked PRs, on top of #9844.

  • Emails and phones are ordered primary first, then verified, then pending by expiry, then never started. Unverified ones get an "Unverified" badge.
  • Users can set an email as primary and remove one. Set primary is shared by the email and phone rows through useUserProfileSetPrimaryController.
  • The remove dialog warns that the address can no longer be used to sign in only when it is verified.
  • When the email attribute is immutable, users can still pick a new primary but can't remove an email.

Adding and verifying emails come next in the stack.

None of this is exported yet, so the changeset is empty.

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:

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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

@vercel

vercel Bot commented Sep 24, 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 25, 2026 3:51pm UTC
swingset Ready Ready Preview Sep 25, 2026 3:51pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9d2c22c

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

@alexcarpenter
alexcarpenter force-pushed the carp/mosaic-user-profile-email-wireup branch from b612a3f to 9d2c22c Compare September 25, 2026 15:47
@alexcarpenter alexcarpenter changed the title feat(mosaic): wire user profile emails to Clerk feat(mosaic): order, mark and manage emails in the user profile Sep 25, 2026
@alexcarpenter

Copy link
Copy Markdown
Member Author

Folded into #9937, which now covers the whole email wire-up against #9844. The commit is unchanged and still in that branch — closing to cut the stack down to two PRs, since nothing here had been reviewed separately.

This branch was successfully deployed

2 active deployments
Preview – swingset — 9d2c22c0 Deployed Sep 25, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 9d2c22c0 Deployed Sep 25, 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.

1 participant