From 2dd2cfeb8730c73035b02fc9cc12e776b67da9d7 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 30 May 2024 13:47:09 +0530 Subject: [PATCH] feat: enable google --- .../dashboard/i18n/locale/en/inboxMgmt.json | 9 +++- .../settings/inbox/channels/Email.vue | 3 ++ .../inbox/channels/emailChannels/Google.vue | 49 +++++++++++++++++++ 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Google.vue diff --git a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json index 5b2ffcfc1..d3f83ae64 100644 --- a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json +++ b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json @@ -368,6 +368,13 @@ "EMAIL_PLACEHOLDER": "Enter email address", "HELP": "To add your Microsoft account as a channel, you need to authenticate your Microsoft account by clicking on 'Sign in with Microsoft' ", "ERROR_MESSAGE": "There was an error connecting to Microsoft, please try again" + }, + "GOOGLE": { + "TITLE": "Google Email", + "DESCRIPTION": "Click on the Sign in with Google button to get started. You will redirected to the email sign in page. Once you accept the requested permissions, you would be redirected back to the inbox creation step.", + "SIGN_IN": "Sign in with Google", + "HELP": "To add your Google account as a channel, you need to authenticate your Google account by clicking on 'Sign in with Google' ", + "ERROR_MESSAGE": "There was an error connecting to Google, please try again" } }, "DETAILS": { @@ -739,4 +746,4 @@ "OTHER_PROVIDERS": "Other Providers" } } -} \ No newline at end of file +} diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue index 64b799939..632f188af 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue @@ -20,11 +20,13 @@ +