From d4b3bc6ce4cc32f13fc9a83f5f0b2066653b3c3f Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 16 Sep 2025 10:03:37 -0700 Subject: [PATCH] Mobile UI changes --- client/src/App.tsx | 18 ++++++++++++++---- client/src/BotManager.tsx | 11 ++++++++++- client/src/LobbyChat.tsx | 16 ++++++++++++++-- client/src/UserList.tsx | 11 ++++++++++- 4 files changed, 48 insertions(+), 8 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index b753b36..1edb65a 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -205,12 +205,22 @@ const LobbyView: React.FC = (props: LobbyProps) => { }; return ( - + {readyState !== ReadyState.OPEN || !session ? ( ) : ( <> - + AI Voice Chat Lobby: {lobbyName} @@ -226,7 +236,7 @@ const LobbyView: React.FC = (props: LobbyProps) => { You can optionally set a password to reserve this name; supply it again to takeover the name from another client. - + { }, [session, getSession]); return ( - + {!session && ( 0 ? ReadyState.CLOSED : ReadyState.CONNECTING} diff --git a/client/src/BotManager.tsx b/client/src/BotManager.tsx index b9a57ea..1da4b7e 100644 --- a/client/src/BotManager.tsx +++ b/client/src/BotManager.tsx @@ -171,7 +171,16 @@ const BotManager: React.FC = ({ lobbyId, onBotAdded, sx }) => { const providerCount = botProviders.length; return ( - + diff --git a/client/src/LobbyChat.tsx b/client/src/LobbyChat.tsx index 7fea855..b96ad6f 100644 --- a/client/src/LobbyChat.tsx +++ b/client/src/LobbyChat.tsx @@ -135,7 +135,19 @@ const LobbyChat: React.FC = ({ socketUrl, session, lobbyId }) => }; return ( - + Chat @@ -198,7 +210,7 @@ const LobbyChat: React.FC = ({ socketUrl, session, lobbyId }) => {session.name ? ( - + = (props: UserListProps) => { }, [users, sendJsonMessage]); return ( - + {users?.map((user) => (