From 5f4a2392af872944378d5d082b801d995d567b24 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 10 Nov 2021 17:09:09 -0800 Subject: [PATCH] Costmetic updates & limit of conversations in subscription. --- bodyshop_translations.babel | 42 +++++++++++++++++++ .../chat-popup/chat-popup.component.jsx | 7 +++- client/src/translations/en_us/common.json | 4 +- client/src/translations/es/common.json | 4 +- client/src/translations/fr/common.json | 4 +- 5 files changed, 56 insertions(+), 5 deletions(-) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 62a2bc141..ef21a6058 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -29335,6 +29335,27 @@ + + noattachedjobs + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + @@ -29487,6 +29508,27 @@ + + recentonly + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + selectmedia false diff --git a/client/src/components/chat-popup/chat-popup.component.jsx b/client/src/components/chat-popup/chat-popup.component.jsx index dff58ef4f..be46d5771 100644 --- a/client/src/components/chat-popup/chat-popup.component.jsx +++ b/client/src/components/chat-popup/chat-popup.component.jsx @@ -1,5 +1,5 @@ -import { ShrinkOutlined } from "@ant-design/icons"; -import { Col, Row, Typography } from "antd"; +import { ShrinkOutlined, InfoCircleOutlined } from "@ant-design/icons"; +import { Col, Row, Tooltip, Typography } from "antd"; import React from "react"; import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; @@ -31,6 +31,9 @@ export function ChatPopupComponent({ {t("messaging.labels.messaging")} + + + toggleChatVisible()} diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index d7e380572..21c893e2a 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -1728,7 +1728,8 @@ "new": "New Conversation" }, "errors": { - "invalidphone": "The phone number is invalid. Unable to open conversation. " + "invalidphone": "The phone number is invalid. Unable to open conversation. ", + "noattachedjobs": "No jobs have been associated to this conversation. " }, "labels": { "archive": "Archive", @@ -1738,6 +1739,7 @@ "nojobs": "Not associated to any job.", "phonenumber": "Phone #", "presets": "Presets", + "recentonly": "Only your most recent 50 conversations will be shown here. If you are looking for an older conversation, find the related contact and click their phone number to view the conversation.", "selectmedia": "Select Media", "sentby": "Sent by {{by}} at {{time}}", "typeamessage": "Send a message...", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index f35270f2f..181d4b4bf 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -1728,7 +1728,8 @@ "new": "" }, "errors": { - "invalidphone": "" + "invalidphone": "", + "noattachedjobs": "" }, "labels": { "archive": "", @@ -1738,6 +1739,7 @@ "nojobs": "", "phonenumber": "", "presets": "", + "recentonly": "", "selectmedia": "", "sentby": "", "typeamessage": "Enviar un mensaje...", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index acd355305..8b974e494 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -1728,7 +1728,8 @@ "new": "" }, "errors": { - "invalidphone": "" + "invalidphone": "", + "noattachedjobs": "" }, "labels": { "archive": "", @@ -1738,6 +1739,7 @@ "nojobs": "", "phonenumber": "", "presets": "", + "recentonly": "", "selectmedia": "", "sentby": "", "typeamessage": "Envoyer un message...",