diff --git a/web/maplefile-frontend/src/components/UIX/IconPicker/IconPicker.jsx b/web/maplefile-frontend/src/components/UIX/IconPicker/IconPicker.jsx index 2326775..094a4dc 100644 --- a/web/maplefile-frontend/src/components/UIX/IconPicker/IconPicker.jsx +++ b/web/maplefile-frontend/src/components/UIX/IconPicker/IconPicker.jsx @@ -212,7 +212,7 @@ const IconPicker = ({ value, onChange, onClose, isOpen }) => { return (
-
+
{/* Header */}

Choose Icon

diff --git a/web/maplefile-frontend/src/pages/User/FileManager/Collections/CollectionCreate.jsx b/web/maplefile-frontend/src/pages/User/FileManager/Collections/CollectionCreate.jsx index 52fe603..fc59b7a 100644 --- a/web/maplefile-frontend/src/pages/User/FileManager/Collections/CollectionCreate.jsx +++ b/web/maplefile-frontend/src/pages/User/FileManager/Collections/CollectionCreate.jsx @@ -31,7 +31,6 @@ import { Button, Alert, Card, - Radio, useUIXTheme, IconPicker, CollectionIconPreview, @@ -491,23 +490,25 @@ const CollectionCreate = () => { : "Add a custom emoji or icon to personalize your folder"}

- + {customIcon && ( - + )}
diff --git a/web/maplefile-frontend/src/pages/User/FileManager/Files/FileUpload.jsx b/web/maplefile-frontend/src/pages/User/FileManager/Files/FileUpload.jsx index c0c0bac..ffe83ad 100644 --- a/web/maplefile-frontend/src/pages/User/FileManager/Files/FileUpload.jsx +++ b/web/maplefile-frontend/src/pages/User/FileManager/Files/FileUpload.jsx @@ -773,6 +773,28 @@ const FileUpload = () => { {/* Content */}
+ {/* No Folders - Show create folder prompt instead of upload UI */} + {!preSelectedCollectionId && isCollectionsInitialized && !isLoadingCollections && availableCollections.length === 0 ? ( +
+
+ +
+

+ No folders yet +

+

+ You need to create a folder before you can upload files. Folders help you organize your encrypted files. +

+ +
+ ) : ( + <>
{/* Upload Area */}
@@ -1339,6 +1361,8 @@ const FileUpload = () => { )}
)} + + )}