Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio projects: folder-plus icon for sources (#12685)
Michael Hanc20595b2b897
diff --git a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx b/studio/frontend/src/features/rag/components/project-source-dropzone.tsxindex 726b7d285b8..e17035c4b4b 100644--- a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx+++ b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx@@ -7,9 +7,10 @@ import {registerNativeAttachmentPath,useNativeDropTarget,} from "@/features/native-intents";+import { FolderPlusIcon } from "@/lib/hugeicons-derived";import { toast } from "@/lib/toast";import { cn } from "@/lib/utils";-import { FileEmpty02Icon, FolderAddIcon } from "@hugeicons/core-free-icons";+import { FileEmpty02Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import { XIcon } from "lucide-react";import { useCallback, useEffect, useRef, useState } from "react";@@ -385,7 +386,7 @@ export function ProjectSourceDropzone({className="flex w-full cursor-pointer flex-col items-center justify-center gap-3 rounded-[22px] px-6 py-12 text-center transition-colors hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"><HugeiconsIcon- icon={FolderAddIcon}+ icon={FolderPlusIcon}strokeWidth={1.75}className="size-6 text-muted-foreground"/>@@ -438,7 +439,7 @@ export function ProjectSourceDropzone({className="flex items-center justify-center gap-2 rounded-[10px] py-2 text-ui-13 font-medium text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"><HugeiconsIcon- icon={FolderAddIcon}+ icon={FolderPlusIcon}strokeWidth={1.75}className="size-4"/>diff --git a/studio/frontend/src/features/rag/components/project-sources-panel.tsx b/studio/frontend/src/features/rag/components/project-sources-panel.tsxindex 912e1873dfd..e9e41b480e4 100644--- a/studio/frontend/src/features/rag/components/project-sources-panel.tsx+++ b/studio/frontend/src/features/rag/components/project-sources-panel.tsx@@ -4,8 +4,8 @@import { Button } from "@/components/ui/button";import { useNativeFileDrop } from "@/features/native-intents";import type { NativeIntent } from "@/features/native-intents";+import { FolderPlusIcon } from "@/lib/hugeicons-derived";import { cn } from "@/lib/utils";-import { FolderAddIcon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import { useCallback, useEffect, useRef } from "react";import {@@ -139,7 +139,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {><span className="flex size-12 items-center justify-center rounded-full bg-muted text-muted-foreground"><HugeiconsIcon- icon={FolderAddIcon}+ icon={FolderPlusIcon}strokeWidth={1.75}className="size-6"/>diff --git a/studio/frontend/src/lib/hugeicons-derived.ts b/studio/frontend/src/lib/hugeicons-derived.tsindex 859473263cb..e79c44fa0df 100644--- a/studio/frontend/src/lib/hugeicons-derived.ts+++ b/studio/frontend/src/lib/hugeicons-derived.ts@@ -36,6 +36,32 @@ export const SheetIcon: IconSvgElement = [],];+// HugeIcons' folder-plus (stroke rounded), from @hugeicons/core-free-icons 4.3.5; the 4.1 installed+// here predates it. The glyph for a project's sources.+export const FolderPlusIcon: IconSvgElement = [+ [+ "path",+ {+ d: "M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7",+ stroke: "currentColor",+ strokeLinecap: "round",+ strokeWidth: "1.5",+ key: "0",+ },+ ],+ [+ "path",+ {+ d: "M12.0028 11V17M15.0078 13.995L9.00781 13.995",+ stroke: "currentColor",+ strokeLinecap: "round",+ strokeLinejoin: "round",+ strokeWidth: "1.5",+ key: "1",+ },+ ],+];+export const StarPointedIcon: IconSvgElement = [["path",