stack/apps/e2e/tests/backend/endpoints/api/v1/internal
Armaan Jain 0132ec151a
Project onboarding speedup (#1596)
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>
2026-06-23 10:59:38 -07:00
..
payments Update missing docs redirects 2026-06-03 17:14:22 -07:00
projects Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
api-keys.test.ts Update missing docs redirects 2026-06-03 17:14:22 -07:00
changelog.test.ts fix: changelog endpoint returns 502 silently without Sentry logging (#1618) 2026-06-19 15:52:56 -07:00
component-versions.test.ts dev tool indicator (#1272) 2026-04-13 17:43:03 -07:00
config-local-emulator.test.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00
config.test.ts Config errors are now more obvious 2026-06-22 23:42:17 -07:00
email-drafts.test.ts feat(hexclave): PR 2 — visible rebrand (Hexclave brand goes public) (#1481) 2026-05-26 19:18:20 -07:00
email-queue-step.test.ts Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
email-templates-create.test.ts Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
email-templates.test.ts Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
email.test.ts feat(hexclave): PR 2 — visible rebrand (Hexclave brand goes public) (#1481) 2026-05-26 19:18:20 -07:00
failed-emails-digest.test.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00
feedback.test.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00
local-emulator-project.test.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00
managed-email-onboarding.test.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
mcp.test.ts Update reminders to tell AI to prefer /ask endpoint 2026-06-16 11:41:56 -07:00
projects.test.ts Project onboarding speedup (#1596) 2026-06-23 10:59:38 -07:00
send-test-email.test.ts [Refactor][Feat] Implement Plan Limits for Hard-and-Soft Item Caps (#1215) 2026-05-04 18:25:13 -07:00
sign-up-rules-stats.test.ts Update missing docs redirects 2026-06-03 17:14:22 -07:00
sign-up-rules-test.test.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
transactions-refund.test.ts Fix flaky tests and preexisting CI failures (#1443) 2026-05-20 10:00:11 -07:00
transactions.test.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00
wysiwyg-edit.test.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00