Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
243c8a1
Add reverification hook, model and controller
Ephem Sep 1, 2026
b917f5f
Move Reverification block into /features
Ephem Sep 1, 2026
4c63d6d
Wire up view to controller
Ephem Sep 1, 2026
5f51d9c
Move Reverification components into /panels
Ephem Sep 1, 2026
6329b6b
Handle incompatible model action calls explicitly
Ephem Sep 7, 2026
8a39745
Tweak
Ephem Sep 7, 2026
a12455a
Additional hardening
Ephem Sep 7, 2026
2ec6563
Fix import order
Ephem Sep 7, 2026
8626006
Rename setProps in useReverificationWithState
Ephem Sep 7, 2026
e7f1ed6
Fix formatting
Ephem Sep 8, 2026
27b10cc
Fix test
Ephem Sep 8, 2026
50902bf
Abort correctly after submitting
Ephem Sep 8, 2026
394dd89
Handle failed setActive
Ephem Sep 8, 2026
edef84b
Fix story
Ephem Sep 8, 2026
415bf16
Refactor verificationStatus out of the controller into the model
Ephem Sep 9, 2026
3a1c72f
Fix resend button
Ephem Sep 9, 2026
cd24101
Type improvements
Ephem Sep 9, 2026
7277830
Remove unnecessary abort
Ephem Sep 9, 2026
f1fc88f
Fix inconsistent preparing loading states
Ephem Sep 10, 2026
6baa8da
Fix resend behavior
Ephem Sep 10, 2026
b9144bf
Fix resend for real
Ephem Sep 10, 2026
cf14d33
Add timer to resend
Ephem Sep 10, 2026
f81039d
Add useMosaicSupportEmail hook
Ephem Sep 10, 2026
68b30a4
Remove explicit verifyPasskey now that attempt handles it
Ephem Sep 10, 2026
d2bb141
Tighten up prepare types
Ephem Sep 10, 2026
1f67fc3
Make onBack required
Ephem Sep 10, 2026
caf110b
Format
Ephem Sep 10, 2026
9b00fe1
Clamp timer to 30s
Ephem Sep 10, 2026
141775a
Fold resend state into preparing state
Ephem Sep 10, 2026
8f62bde
Fix infinite rerender on reset during submit
Ephem Sep 10, 2026
3438c23
Set level default to second_factor
Ephem Sep 10, 2026
efef8f3
Add extra safeguard for double-invoke
Ephem Sep 10, 2026
a4aa3a0
Fix duplicate export from rebase
Ephem Sep 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/reverification-feature-stack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
Comment thread
Ephem marked this conversation as resolved.
13 changes: 9 additions & 4 deletions packages/swingset/src/stories/reverification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ The example pauses briefly in each pending state. Enter `error` in password or b

## Usage

The controller supplies one model containing the active view, transition direction, resolved messages, form state, and event handlers. Spread that model directly into the prop-driven `Reverification` view.
The feature wrapper reads Clerk state and drives `ReverificationView`. Isolated panel stories below are for visual development only.
Comment thread
Ephem marked this conversation as resolved.

```tsx
import { Reverification } from '@clerk/ui/mosaic/blocks/reverification';

<Reverification {...reverificationModel} />;
import { Reverification } from '@clerk/ui/mosaic/features/reverification';

<Reverification
isActive
complete={() => {}}
cancel={() => {}}
Comment thread
Ephem marked this conversation as resolved.
level='first_factor'
/>;
```

## Panels
Expand Down
Loading
Loading