From 31e76632580f89afdacb43ad63a4a8e624c56c04 Mon Sep 17 00:00:00 2001 From: Pranav Date: Thu, 29 Aug 2024 11:19:32 +0530 Subject: [PATCH] feat: Update the design for the Inbox management console (#10043) This is the continuation of the design update PR. This changes the design for the inbox pages. --------- Co-authored-by: Muhsin Keloth Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> --- .../dashboard/helper/featureHelper.js | 1 + .../dashboard/i18n/locale/en/inboxMgmt.json | 15 +- .../routes/dashboard/settings/inbox/Index.vue | 352 ++++++++---------- .../settings/inbox/components/ChannelName.vue | 55 +++ .../dashboard/settings/inbox/inbox.routes.js | 32 +- 5 files changed, 244 insertions(+), 211 deletions(-) create mode 100644 app/javascript/dashboard/routes/dashboard/settings/inbox/components/ChannelName.vue diff --git a/app/javascript/dashboard/helper/featureHelper.js b/app/javascript/dashboard/helper/featureHelper.js index a7fa21616..b4d131ce4 100644 --- a/app/javascript/dashboard/helper/featureHelper.js +++ b/app/javascript/dashboard/helper/featureHelper.js @@ -9,6 +9,7 @@ const FEATURE_HELP_URLS = { custom_attributes: 'https://chwt.app/hc/custom-attributes', dashboard_apps: 'https://chwt.app/hc/dashboard-apps', help_center: 'https://chwt.app/hc/help-center', + inboxes: 'https://chwt.app/hc/inboxes', integrations: 'https://chwt.app/hc/integrations', labels: 'https://chwt.app/hc/labels', macros: 'https://chwt.app/hc/macros', diff --git a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json index eec8ccde6..5bd1b6989 100644 --- a/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json +++ b/app/javascript/dashboard/i18n/locale/en/inboxMgmt.json @@ -1,7 +1,8 @@ { "INBOX_MGMT": { "HEADER": "Inboxes", - "SIDEBAR_TXT": "

Inbox

When you connect a website or a facebook Page to Chatwoot, it is called an Inbox. You can have unlimited inboxes in your Chatwoot account.

Click on Add Inbox to connect a website or a Facebook Page.

In the Dashboard, you can see all the conversations from all your inboxes in a single place and respond to them under the `Conversations` tab.

You can also see conversations specific to an inbox by clicking on the inbox name on the left pane of the dashboard.

", + "DESCRIPTION": "A channel is the mode of communication your customer chooses to interact with you. An inbox is where you manage interactions for a specific channel. It can include communications from various sources such as email, live chat, and social media.", + "LEARN_MORE": "Learn more about inboxes", "RECONNECTION_REQUIRED": "Your inbox is disconnected. You won't receive new messages until you reauthorize it.", "CLICK_TO_RECONNECT": "Click here to reconnect.", "LIST": { @@ -745,6 +746,18 @@ "MICROSOFT": "Microsoft", "GOOGLE": "Google", "OTHER_PROVIDERS": "Other Providers" + }, + "CHANNELS": { + "MESSENGER": "Messenger", + "WEB_WIDGET": "Website", + "TWITTER_PROFILE": "Twitter", + "TWILIO_SMS": "Twilio SMS", + "WHATSAPP": "WhatsApp", + "SMS": "SMS", + "EMAIL": "Email", + "TELEGRAM": "Telegram", + "LINE": "Line", + "API": "API Channel" } } } diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue index c7c7a2a44..895d11360 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue @@ -1,219 +1,177 @@ -