From 3a4738729dfb136b57432a07b9651c78e3022fad Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 20 Apr 2026 14:02:10 +0530 Subject: [PATCH 1/2] feat(v5): New expanded layout for chatlist (#13652) --- .../ConversationCard/CardAvatar.vue | 58 ++++ .../ConversationCard/CardContent.vue | 47 +++ .../ConversationCard/CardLabelsV5.vue | 175 +++++++++++ .../ConversationCard/CardStatusIcon.vue | 42 +++ .../ConversationCardExpanded.vue | 183 +++++++++++ .../ConversationCard/MessagePreview.vue | 156 ++++++++++ .../ConversationCard/UnreadBadge.vue | 28 ++ .../ConversationCard/VoiceCallStatus.vue | 69 ++++ .../Conversation/InboxName.vue | 19 ++ .../Conversation/Sla/SLACardLabel.vue | 82 +++++ .../components/ActionButtons.vue | 2 +- .../dashboard/components/ChatList.vue | 88 +----- .../dashboard/components/ConversationItem.vue | 294 ++++++++++++++---- .../dashboard/components/ConversationList.vue | 95 ++++++ .../widgets/conversation/ConversationCard.vue | 267 +++------------- app/javascript/dashboard/constants/globals.js | 1 + .../dashboard/i18n/locale/en/chatlist.json | 3 +- .../i18n/locale/en/conversation.json | 3 +- .../conversation/ContactConversations.vue | 199 +++++++++--- theme/icons.js | 51 ++- 20 files changed, 1449 insertions(+), 413 deletions(-) create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/CardAvatar.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/CardContent.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabelsV5.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/CardStatusIcon.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCardExpanded.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/MessagePreview.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/UnreadBadge.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/ConversationCard/VoiceCallStatus.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/InboxName.vue create mode 100644 app/javascript/dashboard/components-next/Conversation/Sla/SLACardLabel.vue create mode 100644 app/javascript/dashboard/components/ConversationList.vue diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardAvatar.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardAvatar.vue new file mode 100644 index 000000000..1b9b62349 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardAvatar.vue @@ -0,0 +1,58 @@ + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardContent.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardContent.vue new file mode 100644 index 000000000..77b07bcec --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardContent.vue @@ -0,0 +1,47 @@ + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabelsV5.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabelsV5.vue new file mode 100644 index 000000000..416c7ac82 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabelsV5.vue @@ -0,0 +1,175 @@ + + +