From 929350c2bfba92c6bc2b1f9965b2b07ef0ec1e67 Mon Sep 17 00:00:00 2001 From: Batrachophreno Date: Mon, 13 Jul 2026 13:01:16 -0400 Subject: [PATCH] TGUI Bugfixes (#22826) Fixes https://github.com/Aurorastation/Aurora.3/issues/22672 Fixes https://github.com/Aurorastation/Aurora.3/issues/22782 changes: - bugfix: "Chat Client TGUI properly clears message field after sending message." - bugfix: "ATM TGUI better handles money input amounts not being 'finalized' internally before using withdrawal buttons." - bugfix: "Agent ID TGUI no longer spammy when updating fields." --- html/changelogs/Bat-TGUIFixes.yml | 6 +++ tgui/packages/tgui/interfaces/ATM.tsx | 41 +++++++++++++++++--- tgui/packages/tgui/interfaces/AgentID.tsx | 16 ++++---- tgui/packages/tgui/interfaces/ChatClient.tsx | 17 +++++--- 4 files changed, 62 insertions(+), 18 deletions(-) create mode 100644 html/changelogs/Bat-TGUIFixes.yml diff --git a/html/changelogs/Bat-TGUIFixes.yml b/html/changelogs/Bat-TGUIFixes.yml new file mode 100644 index 00000000000..85d1ec8c90b --- /dev/null +++ b/html/changelogs/Bat-TGUIFixes.yml @@ -0,0 +1,6 @@ +author: Batrachophrenoboocosmomachia +delete-after: True +changes: + - bugfix: "Chat Client TGUI properly clears message field after sending message." + - bugfix: "ATM TGUI better handles money input amounts not being 'finalized' internally before using withdrawal buttons." + - bugfix: "Agent ID TGUI no longer spammy when updating fields." diff --git a/tgui/packages/tgui/interfaces/ATM.tsx b/tgui/packages/tgui/interfaces/ATM.tsx index 414d6b3c6db..7c17f27cd4a 100644 --- a/tgui/packages/tgui/interfaces/ATM.tsx +++ b/tgui/packages/tgui/interfaces/ATM.tsx @@ -1,3 +1,4 @@ +import { useRef } from 'react'; import { Box, Button, @@ -49,14 +50,14 @@ export const ATM = (props) => { data.emagged ? 'Idris SeSeSelfERR#1#@2' : 'Idris Banking Interface' } buttons={ - data.authenticated_account && ( + data.authenticated_account ? (