From fd44067c869499fce4da4e73e80a3e346289d2b4 Mon Sep 17 00:00:00 2001 From: Joseph Hau Date: Thu, 13 Mar 2025 19:18:38 +0800 Subject: [PATCH] Fix streaming response UI issues in OutputPanel - Fix loading indicator visibility during streaming - Fix copy button not showing due to hideTitle attribute - Prevent token count reset after stream completion - Add resultTitle prop for custom panel titles --- packages/ui/src/components/OutputPanel.vue | 30 +++++++++---- packages/ui/src/components/PromptPanel.vue | 2 +- packages/ui/src/components/TestPanel.vue | 49 ++++++++++------------ packages/ui/src/styles/theme.css | 4 +- 4 files changed, 47 insertions(+), 38 deletions(-) diff --git a/packages/ui/src/components/OutputPanel.vue b/packages/ui/src/components/OutputPanel.vue index c6f154d6..3c5d567d 100644 --- a/packages/ui/src/components/OutputPanel.vue +++ b/packages/ui/src/components/OutputPanel.vue @@ -1,14 +1,17 @@