From 7dc07c2a806d6352d2a84c333f09974d997918b0 Mon Sep 17 00:00:00 2001 From: Rafael Lopes Date: Tue, 19 May 2026 09:45:00 -0300 Subject: [PATCH] =?UTF-8?q?FEAT:=20Ajustado=20espa=C3=A7o=20delimitador=20?= =?UTF-8?q?da=20tela=20de=20chat=20e=20conversas=20ativas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chat/components/ChatConversationList.jsx | 36 ++++++++++++++- src/modules/chat/components/ChatWindow.jsx | 45 ++++++++++++++++--- src/modules/chat/hooks/useChat.js | 11 ++++- src/modules/chat/pages/ChatPage.jsx | 4 +- 4 files changed, 86 insertions(+), 10 deletions(-) diff --git a/src/modules/chat/components/ChatConversationList.jsx b/src/modules/chat/components/ChatConversationList.jsx index feda181..914ade2 100644 --- a/src/modules/chat/components/ChatConversationList.jsx +++ b/src/modules/chat/components/ChatConversationList.jsx @@ -23,6 +23,29 @@ function ChannelBadge({ channel }) { ); } +function PresenceDot({ status }) { + const color = + status === 'online' + ? '#16a34a' + : status === 'away' + ? '#e5a22a' + : '#dc2626'; + + return ( +