From a92639e391b4e66a08f9ada99f210b4f3d7beff3 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Wed, 28 Feb 2024 20:26:23 +0530 Subject: [PATCH 1/3] fix: Filter dropdown alignment issue in reports page (#9035) * fix: Filter dropdown alignment issue in reports page * fix: add hide class * chore: Clean up --------- Co-authored-by: Shivam Mishra --- app/javascript/dashboard/assets/scss/_woot.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/dashboard/assets/scss/_woot.scss b/app/javascript/dashboard/assets/scss/_woot.scss index cdc522224..5728dd51b 100644 --- a/app/javascript/dashboard/assets/scss/_woot.scss +++ b/app/javascript/dashboard/assets/scss/_woot.scss @@ -36,3 +36,7 @@ .tooltip { @apply bg-slate-900 text-white py-1 px-2 z-40 text-xs rounded-md dark:bg-slate-200 dark:text-slate-900; } + +.hide { + @apply hidden; +} From cb8f6f1a3979acd2feb070a3b510b6ef401b1e04 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Thu, 29 Feb 2024 01:52:09 +0530 Subject: [PATCH 2/3] fix: Update the reply time tooltip to avoid confusion (#9037) --- app/javascript/dashboard/i18n/locale/en/report.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/i18n/locale/en/report.json b/app/javascript/dashboard/i18n/locale/en/report.json index 0b234ec16..c9a230fab 100644 --- a/app/javascript/dashboard/i18n/locale/en/report.json +++ b/app/javascript/dashboard/i18n/locale/en/report.json @@ -37,7 +37,7 @@ }, "REPLY_TIME": { "NAME": "Customer waiting time", - "TOOLTIP_TEXT": "Waiting time is %{metricValue} (based on %{conversationCount} conversations)" + "TOOLTIP_TEXT": "Waiting time is %{metricValue} (based on %{conversationCount} replies)" } }, "DATE_RANGE_OPTIONS": { From 9c2147aced96a281edfa9fcfc68a0dd56d67caad Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:10:29 +0530 Subject: [PATCH 3/3] fix: UI breakages (#9040) - Fixes overflow of contact details in the contact side panel. - Fixes line height issue in article header. - Fixes overflow of category names in the article list. - Fixes typing indicator alignment issues --- .../assets/scss/widgets/_conversation-view.scss | 14 -------------- .../widgets/conversation/MessagesView.vue | 11 ++++++++--- .../dashboard/conversation/contact/ContactInfo.vue | 6 +++--- .../conversation/contact/ContactInfoRow.vue | 6 +++--- .../helpcenter/components/ArticleEditor.vue | 2 +- .../helpcenter/components/ArticleItem.vue | 2 +- 6 files changed, 16 insertions(+), 25 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss index ea3a9c5f1..b51cbe07d 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss @@ -222,20 +222,6 @@ @apply flex relative flex-col; } -.typing-indicator-wrap { - @apply items-center flex h-0 absolute w-full -top-8; - - .typing-indicator { - @include elegant-card; - @include round-corner; - @apply py-2 pr-4 pl-5 bg-white dark:bg-slate-700 text-slate-800 dark:text-slate-100 text-xs font-semibold my-2.5 mx-auto; - - .gif { - @apply ml-2 w-6; - } - } -} - .left .bubble .text-content { h1, h2, diff --git a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue index d6ae4d3a8..331017f96 100644 --- a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue +++ b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue @@ -76,11 +76,16 @@ class="conversation-footer" :class="{ 'modal-mask': isPopoutReplyBox }" > -
-
+