Files
RenewCMS/docs/design/screens/pending.md
T

1.8 KiB
Raw Blame History

Pending

Route: /register/pending. API: DELETE /v1/auth/register · POST /v1/auth/logout.

Any back-office route visited by an unverified account lands here. There's no way to resend the email because the API doesn't offer one, so the note explains the way out.

Visual reference: RenewCMS Screens Auth.dc.html, groups "Pending". Frames: AppFrame.dc.html (shell, sidebar, topbar, drawer) plus the screen frame where listed in components.md.

Copy per state (generated from the board source, pass 2)

Every state below is drawn in light and dark (theme switch on the board), at 1440×900 and 390×844 (both frames sit side by side). Board: RenewCMS Screens Auth.dc.html. Copy is exact; where a cell is empty the state reuses the fixed copy.

Check your email (group "Pending", 6 states)

Route: /register/pending. API: DELETE /v1/auth/register · POST /v1/auth/logout.

Any back-office route visited by an unverified account lands here. There's no way to resend the email because the API doesn't offer one, so the note explains the way out.

# State Trigger Copy
1 Default Straight after registering, when the email is known from the form. "marta@renew.example"
2 Email unknown Arrived after logging in as an unverified user.
3 Confirm cancel "Cancel registration" opens the destructive ConfirmDialog. "marta@renew.example"
4 Cancelling DELETE in flight. The dialog can't be dismissed. "marta@renew.example"
5 Cancelled 200 → /register, with a toast. "Registration cancelled" / "You can create the owner account again."
6 Already verified (403) Verified on another device. Goes to /home; shown here as the toast over the destination. "You're verified" / "Taking you to your dashboard…" / "Your account is already verified" / "There's nothing to cancel."