From 085efd455c2601eba480c2867b39a7450dc560cb Mon Sep 17 00:00:00 2001 From: fayazara Date: Mon, 26 Dec 2022 18:04:47 +0530 Subject: [PATCH] Updated ui for conversation cards --- .../SearchResultConversationItem.vue | 43 ++++++++++++------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/search/components/SearchResultConversationItem.vue b/app/javascript/dashboard/routes/dashboard/search/components/SearchResultConversationItem.vue index 69b6092e7..1d65f492a 100644 --- a/app/javascript/dashboard/routes/dashboard/search/components/SearchResultConversationItem.vue +++ b/app/javascript/dashboard/routes/dashboard/search/components/SearchResultConversationItem.vue @@ -3,15 +3,19 @@
-

+

-

-
- - +
+ + {{ conversation.agent.name }} +
+ + Conversation Id: {{ conversation.id }} -

Conv: {{ conversation.id }}

+ + +

{{ conversation.contact.name }}

@@ -91,18 +95,25 @@ export default { .conversation-meta { display: flex; - align-items: start; + align-items: center; justify-content: space-between; - .timestamp { - color: var(--s-500); - font-size: var(--font-size-small); - } - .conversation-id { - text-align: right; - } - .inbox-name { - margin: var(--space-small) 0; + .left-column { + display: flex; + align-items: center; + .agent-details { + display: flex; + align-items: center; + margin-left: var(--space-slab); + span { + margin-left: var(--space-small); + } + } + .conversation-id { + margin-left: var(--space-slab); + color: var(--s-500); + font-size: var(--font-size-small); + } } } }