From dbba991dd3a1373b821f81a0bc10384882c16f31 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Fri, 24 May 2024 21:15:24 +0530 Subject: [PATCH] chore: send test email error message update and scrollbar improvement. (#4589) --- admin/app/ai/page.tsx | 6 +++--- admin/app/authentication/page.tsx | 6 +++--- admin/app/email/page.tsx | 6 +++--- admin/app/email/test-email-modal.tsx | 2 +- admin/app/general/page.tsx | 6 +++--- admin/app/image/page.tsx | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/admin/app/ai/page.tsx b/admin/app/ai/page.tsx index 0979bbabe..a54ce6d8c 100644 --- a/admin/app/ai/page.tsx +++ b/admin/app/ai/page.tsx @@ -19,14 +19,14 @@ const InstanceAIPage = observer(() => { return ( <> -
-
+
+
AI features for all your workspaces
Configure your AI API credentials so Plane AI features are turned on for all your workspaces.
-
+
{formattedConfig ? ( ) : ( diff --git a/admin/app/authentication/page.tsx b/admin/app/authentication/page.tsx index 25be147ca..d1e6fb0ba 100644 --- a/admin/app/authentication/page.tsx +++ b/admin/app/authentication/page.tsx @@ -119,14 +119,14 @@ const InstanceAuthenticationPage = observer(() => { return ( <> -
-
+
+
Manage authentication for your instance
Configure authentication modes for your team and restrict sign ups to be invite only.
-
+
{formattedConfig ? (
Authentication modes
diff --git a/admin/app/email/page.tsx b/admin/app/email/page.tsx index de776b175..198020d4d 100644 --- a/admin/app/email/page.tsx +++ b/admin/app/email/page.tsx @@ -19,8 +19,8 @@ const InstanceEmailPage = observer(() => { return ( <> -
-
+
+
Secure emails from your own instance
Plane can send useful emails to you and your users from your own instance without talking to the Internet. @@ -30,7 +30,7 @@ const InstanceEmailPage = observer(() => {
-
+
{formattedConfig ? ( ) : ( diff --git a/admin/app/email/test-email-modal.tsx b/admin/app/email/test-email-modal.tsx index 0feea4128..6d5cb8032 100644 --- a/admin/app/email/test-email-modal.tsx +++ b/admin/app/email/test-email-modal.tsx @@ -51,7 +51,7 @@ export const SendTestEmailModal: FC = (props) => { setSendEmailStep(ESendEmailSteps.SUCCESS); }) .catch((error) => { - setError(error?.message || "Failed to send email"); + setError(error?.error || "Failed to send email"); setSendEmailStep(ESendEmailSteps.FAILED); }) .finally(() => { diff --git a/admin/app/general/page.tsx b/admin/app/general/page.tsx index bab2a94fc..5aaea9f8e 100644 --- a/admin/app/general/page.tsx +++ b/admin/app/general/page.tsx @@ -10,15 +10,15 @@ function GeneralPage() { console.log("instance", instance); return ( <> -
-
+
+
General settings
Change the name of your instance and instance admin e-mail addresses. Enable or disable telemetry in your instance.
-
+
{instance && instanceAdmins && ( )} diff --git a/admin/app/image/page.tsx b/admin/app/image/page.tsx index 5c1b838be..ceaad61f2 100644 --- a/admin/app/image/page.tsx +++ b/admin/app/image/page.tsx @@ -19,14 +19,14 @@ const InstanceImagePage = observer(() => { return ( <> -
-
+
+
Third-party image libraries
Let your users search and choose images from third-party libraries
-
+
{formattedConfig ? ( ) : (