+
+
{{ title }}
-
-
+
+
{{ subTitle }}
- {{ $t('INBOX_MGMT.NOTE') }}
+ {{ $t('INBOX_MGMT.NOTE') }}
{{ note }}
-
@@ -25,11 +33,15 @@ export default {
props: {
title: {
type: String,
- required: true,
+ default: '',
},
subTitle: {
type: String,
- required: true,
+ default: '',
+ },
+ showBorder: {
+ type: Boolean,
+ default: true,
},
note: {
type: String,
@@ -38,27 +50,3 @@ export default {
},
};
-
-
diff --git a/app/javascript/dashboard/components/SidemenuIcon.vue b/app/javascript/dashboard/components/SidemenuIcon.vue
index b80d85a4a..e2811f65b 100644
--- a/app/javascript/dashboard/components/SidemenuIcon.vue
+++ b/app/javascript/dashboard/components/SidemenuIcon.vue
@@ -1,10 +1,10 @@
@@ -13,6 +13,12 @@
import { BUS_EVENTS } from 'shared/constants/busEvents';
export default {
+ props: {
+ size: {
+ type: String,
+ default: 'small',
+ },
+ },
methods: {
onMenuItemClick() {
bus.$emit(BUS_EVENTS.TOGGLE_SIDEMENU);
@@ -20,8 +26,3 @@ export default {
},
};
-
diff --git a/app/javascript/dashboard/components/app/PaymentPendingBanner.vue b/app/javascript/dashboard/components/app/PaymentPendingBanner.vue
new file mode 100644
index 000000000..91df49926
--- /dev/null
+++ b/app/javascript/dashboard/components/app/PaymentPendingBanner.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
diff --git a/app/javascript/dashboard/components/app/UpgradeBanner.vue b/app/javascript/dashboard/components/app/UpgradeBanner.vue
new file mode 100644
index 000000000..825f17807
--- /dev/null
+++ b/app/javascript/dashboard/components/app/UpgradeBanner.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
diff --git a/app/javascript/dashboard/components/base/Hotkey.vue b/app/javascript/dashboard/components/base/Hotkey.vue
new file mode 100644
index 000000000..ca45559f3
--- /dev/null
+++ b/app/javascript/dashboard/components/base/Hotkey.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
diff --git a/app/javascript/dashboard/components/buttons/FormSubmitButton.vue b/app/javascript/dashboard/components/buttons/FormSubmitButton.vue
index 1a60b3a43..fd5612001 100644
--- a/app/javascript/dashboard/components/buttons/FormSubmitButton.vue
+++ b/app/javascript/dashboard/components/buttons/FormSubmitButton.vue
@@ -8,7 +8,7 @@
>
{{ buttonText }}
-
+
@@ -40,6 +40,10 @@ export default {
type: String,
default: '',
},
+ spinnerClass: {
+ type: String,
+ default: '',
+ },
type: {
type: String,
default: 'submit',
@@ -47,7 +51,7 @@ export default {
},
computed: {
computedClass() {
- return `button nice ${this.buttonClass || ' '}`;
+ return `button nice gap-2 ${this.buttonClass || ' '}`;
},
},
methods: {
@@ -59,11 +63,9 @@ export default {
diff --git a/app/javascript/dashboard/components/buttons/ResolveAction.vue b/app/javascript/dashboard/components/buttons/ResolveAction.vue
index 81081ff53..ce672e781 100644
--- a/app/javascript/dashboard/components/buttons/ResolveAction.vue
+++ b/app/javascript/dashboard/components/buttons/ResolveAction.vue
@@ -1,5 +1,5 @@
-
+
+
+ openSnoozeModal()"
+ >
+ {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE_UNTIL') }}
+
+
-
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, null)"
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.NEXT_REPLY') }}
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, snoozeTimes.tomorrow)
- "
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.TOMORROW') }}
-
-
-
- toggleStatus(STATUS_TYPE.SNOOZED, snoozeTimes.nextWeek)
- "
- >
- {{ this.$t('CONVERSATION.RESOLVE_DROPDOWN.SNOOZE.NEXT_WEEK') }}
-
-
-
+
+
+
diff --git a/app/javascript/dashboard/components/layout/AvailabilityStatus.vue b/app/javascript/dashboard/components/layout/AvailabilityStatus.vue
index 0face7819..4f8a7f9cb 100644
--- a/app/javascript/dashboard/components/layout/AvailabilityStatus.vue
+++ b/app/javascript/dashboard/components/layout/AvailabilityStatus.vue
@@ -4,7 +4,7 @@
-
-
+
+
-
+
{{ $t('SIDEBAR.SET_AUTO_OFFLINE.TEXT') }}
@@ -138,71 +140,3 @@ export default {
},
};
-
-
diff --git a/app/javascript/dashboard/components/layout/Sidebar.vue b/app/javascript/dashboard/components/layout/Sidebar.vue
index 24b289bab..537db77fd 100644
--- a/app/javascript/dashboard/components/layout/Sidebar.vue
+++ b/app/javascript/dashboard/components/layout/Sidebar.vue
@@ -1,5 +1,5 @@
-
@@ -214,87 +213,3 @@ export default {
},
};
-
-
-
-
diff --git a/app/javascript/dashboard/components/layout/config/sidebarItems/settings.js b/app/javascript/dashboard/components/layout/config/sidebarItems/settings.js
index c0d80932d..75f09e9da 100644
--- a/app/javascript/dashboard/components/layout/config/sidebarItems/settings.js
+++ b/app/javascript/dashboard/components/layout/config/sidebarItems/settings.js
@@ -29,6 +29,7 @@ const settings = accountId => ({
'settings_inboxes_page_channel',
'settings_integrations_dashboard_apps',
'settings_integrations_integration',
+ 'settings_integrations_slack',
'settings_integrations_webhook',
'settings_integrations',
'settings_teams_add_agents',
@@ -92,7 +93,6 @@ const settings = accountId => ({
{
icon: 'automation',
label: 'AUTOMATION',
- beta: true,
hasSubMenu: false,
toState: frontendURL(`accounts/${accountId}/settings/automation/list`),
toStateName: 'automation_list',
@@ -101,7 +101,6 @@ const settings = accountId => ({
{
icon: 'bot',
label: 'AGENT_BOTS',
- beta: true,
hasSubMenu: false,
globalConfigFlag: 'csmlEditorHost',
toState: frontendURL(`accounts/${accountId}/settings/agent-bots`),
@@ -114,7 +113,6 @@ const settings = accountId => ({
hasSubMenu: false,
toState: frontendURL(`accounts/${accountId}/settings/macros`),
toStateName: 'macros_wrapper',
- beta: true,
featureFlag: FEATURE_FLAGS.MACROS,
},
{
diff --git a/app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue b/app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue
index 38761e408..ec0d986c2 100644
--- a/app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue
+++ b/app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue
@@ -1,25 +1,31 @@
{{ $t('SIDEBAR.CURRENTLY_VIEWING_ACCOUNT') }}
-
+
{{ account.name }}
-
-
- {{ $t('SIDEBAR.SWITCH') }}
-
+
+
+
+ {{ $t('SIDEBAR.SWITCH') }}
+
+
@@ -50,52 +56,41 @@ export default {
},
};
-
diff --git a/app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue b/app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue
index ad432f42a..d6cf24eb9 100644
--- a/app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue
+++ b/app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue
@@ -2,31 +2,39 @@
-
+