rework setup wizard into phased flow
All checks were successful
deploy / deploy (push) Successful in 3m30s

phase 1 (no admin): show only the email form
phase 2 (admin created, not logged in): "check your inbox" gate with
  "wrong email? start over" link that deletes the unconfirmed user
phase 3 (logged in via magic link): show provider + stripe steps

removes the confusing redirect to /users/log-in after account creation.
users now stay on /setup throughout the entire setup process.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-02-20 21:07:07 +00:00
parent 27f4d45416
commit b05b696681
5 changed files with 258 additions and 83 deletions

View File

@@ -740,6 +740,35 @@
padding-left: 2.5rem;
}
/* Setup: check inbox phase */
.setup-check-inbox {
text-align: center;
padding: 1rem 0;
}
.setup-inbox-icon {
color: var(--color-base-content, #171717);
margin: 0 auto 0.75rem;
}
.setup-inbox-heading {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.25rem;
}
.setup-inbox-detail {
font-size: 0.875rem;
color: color-mix(in oklch, var(--color-base-content) 60%, transparent);
margin-bottom: 1rem;
}
.setup-start-over {
font-size: 0.8125rem;
color: color-mix(in oklch, var(--color-base-content) 60%, transparent);
margin-top: 1rem;
}
.setup-hint {
font-size: 0.8125rem;
color: color-mix(in oklch, var(--color-base-content) 60%, transparent);