From d5ddc9d76c571784c35247a7963dcfc2a33e8be6 Mon Sep 17 00:00:00 2001 From: "Aswin Dev P.S" Date: Thu, 23 Jun 2022 02:39:04 +0530 Subject: [PATCH] chore: Fix SMTP sentry issue (#4883) * Fix SMTP sentry issue --- .../dashboard/i18n/locale/en/inboxMgmt.json | 3 ++- .../dashboard/settings/inbox/Settings.vue | 11 ++++++++++- app/javascript/shared/helpers/Validators.js | 1 + app/models/inbox.rb | 2 +- ...remove_special_characters_from_inbox_name.rb | 17 +++++++++++++++++ db/schema.rb | 2 +- 6 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 db/migrate/20220616154502_remove_special_characters_from_inbox_name.rb diff --git a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json index 54e69c304..c705b2b41 100644 --- a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json +++ b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json @@ -30,7 +30,8 @@ "ADD": { "CHANNEL_NAME": { "LABEL": "Inbox Name", - "PLACEHOLDER": "Enter your inbox name (eg: Acme Inc)" + "PLACEHOLDER": "Enter your inbox name (eg: Acme Inc)", + "ERROR": "Please enter a valid inbox name" }, "WEBSITE_NAME": { "LABEL": "Website Name", diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue index 8c32159f2..acf6c4d74 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue @@ -30,8 +30,15 @@