mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
## Summary - Add an admin-only delete endpoint and SDK method to remove managed email domains, with Resend/DNSimple cleanup and a guard against deleting domains currently in use for sending. - Add dashboard UI to remove unused managed domains (with confirmation) and improve the DNS setup step with Cloudflare detection, zone file download, and import instructions. - Add E2E coverage for delete auth, success, in-use rejection, post-switch deletion, and 404 cases. ## Test plan - [ ] Run `pnpm test run managed-email-onboarding` - [ ] In dashboard email settings, add a managed domain and verify Cloudflare hint appears when NS records point to Cloudflare - [ ] Remove an unused managed domain and confirm it disappears from the list - [ ] Verify active (in-use) managed domains cannot be deleted until email provider is switched away Made with [Cursor](https://cursor.com) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Delete managed email domains from the dashboard with a confirmation flow and success notification * Cloudflare-aware domain setup: detection banner, quick links to Cloudflare DNS, downloadable zone file, and import instructions * Admin API and admin-app method to perform managed-domain deletion * **Bug Fixes** * Deletion blocked with a clear error when a domain is actively used for sending * **Tests** * Added end-to-end coverage for managed-domain delete scenarios (success, in-use conflict, auth rejection, and 404) * **Style** * Data grid layout adjusted to prevent unintended full-height stretching across various tables <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/hexclave/stack-auth/pull/1442?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| changelog | ||
| .nojekyll | ||
| app-bg-dark.png | ||
| app-bg-light.png | ||
| convex-logo.png | ||
| github-invertocat-white.svg | ||
| github-invertocat.svg | ||
| javascript-logo.svg | ||
| logo-bright.svg | ||
| logo-full-bright.svg | ||
| logo-full.svg | ||
| logo.svg | ||
| neon-logo.png | ||
| neon.png | ||
| next-logo.svg | ||
| open-graph-image.png | ||
| python-logo.svg | ||
| react-logo.svg | ||
| storeDesc-api-keys-1.png | ||
| storeDesc-auth-1.png | ||
| storeDesc-auth-2.png | ||
| storeDesc-auth-3.png | ||
| storeDesc-auth-4.png | ||
| storeDesc-auth-5.png | ||
| storeDesc-auth-6.png | ||
| storeDesc-data-vault-1.png | ||
| storeDesc-data-vault-2.png | ||
| storeDesc-data-vault-3.png | ||
| storeDesc-data-vault-4.png | ||
| storeDesc-emails-1.png | ||
| storeDesc-emails-2.png | ||
| storeDesc-emails-3.png | ||
| storeDesc-emails-4.png | ||
| storeDesc-emails-5.png | ||
| storeDesc-emails-6.png | ||
| storeDesc-emails-7.png | ||
| storeDesc-emails-8.png | ||
| storeDesc-payments-1.png | ||
| storeDesc-payments-2.png | ||
| storeDesc-payments-3.png | ||
| storeDesc-payments-4.png | ||
| storeDesc-payments-5.png | ||
| storeDesc-payments-6.png | ||
| storeDesc-payments-7.png | ||
| storeDesc-rbac-1.png | ||
| storeDesc-rbac-2.png | ||
| storeDesc-rbac-3.png | ||
| storeDesc-rbac-4.png | ||
| storeDesc-teams-1.png | ||
| storeDesc-teams-2.png | ||
| storeDesc-teams-3.png | ||
| storeDesc-teams-4.png | ||
| storeDesc-vercel-1.png | ||
| storeDesc-vercel-2.png | ||
| storeDesc-webhooks-1.png | ||
| storeDesc-webhooks-2.png | ||
| tanstack-start-logo.png | ||
| vercel-logo-round.svg | ||
| vercel-logo.svg | ||