Repository navigation
fix(mosaic): preserve OTP preparation state during navigation - #10564
austincalvelage merged 5 commits into
Conversation
🦋 Changeset detectedLatest commit: a691aef The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
470b146 to
2c24b60
Compare
2c24b60 to
bf080c2
Compare
bf080c2 to
8a828bd
Compare
8a828bd to
d8b57fb
Compare
…stack Replace the methodPicker and help states with an overlay stack in context, so navigating away from a factor never leaves preparing or verifying. Move the preparation navigation tests into the feature suite.
d8b57fb to
a691aef
Compare
Description
Opening the method picker while a verification code was being sent discarded the eventual send result. Returning with Back could hide a delivery failure and leave Resend disabled, or allow verification to submit before preparation finished.
Keep preparation active while navigating between code entry, the method picker, and help. Back preserves the send result and cooldown without sending another code. Failed delivery shows the error and allows immediate resend. Cancellation and selecting a different method discard stale results.
Clear test authentication cookies when browser test iframes unload, preventing stale cookies from causing HTTP 431 failures in subsequent test files.
Fixes CORE-4063. Reusing preparation after selecting another method is separate follow-up work in CORE-4065.
Checklist
pnpm testruns as expected for the affected flow. Feature and browser suites pass; live Chrome checks confirmed preserved failures, cooldowns, and no extra preparation requests during navigation.pnpm buildruns as expected.Type of change