diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx index 1b5fb5f528..49eb023a78 100644 --- a/studio/frontend/src/features/images/images-page.tsx +++ b/studio/frontend/src/features/images/images-page.tsx @@ -4,16 +4,22 @@ import { useCallback, useEffect, useMemo, useRef, useState, type ReactNode } from "react"; import { ArrowDown01Icon, + ArrowExpand01Icon, ArrowLeftRightIcon, ArrowReloadHorizontalIcon, CheckmarkCircle02Icon, Delete02Icon, Download01Icon, + Edit03Icon, ImageAdd02Icon, + ImageUpload01Icon, InformationCircleIcon, + MagicWand01Icon, LayoutAlignRightIcon, + PaintBrush02Icon, PencilEdit02Icon, Settings02Icon, + ZoomInAreaIcon, } from "@hugeicons/core-free-icons"; import { HugeiconsIcon } from "@hugeicons/react"; import { TestTubeOutlineIcon } from "@/lib/hugeicons-derived"; @@ -98,42 +104,55 @@ const WORKFLOW_TABS: Array<{ id: WorkflowId; label: string; requires: string | null; + icon: typeof PencilEdit02Icon; hint?: string; }> = [ - { id: "create", label: "Create", requires: null, hint: "Generate a new image from a prompt" }, + { + id: "create", + label: "Create", + requires: null, + icon: PencilEdit02Icon, + hint: "Generate a new image from a prompt", + }, { id: "transform", label: "Transform", + icon: MagicWand01Icon, requires: "img2img", hint: "Redraw an uploaded image guided by your prompt (img2img)", }, { id: "inpaint", label: "Inpaint", + icon: PaintBrush02Icon, requires: "inpaint", hint: "Paint over a region to regenerate just that area, keeping the rest", }, { id: "extend", label: "Extend", + icon: ArrowExpand01Icon, requires: "outpaint", hint: "Outpaint: grow the canvas and fill the new edges from your prompt", }, { id: "upscale", label: "Upscale", + icon: ZoomInAreaIcon, requires: "upscale", hint: "Hires fix: enlarge an uploaded image and re-detail it at higher resolution", }, { id: "reference", label: "Reference", + icon: ImageUpload01Icon, requires: "reference", hint: "Generate a new image guided by a reference image + your prompt (FLUX.2)", }, { id: "edit", label: "Edit", + icon: Edit03Icon, requires: "edit", hint: "Instruction editing: change an image with a prompt (Qwen-Image-Edit)", }, @@ -2313,7 +2332,7 @@ export function ImagesPage({ active = true }: { active?: boolean }) { /* ── Controls rail + preview canvas. Padding mirrors the other tabs (Export, Data Recipes): px-5 / sm:px-9, with a roomy bottom. pt-3 keeps the cards off the model selector row. ── */ -