From 506719018be1ffa0b8c31fc6ac16edbc67d3bf37 Mon Sep 17 00:00:00 2001 From: Brendan O'Leary Date: Wed, 30 Apr 2025 11:14:52 -0400 Subject: [PATCH] Play sound only when action needed from the user (#3065) * Update sound logic to be centralized and only run when action is needed from user * Handle cases like questions and resuming --- webview-ui/src/components/chat/ChatView.tsx | 53 +++++++-------------- 1 file changed, 18 insertions(+), 35 deletions(-) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 2c4dff3423..8bd4cd51ae 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -170,6 +170,9 @@ const ChatViewComponent: React.ForwardRefRenderFunction