From c20903a764d980a1ff43c462bab6f312eb550863 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Fri, 22 Aug 2025 16:36:56 +0100 Subject: [PATCH] Files placeholder --- .../public/locales/en-GB/translation.json | 1 + .../fileManager/FileSourceButtons.tsx | 10 ++--- .../tools/shared/FileStatusIndicator.tsx | 39 ++++++++++++++++--- 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index 63937bc74..6b720aadb 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -1970,6 +1970,7 @@ "dropFilesHere": "Drop files here or click to upload", "pdfFilesOnly": "PDF files only", "supportedFileTypes": "Supported file types", + "upload": "Upload", "uploadFile": "Upload File", "uploadFiles": "Upload Files", "noFilesInStorage": "No files available in storage. Upload some files first.", diff --git a/frontend/src/components/fileManager/FileSourceButtons.tsx b/frontend/src/components/fileManager/FileSourceButtons.tsx index 87496f580..d2d28e09e 100644 --- a/frontend/src/components/fileManager/FileSourceButtons.tsx +++ b/frontend/src/components/fileManager/FileSourceButtons.tsx @@ -10,7 +10,7 @@ interface FileSourceButtonsProps { horizontal?: boolean; } -const FileSourceButtons: React.FC = ({ +const FileSourceButtons: React.FC = ({ horizontal = false }) => { const { activeSource, onSourceChange, onLocalFileClick } = useFileManagerContext(); @@ -44,7 +44,7 @@ const FileSourceButtons: React.FC = ({ > {horizontal ? t('fileManager.recent', 'Recent') : t('fileManager.recent', 'Recent')} - + - +