stack/apps/dashboard/src/components
Mantra 998b3662a5
Enhance error handling and logging in Emailable response validation (#1292)
- Updated `validateVerifyResponse` to capture errors for invalid or
unexpected responses.
- Improved handling of malformed responses in `checkEmailWithEmailable`,
ensuring a consistent return structure.
- Refactored `getDerivedSignUpCountryCode` to log errors for non-ISO
country codes.
- Simplified country code determination logic in
`createOrUpgradeAnonymousUserWithRules`.

<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


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

* **New Features**
* Replaced country code dropdown selection with a direct text input
field for simpler data entry.
* Updated country code validation to accept any 2-letter code format,
improving flexibility.

* **Bug Fixes**
* Refined country code normalization logic across sign-up rules and user
profile pages for consistency.

* **Documentation**
* Clarified country code field messaging from "ISO code" to "2-letter
country code" terminology for better user guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-01 09:21:43 -07:00
..
assistant-ui Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
commands Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
data-table Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
design-components Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
form-fields [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
pacifica Cmd K (#1037) 2025-12-04 10:03:21 -08:00
payments Remove next-themes from dashboard 2026-02-26 14:12:17 -08:00
rule-builder Enhance error handling and logging in Emailable response validation (#1292) 2026-04-01 09:21:43 -07:00
stack-companion Replace Web3Forms with internal feedback emails (#1244) 2026-03-23 17:07:37 -07:00
ui [Refactor][Feat][Fix] Rework Email Section With New Sent Page, Better Drafts Page, and Settings Page (#1221) 2026-03-11 12:01:36 -07:00
vibe-coding Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
app-square.tsx Config sources (#1083) 2026-01-21 18:08:35 -08:00
app-store-entry.tsx [Fix] Fix Various bugs on the Explore Apps Page (#1142) 2026-02-02 17:36:26 -08:00
app-warning-modal.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
cmdk-commands.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
cmdk-search.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
code-block.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
confetti.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
copyable-text.tsx Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
country-code-select.tsx Enhance error handling and logging in Emailable response validation (#1292) 2026-04-01 09:21:43 -07:00
dev-error-notifier.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
dialog-opener.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
editable-grid.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
editable-input.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
email-preview.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
email-theme-selector.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
email-verification-setting.tsx Fix restricted user schema 2026-02-11 10:52:55 -08:00
env-keys.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
error-page.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
export-users-dialog.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
feedback-form.tsx Replace Web3Forms with internal feedback emails (#1244) 2026-03-23 17:07:37 -07:00
form-dialog.tsx Update dashboard components (Except for major 4) (#1205) 2026-03-11 00:10:34 +05:30
form-fields.tsx [Fix] [Feat] Update OAuth Sign-In and Get Token Functions to Work (#1130) 2026-01-28 02:17:27 +00:00
illustrated-info.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
inline-code.tsx Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
inline-save-discard.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
link.tsx Dashboard redesign (#1029) 2025-11-28 13:21:18 -08:00
logo-upload.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
logo.tsx Update logo 2025-03-31 13:20:35 -07:00
metadata-editor.tsx Metadata on teams detail page 2026-02-06 18:33:31 -08:00
navbar.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
permission-field.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
project-card.tsx Add onboarding status to Project model and implement related database… (#1246) 2026-03-13 12:00:40 -07:00
project-switcher.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
repeating-input.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
resizable-container.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
router.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
search-bar.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
settings.tsx [UI] - Updates all Icons to Phosphor Icons (#1066) 2025-12-22 10:43:45 -06:00
site-loading-indicator.tsx Glassy dashboard style (#411) 2025-02-03 10:03:35 -08:00
smart-form.tsx Update dashboard components (Except for major 4) (#1205) 2026-03-11 00:10:34 +05:30
smart-image.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
stack-companion.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
stepper.tsx stepper ui fix (#881) 2025-09-09 19:21:48 -07:00
style-link.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
theme-toggle.tsx Fix lint 2026-02-27 09:59:26 -08:00
user-dialog.tsx Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
user-dialogs.tsx Payments redesign (#1045) 2025-12-17 16:34:17 -08:00
version-alerter.tsx Feature/stack companion (#769) 2025-08-12 15:12:20 -05:00