diff --git a/apps/web/src/components/AssetsPane.tsx b/apps/web/src/components/AssetsPane.tsx index 92e10275..7c14b6fe 100644 --- a/apps/web/src/components/AssetsPane.tsx +++ b/apps/web/src/components/AssetsPane.tsx @@ -28,6 +28,7 @@ import { } from "lucide-react"; import { Button } from "@/components/ui/button"; +import { ButtonTooltip } from "@/components/ui/button-tooltip"; import { formatDateTime } from "@/lib/utils"; import { WORKSPACE_PAGE_TITLE_CLASSNAME } from "@/lib/workspace-ui"; import type { EdgeEverRepository } from "@/lib/repository"; @@ -219,66 +220,75 @@ export const AssetsPane = ({ onClose, repository }: AssetsPaneProps) => { {/* Toolbar (Filters, Search, Layout mode) */} -
- {/* Category Filters */} -
- {(["all", "image", "document", "other"] as const).map((type) => ( - - ))} -
- - {/* Search & Layout Toggles */} -
- {/* Search box */} -
- - setSearchQuery(e.target.value)} - className="h-8.5 w-full rounded-lg border border-slate-200 bg-slate-50/50 pl-8.5 pr-8 text-xs text-slate-800 placeholder-slate-400 transition-colors focus:border-emerald-500/50 focus:bg-white focus:outline-none focus:ring-1 focus:ring-emerald-500/20" - /> - {searchQuery && ( +
+
+ {/* Category Filters */} +
+ {(["all", "image", "document", "other"] as const).map((type) => ( - )} + ))}
- {/* Layout switches */} -
- - + {/* Search & Layout Toggles */} +
+ {/* Search box */} +
+ + setSearchQuery(e.target.value)} + className="h-9 w-full rounded-lg border border-slate-200 bg-slate-50/50 pl-9 pr-8 text-xs text-slate-800 placeholder-slate-400 transition-colors focus:border-emerald-500/50 focus:bg-white focus:outline-none focus:ring-1 focus:ring-emerald-500/20" + /> + {searchQuery && ( + + )} +
+ + {/* Layout switches */} +
+ + + + + + +