From 06391319368b236d1b4cebf813c7b60ced925b51 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 21 Feb 2020 13:20:41 -0800 Subject: [PATCH] General formatting for messaging + reshaping of messaging components and their structure. --- bodyshop_translations.babel | 33 +++++++- .../chat-conversation.component.jsx | 77 +++++++++++++++++++ .../chat-conversation.container.jsx | 17 ++++ .../chat-conversation.styles.scss} | 0 .../chat-overlay/chat-overlay.component.jsx | 36 +++++++++ .../chat-overlay/chat-overlay.container.jsx | 49 ++++++++++++ .../chat-window/chat-window.component.jsx | 53 ------------- .../chat-window/chat-window.container.jsx | 37 --------- client/src/pages/manage/manage.page.jsx | 19 ++--- .../src/redux/messaging/messaging.actions.js | 8 +- .../src/redux/messaging/messaging.reducer.js | 23 +++++- .../redux/messaging/messaging.selectors.js | 5 ++ client/src/redux/messaging/messaging.types.js | 6 +- client/src/redux/root.reducer.js | 2 +- client/src/translations/en_us/common.json | 5 ++ client/src/translations/es/common.json | 5 ++ client/src/translations/fr/common.json | 5 ++ 17 files changed, 273 insertions(+), 107 deletions(-) create mode 100644 client/src/components/chat-conversation/chat-conversation.component.jsx create mode 100644 client/src/components/chat-conversation/chat-conversation.container.jsx rename client/src/components/{chat-window/chat-window.styles.scss => chat-conversation/chat-conversation.styles.scss} (100%) create mode 100644 client/src/components/chat-overlay/chat-overlay.component.jsx create mode 100644 client/src/components/chat-overlay/chat-overlay.container.jsx delete mode 100644 client/src/components/chat-window/chat-window.component.jsx delete mode 100644 client/src/components/chat-window/chat-window.container.jsx diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index e64c775bd..f538d5413 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +