From 6e6cdb46d57451d519ee10f9279409f6f911f138 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Wed, 12 Nov 2025 23:17:36 +0800 Subject: [PATCH] feat: Enhance tooltip content and styling in AgentStreamDisplay component - Added a knowledge title display in the tooltip for improved context. - Updated the rendering logic to escape HTML attributes for safety. - Introduced a truncation function for document names to enhance readability. - Adjusted CSS styles for better visual presentation and user experience. - Improved animation timing for action pending states to create a smoother interaction. --- .../chat/components/AgentStreamDisplay.vue | 51 +++++++++++++------ 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/frontend/src/views/chat/components/AgentStreamDisplay.vue b/frontend/src/views/chat/components/AgentStreamDisplay.vue index 0eb68592..ecc71e82 100644 --- a/frontend/src/views/chat/components/AgentStreamDisplay.vue +++ b/frontend/src/views/chat/components/AgentStreamDisplay.vue @@ -179,6 +179,7 @@
{{ floatPopup.url || '' }}