diff --git a/frontend/src/components/workspace/artifacts/artifact-file-list.tsx b/frontend/src/components/workspace/artifacts/artifact-file-list.tsx index 4aad6301..99b2e374 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-list.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-list.tsx @@ -18,7 +18,7 @@ import { getFileIcon, getFileName, } from "@/core/utils/files"; -import { cn, truncateMiddle } from "@/lib/utils"; +import { cn } from "@/lib/utils"; import { useArtifacts } from "./context"; @@ -80,14 +80,12 @@ export function ArtifactFileList({ onClick={() => handleClick(file)} > - -
- {truncateMiddle(getFileName(file), 50)} + +
{getFileName(file)}
+
+ {getFileIcon(file, "size-6")}
-
- {getFileIcon(file, "size-6 stroke-[1.5px] stroke-[#333333]")} -
{getFileExtensionDisplayName(file)} file