diff --git a/frontend/src/components/MessageInput.tsx b/frontend/src/components/MessageInput.tsx index 16696932..10ea6738 100644 --- a/frontend/src/components/MessageInput.tsx +++ b/frontend/src/components/MessageInput.tsx @@ -242,12 +242,13 @@ export default function MessageInput({ className={`flex items-center px-2 sm:px-3 py-1 sm:py-1.5 rounded-[32px] border border-[#AAAAAA] dark:border-purple-taupe bg-white dark:bg-[#1F2028] text-[12px] sm:text-[14px] text-[#5D5D5D] dark:text-bright-gray group relative ${ attachment.status !== 'completed' ? 'opacity-70' : 'opacity-100' }`} + title={attachment.fileName} > {attachment.fileName} {attachment.status === 'completed' && ( )} - + {attachment.status === 'failed' && ( )} - + {(attachment.status === 'uploading' || attachment.status === 'processing') && (
@@ -328,6 +329,7 @@ export default function MessageInput({ ref={sourceButtonRef} className="flex items-center px-2 xs:px-3 py-1 xs:py-1.5 rounded-[32px] border border-[#AAAAAA] dark:border-purple-taupe hover:bg-gray-100 dark:hover:bg-[#2C2E3C] transition-colors max-w-[130px] sm:max-w-[150px]" onClick={() => setIsSourcesPopupOpen(!isSourcesPopupOpen)} + title={selectedDocs ? selectedDocs.name : t('conversation.sources.title')} > Sources