From f75aeab8071050e1cd89d3b333807afa165c7ada Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Tue, 9 Dec 2025 13:22:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20feat:=20beautify=20remote=20dire?= =?UTF-8?q?ctory=20picker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add folder icons (Folder, FolderUp) from lucide-react - Increase tree height from h-64 to h-80 - Increase font size from text-xs to text-sm - Add flex layout with proper spacing and truncation _Generated with mux_ --- src/browser/components/DirectoryPickerModal.tsx | 2 +- src/browser/components/DirectoryTree.tsx | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/browser/components/DirectoryPickerModal.tsx b/src/browser/components/DirectoryPickerModal.tsx index 8530985e1d..3f4c5e00eb 100644 --- a/src/browser/components/DirectoryPickerModal.tsx +++ b/src/browser/components/DirectoryPickerModal.tsx @@ -111,7 +111,7 @@ export const DirectoryPickerModal: React.FC = ({ {error &&
{error}
} -
+
= (props) => { }, [currentPath]); return ( -
+
{isLoading && !currentPath ? (
Loading directories...
) : (
    {currentPath && (
  • - ... + + ..
  • )} {!isLoading && !hasEntries ? ( -
  • No subdirectories found
  • +
  • No subdirectories found
  • ) : null} {entries.map((entry) => (
  • onNavigateTo(entry.path)} > - {entry.name} + + {entry.name}
  • ))} {isLoading && currentPath && !hasEntries ? ( -
  • Loading directories...
  • +
  • Loading directories...
  • ) : null}
)}