diff --git a/app/javascript/dashboard/assets/scss/widgets/_woot-tables.scss b/app/javascript/dashboard/assets/scss/widgets/_woot-tables.scss index 97535bf0d..b5182bf87 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_woot-tables.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_woot-tables.scss @@ -1,6 +1,10 @@ table { @apply border-spacing-0 text-sm w-full; + +} + +.woot-table { thead { th { @apply font-semibold tracking-[1px] text-left px-2.5 uppercase text-slate-900 dark:text-slate-200; @@ -16,9 +20,7 @@ table { @apply p-2.5 text-slate-700 dark:text-slate-100; } } -} -.woot-table { tr { .show-if-hover { transition: opacity 0.2s $swift-ease-out-function; diff --git a/app/javascript/dashboard/components/widgets/BackButton.vue b/app/javascript/dashboard/components/widgets/BackButton.vue index 2528aada7..111e838cb 100644 --- a/app/javascript/dashboard/components/widgets/BackButton.vue +++ b/app/javascript/dashboard/components/widgets/BackButton.vue @@ -1,34 +1,40 @@ + + - diff --git a/app/javascript/dashboard/helper/featureHelper.js b/app/javascript/dashboard/helper/featureHelper.js index edbbf4472..fb514f806 100644 --- a/app/javascript/dashboard/helper/featureHelper.js +++ b/app/javascript/dashboard/helper/featureHelper.js @@ -1,4 +1,20 @@ +const FEATURE_HELP_URLS = { + channel_email: 'https://chwt.app/hc/email', + channel_facebook: 'https://chwt.app/hc/fb', + help_center: 'https://chwt.app/hc/help-center', + agent_bots: 'https://chwt.app/hc/agent-bots', + team_management: 'https://chwt.app/hc/teams', + labels: 'https://chwt.app/hc/labels', + custom_attributes: 'https://chwt.app/hc/custom-attributes', + canned_responses: 'https://chwt.app/hc/canned', + integrations: 'https://chwt.app/hc/integrations', + campaigns: 'https://chwt.app/hc/campaigns', + reports: 'https://chwt.app/hc/reports', + message_reply_to: 'https://chwt.app/hc/reply-to', + sla: 'https://chwt.app/hc/sla', + dashboard_apps: 'https://chwt.app/hc/dashboard-apps', +}; + export function getHelpUrlForFeature(featureName) { - const { helpUrls } = window.chatwootConfig; - return helpUrls[featureName]; + return FEATURE_HELP_URLS[featureName]; } diff --git a/app/javascript/dashboard/i18n/locale/en/integrations.json b/app/javascript/dashboard/i18n/locale/en/integrations.json index 3ad79379f..80742f881 100644 --- a/app/javascript/dashboard/i18n/locale/en/integrations.json +++ b/app/javascript/dashboard/i18n/locale/en/integrations.json @@ -172,6 +172,7 @@ "HEADER_BTN_TXT": "Add a new dashboard app", "SIDEBAR_TXT": "

Dashboard Apps

Dashboard Apps allow organizations to embed an application inside the Chatwoot dashboard to provide the context for customer support agents. This feature allows you to create an application independently and embed that inside the dashboard to provide user information, their orders, or their previous payment history.

When you embed your application using the dashboard in Chatwoot, your application will get the context of the conversation and contact as a window event. Implement a listener for the message event on your page to receive the context.

To add a new dashboard app, click on the button 'Add a new dashboard app'.

", "DESCRIPTION": "Dashboard Apps allow organizations to embed an application inside the dashboard to provide the context for customer support agents. This feature allows you to create an application independently and embed that to provide user information, their orders, or their previous payment history.", + "LEARN_MORE": "Learn more about Dashboard Apps", "LIST": { "404": "There are no dashboard apps configured on this account yet", "LOADING": "Fetching dashboard apps...", diff --git a/app/javascript/dashboard/routes/dashboard/settings/SettingsHeader.vue b/app/javascript/dashboard/routes/dashboard/settings/SettingsHeader.vue index 2cb27b463..b378d8d11 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/SettingsHeader.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/SettingsHeader.vue @@ -10,6 +10,7 @@ v-if="showBackButton" :button-label="backButtonLabel" :back-url="backUrl" + class="ml-2 mr-4" />
diff --git a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsHeader.vue b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsHeader.vue index c3933689d..5a2110a8e 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsHeader.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsHeader.vue @@ -1,6 +1,7 @@