fix: close Didit modal on completion, show KycPendingScreen#1900
Conversation
…ting - Close Didit SDK modal immediately when onComplete fires - Show Euclid KycPendingScreen with animation while Socket.IO waits for TEE attestation - Replaces generic spinner for the 'In Review' waiting state Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (3)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c3b816a
into
feat/stitch-screens-with-provingmachine
* stitch tunnelflow screens * save wip formatting * add failure flow * stub account recovery * add tests * add spec wv-17 * prep for review * serialize * fixes * fix bug * fix dev building * fix: close Didit modal on completion, show KycPendingScreen while waiting (#1900) - Close Didit SDK modal immediately when onComplete fires - Show Euclid KycPendingScreen with animation while Socket.IO waits for TEE attestation - Replaces generic spinner for the 'In Review' waiting state Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * navigate to disclose step on restore * skip disclose confirmation screen * Update Recovery flow * Navigate to account recovery if TEE rejects it as already registered * Navigate to disclose directly if the selected document is registered * SELF-2348: Load webapp from url * update sdk-test-app * fix result from sdk * fixes? * fix build issue * fix install pipeline * carry pr feedback. fix formatting --------- Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz> Co-authored-by: Nesopie <87437291+Nesopie@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
onCompletefires, regardless of statusKycPendingScreenwhile Socket.IO waits for the TEE attestation'In Review', the SDK shows its own pending screen that blocks the UI — this fix dismisses it so our flow takes overChanges
diditProvider.ts: CallDiditSdk.shared.close()inemitOnce()before callbacksProviderLaunchScreen.tsx: Replace spinner withKycPendingScreenfor thewaitingphaseTest plan