mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
Speeds up project onboarding by consolidating API calls and adding prefetching: - Single PATCH endpoint for saving onboarding status + state together - Background config save on welcome step (with proper retry/error handling) - Prefetch email themes and Stripe info for upcoming steps - Suspense-based skeleton loaders instead of full-page spinners - Extracted shared types and lightweight step components <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Unified onboarding progress saving for the new project flow, persisting status plus optional onboarding state in a single update path. * **Improvements** * Onboarding wizard now derives status/state from owned project data and removes extra internal fetching/loading gates. * Added skeleton/Suspense loading for email theme and payments steps, with more reliable “final config”/completion sequencing. * Admin project data now includes onboarding state; Stripe account info uses cached retrieval. * Backend avoids source-of-truth override changes during metadata-only updates. * **Tests** * Updated onboarding wizard tests and added end-to-end coverage for updating onboarding status/state together. * **Documentation** * Added the “clickmaps” app icon to docs. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: armaan <armaan@stack-auth.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| payments | ||
| projects | ||
| api-keys.test.ts | ||
| changelog.test.ts | ||
| component-versions.test.ts | ||
| config-local-emulator.test.ts | ||
| config.test.ts | ||
| email-drafts.test.ts | ||
| email-queue-step.test.ts | ||
| email-templates-create.test.ts | ||
| email-templates.test.ts | ||
| email.test.ts | ||
| failed-emails-digest.test.ts | ||
| feedback.test.ts | ||
| local-emulator-project.test.ts | ||
| managed-email-onboarding.test.ts | ||
| mcp.test.ts | ||
| projects.test.ts | ||
| send-test-email.test.ts | ||
| sign-up-rules-stats.test.ts | ||
| sign-up-rules-test.test.ts | ||
| transactions-refund.test.ts | ||
| transactions.test.ts | ||
| wysiwyg-edit.test.ts | ||