From bd0a4f7bbef079265289e9a83f43273f489ca6f9 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Mon, 3 Nov 2025 15:42:01 -0600 Subject: wip: desktop work --- packages/desktop/src/components/prompt-input.tsx | 42 +++++++++++++----------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'packages/desktop/src/components') diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx index 9b2c10df7..3d9622cbe 100644 --- a/packages/desktop/src/components/prompt-input.tsx +++ b/packages/desktop/src/components/prompt-input.tsx @@ -72,7 +72,7 @@ export const PromptInput: Component = (props) => { }) const { flat, active, onInput, onKeyDown, refetch } = useFilteredList({ - items: local.file.search, + items: local.file.searchFilesAndDirectories, key: (x) => x, onSelect: (path) => { if (!path) return @@ -307,27 +307,29 @@ export const PromptInput: Component = (props) => {
- - {(i) => ( -
-
- -
- - {getDirectory(i)} - - {getFilename(i)} + 0} fallback={
No matching files
}> + + {(i) => ( +
+
+ +
+ + {getDirectory(i)} + + {getFilename(i)} +
+
-
-
- )} - + )} + +