stack/apps/e2e/tests/backend/endpoints/api/v1/internal
Mantra cfa6204c2d
Replace Web3Forms with internal feedback emails (#1244)
## Summary
- replace the dashboard feedback form's Web3Forms submission with an
authenticated internal backend endpoint
- send support and feature-request notifications through Stack Auth's
native internal email pipeline
- share internal project auth headers in the dashboard and add backend
E2E coverage for support feedback

## Testing
- pnpm typecheck
- pnpm lint -- "src/components/feedback-form.tsx"
"src/components/stack-companion/feature-request-board.tsx"

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Internal feedback submission endpoint with automated internal email
notifications
* New internal email builder and sending utility; recipient list
configurable via env

* **Enhancements**
* Feedback form requires sign-in, disables submit when unauthenticated,
and tightens validation
  * Centralized header helper for authenticated internal requests
* Feature request board gates actions for signed-out users and improves
upvote/submit reliability
* Runtime retrieval/validation of the feature-tracking API key and
streamlined user handling

* **Tests**
* End-to-end tests covering internal feedback flows, validation, and
email delivery
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-03-23 17:07:37 -07:00
..
payments [Feat] Add payment methods page to dashboard (#1103) 2026-01-20 14:33:31 -08:00
projects Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
api-keys.test.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
config-local-emulator.test.ts Local emulator base (#1233) 2026-03-10 15:15:06 -07:00
config.test.ts "Require publishable client key" toggle (#1158) 2026-02-19 10:23:16 -08:00
email-drafts.test.ts Emails redesign (#1076) 2026-02-16 14:57:17 -08: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 Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
failed-emails-digest.test.ts Update email rendering code to use latest version of freestyle and to have a fallback with vercel sandbox (#1091) 2026-01-14 10:53:16 -08:00
feedback.test.ts Replace Web3Forms with internal feedback emails (#1244) 2026-03-23 17:07:37 -07:00
local-emulator-project.test.ts Local emulator base (#1233) 2026-03-10 15:15:06 -07:00
managed-email-onboarding.test.ts Managed email provider (#1222) 2026-03-09 20:23:11 -07:00
projects.test.ts Add onboarding status to Project model and implement related database… (#1246) 2026-03-13 12:00:40 -07:00
sign-up-rules-stats.test.ts Hover tooltip for signup rules 2026-03-23 12:34:23 -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 Partial refunds frontend (#1123) 2026-01-29 11:20:04 -08:00
transactions.test.ts fix product route access (#1134) 2026-01-27 18:30:14 +00:00
wysiwyg-edit.test.ts Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00