From 34114aaf39543a981edb160678bf35e36fd7b50a Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 31 May 2022 06:56:39 -0500 Subject: [PATCH] cleaning up footer with more controls and better alignment and structure --- .../desktop/src/components/FooterControls.tsx | 131 +++++++++--------- 1 file changed, 63 insertions(+), 68 deletions(-) diff --git a/packages/desktop/src/components/FooterControls.tsx b/packages/desktop/src/components/FooterControls.tsx index 2d9a754..f7824c5 100644 --- a/packages/desktop/src/components/FooterControls.tsx +++ b/packages/desktop/src/components/FooterControls.tsx @@ -70,34 +70,37 @@ export default function FooterControls() { flex: 1, }} > - - - - - + - + - - - - - + + + + + + + + + + + + {selectedConversation && ( <> @@ -133,55 +136,47 @@ export default function FooterControls() { - - {selectedConversation.userCache?.map((conversationUser, index) => ( - + + {selectedConversation.userCache?.map((conversationUser, index) => ( + + ))} + + + + - ))} - + size="small" + > + + + + + {/* todo: not speaking mode, speaking mode, locked in mode */} + + + + + + )} - - - - - - - - - {/* todo: add a third mode which is when toggle broadcasting with lock on top right badge */} - {selectedConversation ? ( - - - - - - ) : ( - - - - - - )} -