From 1ad36f164f9998761096224028dc7b0864002b96 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Sun, 17 Nov 2019 13:09:10 +0530 Subject: [PATCH] [Enhancement] Create EmptyState component (#209) --- .../widgets/conversation/ConversationBox.vue | 240 +----------------- .../widgets/conversation/EmptyState.vue | 70 +++++ .../{Conversation.vue => Message.vue} | 50 +++- .../widgets/conversation/MessagesView.vue | 196 ++++++++++++++ 4 files changed, 316 insertions(+), 240 deletions(-) create mode 100644 app/javascript/dashboard/components/widgets/conversation/EmptyState.vue rename app/javascript/dashboard/components/widgets/conversation/{Conversation.vue => Message.vue} (66%) create mode 100644 app/javascript/dashboard/components/widgets/conversation/MessagesView.vue diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue index 5d93ac9fa..9f6b25ad5 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationBox.vue @@ -1,263 +1,51 @@ - diff --git a/app/javascript/dashboard/components/widgets/conversation/EmptyState.vue b/app/javascript/dashboard/components/widgets/conversation/EmptyState.vue new file mode 100644 index 000000000..d0cf98a5e --- /dev/null +++ b/app/javascript/dashboard/components/widgets/conversation/EmptyState.vue @@ -0,0 +1,70 @@ + + diff --git a/app/javascript/dashboard/components/widgets/conversation/Conversation.vue b/app/javascript/dashboard/components/widgets/conversation/Message.vue similarity index 66% rename from app/javascript/dashboard/components/widgets/conversation/Conversation.vue rename to app/javascript/dashboard/components/widgets/conversation/Message.vue index de5be0408..59283b4c1 100644 --- a/app/javascript/dashboard/components/widgets/conversation/Conversation.vue +++ b/app/javascript/dashboard/components/widgets/conversation/Message.vue @@ -1,30 +1,40 @@