Skip to content

fix(mosaic): wait for profile verification steps to be ready - #10406

Draft
austincalvelage wants to merge 5 commits into
mainfrom
austin/reverification-loading-improvements
Draft

austincalvelage wants to merge 5 commits into
mainfrom
austin/reverification-loading-improvements

Conversation

@austincalvelage

@austincalvelage austincalvelage commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Description

Keep the current User Profile step visible until the next step is ready. Email and phone entry forms and the MFA method picker remain pending during preparation, then transition directly to verification, authenticator setup, or backup codes without an intermediate loading flash. Existing Verify and Regenerate actions prepare their destination before opening its dialog.

Preparation failures stay retryable on the source screen without creating duplicate contacts. Add passkey also uses the existing button spinner while preserving its label and size.

To verify, delay preparation requests while adding an email, phone, or authenticator, or generating backup codes. The previous screen should stay visible until the next screen has its data. Retry a failed send and check that the contact is created only once.

Checklist

  • pnpm test runs as expected. The affected Chromium suites passed (222 tests), along with 66 focused unit tests.
  • pnpm build runs as expected. The Swingset build and its dependency builds passed, including typechecking. Mosaic lint and scoped formatting checks passed.
  • (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:

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b119db3

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 Oct 23, 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 Oct 23, 2026 11:12pm UTC
swingset Ready Ready Preview Oct 23, 2026 11:12pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 23, 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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@pkg-pr-new

pkg-pr-new Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10406

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10406

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10406

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10406

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10406

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10406

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10406

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10406

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10406

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10406

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10406

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10406

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10406

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10406

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10406

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10406

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10406

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10406

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10406

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10406

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10406

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10406

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10406

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10406

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10406

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10406

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10406

commit: b119db3

@austincalvelage austincalvelage changed the title fix(mosaic): keep profile actions pending until verification is ready fix(mosaic): wait for profile verification steps to be ready Oct 23, 2026

This branch was successfully deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant