Skip to content

feat(mosaic): show the Add passkey button pending while the passkey request runs - #10447

Closed
austincalvelage wants to merge 1 commit into
austin/contact-verify-pendingfrom
austin/passkey-add-pending
Closed

austincalvelage wants to merge 1 commit into
austin/contact-verify-pendingfrom
austin/passkey-add-pending

Conversation

@austincalvelage

Copy link
Copy Markdown
Member

Description

Stacked on #10446.

On a slow connection, clicking Add passkey greyed the button out and nothing else happened until the browser's passkey prompt appeared.

Now the button shows a spinner and is marked busy while the passkey request runs. It stops showing pending while the session verification card is open, and stays disabled until the add finishes or fails. It uses the same SubmitButton pending state as the Connect button on connected accounts.

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 Oct 27, 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 27, 2026 3:00am UTC
swingset Ready Ready Preview Oct 27, 2026 3:00am UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8832dd2

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 Oct 27, 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.

@austincalvelage

Copy link
Copy Markdown
Member Author

Leaving the Add passkey button as it is. The pending state would stay on through the browser's own passkey prompt.

This branch was successfully deployed

2 active deployments
Preview – swingset — 8832dd28 Deployed Oct 27, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 8832dd28 Deployed Oct 27, 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