diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabels.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabels.vue new file mode 100644 index 000000000..dfd4115e8 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardLabels.vue @@ -0,0 +1,95 @@ + + + + + + + + + {{ label.title }} + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreview.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreview.vue new file mode 100644 index 000000000..dfa31e100 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreview.vue @@ -0,0 +1,59 @@ + + + + + + {{ lastNonActivityMessageContent }} + + + + + + {{ unreadMessagesCount }} + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreviewWithMeta.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreviewWithMeta.vue new file mode 100644 index 000000000..374da1f88 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardMessagePreviewWithMeta.vue @@ -0,0 +1,86 @@ + + + + + + + {{ lastNonActivityMessageContent }} + + + + + {{ unreadMessagesCount }} + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardPriorityIcon.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardPriorityIcon.vue new file mode 100644 index 000000000..d51764ef5 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/CardPriorityIcon.vue @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.story.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.story.vue new file mode 100644 index 000000000..a71ab24d7 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.story.vue @@ -0,0 +1,477 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.vue new file mode 100644 index 000000000..d99234a27 --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/ConversationCard.vue @@ -0,0 +1,102 @@ + + + + + + + + + {{ currentContactName }} + + + + + + + + {{ lastActivityAt }} + + + + + + + + diff --git a/app/javascript/dashboard/components-next/Conversation/ConversationCard/SLACardLabel.vue b/app/javascript/dashboard/components-next/Conversation/ConversationCard/SLACardLabel.vue new file mode 100644 index 000000000..a9db5d99b --- /dev/null +++ b/app/javascript/dashboard/components-next/Conversation/ConversationCard/SLACardLabel.vue @@ -0,0 +1,90 @@ + + + + + + + + + + + + {{ `${slaStatusText}: ${slaStatus.threshold}` }} + + + diff --git a/app/javascript/dashboard/components-next/avatar/Avatar.vue b/app/javascript/dashboard/components-next/avatar/Avatar.vue index d558f030a..39614f6b3 100644 --- a/app/javascript/dashboard/components-next/avatar/Avatar.vue +++ b/app/javascript/dashboard/components-next/avatar/Avatar.vue @@ -1,6 +1,9 @@ - - + + + + + + - - {{ initials }} - + + + + + + + + {{ initials }} + + + + + + + { app.use(store); app.use(i18n); + app.directive('resize', vResizeObserver); });
+ {{ lastNonActivityMessageContent }} +