Add DNS helper modal and refactor domain handling components

- Introduced `DnsHelperModal` for guiding users on DNS configuration, including steps for adding A records and verifying configurations.
- Refactored domain handling by consolidating domain management into `handle-domain.tsx`, replacing the previous `add-domain.tsx`.
- Updated `ShowDomains` and related components to utilize the new domain handling structure, improving code organization and maintainability.
- Enhanced user experience by integrating domain validation and service selection features in the domain management interface.
This commit is contained in:
Mauricio Siu
2025-05-04 12:07:09 -06:00
parent d6f5f6e6cb
commit 4575f16be4
9 changed files with 298 additions and 946 deletions
+4 -1
View File
@@ -57,7 +57,10 @@ export const domainRouter = createTRPCRouter({
} catch (error) {
throw new TRPCError({
code: "BAD_REQUEST",
message: "Error creating the domain",
message:
error instanceof Error
? error.message
: "Error creating the domain",
cause: error,
});
}