change things

This commit is contained in:
rgrgogu
2026-08-09 17:33:21 +08:00
parent 08a0d122ea
commit 377a4d4b5e
62 changed files with 424 additions and 299 deletions
+3 -3
View File
@@ -74,7 +74,7 @@ function AssetCard({ asset, streamSrc, selected, onSelect }) {
function EmptyState({ fileType }) {
return (
<div className="flex flex-col items-center justify-center h-48 gap-2">
<p className="text-sm text-muted-foreground">No {fileType} assets found.</p>
<p className="text-sm text-muted-foreground">No {fileType} files found.</p>
</div>
);
}
@@ -210,7 +210,7 @@ export function AssetPickerSheet({ open, onOpenChange, fileType, onSelect, allow
const label = fileType
? `${fileType.charAt(0).toUpperCase()}${fileType.slice(1)}s`
: "Assets";
: "Files";
const hasActiveFilters = activeExts.size > 0;
@@ -221,7 +221,7 @@ export function AssetPickerSheet({ open, onOpenChange, fileType, onSelect, allow
{/* ── Header ── */}
<SheetHeader className="px-6 pt-6 pb-4 border-b">
<SheetTitle>Select {label}</SheetTitle>
<SheetDescription>Click an asset to attach it.</SheetDescription>
<SheetDescription>Click a file to attach it.</SheetDescription>
</SheetHeader>
{/* ── Search + Filter ── */}