Add some better default states for no files found, prompt to search. Add link to search in the file search compnoent in side panel

This commit is contained in:
sabaimran
2024-07-25 13:00:28 +05:30
parent 662dffea3b
commit 7482797605
2 changed files with 98 additions and 8 deletions

View File

@@ -203,7 +203,7 @@ function FilesMenu(props: FilesMenuProps) {
<Command>
<CommandInput placeholder="Find file" />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
<CommandEmpty>No results found. <Link href="/search">Try advanced search</Link>.</CommandEmpty>
<CommandGroup heading="Quick">
<CommandItem
onSelect={() => {