RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix(web): always show copy button on floating chat widget replies (#18527)
euvre9c00ef103c5c
diff --git a/web/src/components/floating-chat-widget.tsx b/web/src/components/floating-chat-widget.tsxindex fac5f0deb6..53e0ce5031 100644--- a/web/src/components/floating-chat-widget.tsx+++ b/web/src/components/floating-chat-widget.tsx@@ -657,7 +657,7 @@ const FloatingChatWidget = () => {className={`flex ${message.role === MessageType.User ? 'justify-end' : 'justify-start'}`}><div- className={`group max-w-[280px] px-4 py-2 rounded-2xl ${+ className={`max-w-[280px] px-4 py-2 rounded-2xl ${message.role === MessageType.User? 'text-white rounded-br-md': 'rounded-bl-md'@@ -694,10 +694,7 @@ const FloatingChatWidget = () => {}clickDocumentButton={clickDocumentButton}/>- <div- className="flex justify-end opacity-0 transition-opacity group-hover:opacity-100"- role="toolbar"- >+ <div className="flex justify-end" role="toolbar"><CopyToClipboardtext={removeThinkSection(message.content)}className="border-0"@@ -876,7 +873,7 @@ const FloatingChatWidget = () => {className={`flex ${message.role === MessageType.User ? 'justify-end' : 'justify-start'}`}><div- className={`group max-w-[280px] px-4 py-2 rounded-2xl ${+ className={`max-w-[280px] px-4 py-2 rounded-2xl ${message.role === MessageType.User? 'text-white rounded-br-md': 'rounded-bl-md'@@ -913,10 +910,7 @@ const FloatingChatWidget = () => {}clickDocumentButton={clickDocumentButton}/>- <div- className="flex justify-end opacity-0 transition-opacity group-hover:opacity-100"- role="toolbar"- >+ <div className="flex justify-end" role="toolbar"><CopyToClipboardtext={removeThinkSection(message.content)}className="border-0"