feat: update DocumentUploadTab to use a dropdown for file and folder selection, enhancing user experience; also update upload limits and file size messages in multiple languages

This commit is contained in:
Anish Sarkar 2026-04-03 12:33:47 +05:30
parent 3833084dad
commit 388811194e
6 changed files with 80 additions and 70 deletions

View file

@ -376,11 +376,11 @@
"upload_documents": {
"title": "Upload Documents",
"subtitle": "Upload your files to make them searchable and accessible through AI-powered conversations.",
"file_size_limit": "Maximum file size: {maxMB}MB per file",
"upload_limits": "Upload files or entire folders",
"file_size_limit": "Maximum file size: 50MB per file",
"upload_limits": "Upload limit: {maxFiles} files, {maxSizeMB}MB total",
"drop_files": "Drop files or folders here",
"drag_drop": "Drag & drop files or folders here",
"or_browse": "or click to browse files and folders",
"or_browse": "or click to browse",
"browse_files": "Browse Files",
"browse_folder": "Browse Folder",
"selected_files": "Selected Files ({count})",
@ -397,7 +397,14 @@
"file_types_desc": "These file types are supported based on your current ETL service configuration.",
"file_too_large": "File Too Large",
"file_too_large_desc": "\"{name}\" exceeds the {maxMB}MB per-file limit.",
"no_supported_files_in_folder": "No supported file types found in the selected folder."
"no_supported_files_in_folder": "No supported file types found in the selected folder.",
"remaining_capacity": "{files} files, {sizeMB}MB remaining",
"file_limit_reached": "File limit reached",
"file_limit_reached_desc": "Maximum of {max} files allowed",
"max_files_exceeded": "Too many files",
"max_files_exceeded_desc": "You can upload a maximum of {max} files at once",
"max_size_exceeded": "Total size exceeded",
"max_size_exceeded_desc": "Total upload size cannot exceed {max}MB"
},
"add_webpage": {
"title": "Add Webpages for Crawling",