From d4ac116c152f4aa4aabdf1c6e02032e128e90645 Mon Sep 17 00:00:00 2001 From: Siddharth Kumar Sah Date: Wed, 15 Apr 2026 18:18:57 +0800 Subject: [PATCH] chore: remove broken /batch and /pipeline tool stubs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both routes showed "Tool not found" — the UI was never implemented. Pipeline functionality already lives at /automate (the Automate page). Also removed the empty Automation category and unused Workflow/FolderInput icons from icon-map.ts. --- apps/web/src/lib/icon-map.ts | 6 ++---- packages/shared/src/constants.ts | 18 ------------------ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/apps/web/src/lib/icon-map.ts b/apps/web/src/lib/icon-map.ts index 9e049918..314f73a8 100644 --- a/apps/web/src/lib/icon-map.ts +++ b/apps/web/src/lib/icon-map.ts @@ -16,7 +16,6 @@ import { FileType, Film, Focus, - FolderInput, Frame, Globe, Grid3x3, @@ -45,7 +44,6 @@ import { Undo2, UserCheck, Wand2, - Workflow, Wrench, Zap, ZoomIn, @@ -70,7 +68,7 @@ export const ICON_MAP: Record = { FileType, Film, Focus, - FolderInput, + Frame, Globe, Grid3x3, @@ -99,7 +97,7 @@ export const ICON_MAP: Record = { Undo2, UserCheck, Wand2, - Workflow, + Wrench, Zap, ZoomIn, diff --git a/packages/shared/src/constants.ts b/packages/shared/src/constants.ts index be41d601..b8ca9c7d 100644 --- a/packages/shared/src/constants.ts +++ b/packages/shared/src/constants.ts @@ -9,7 +9,6 @@ export const CATEGORIES: CategoryInfo[] = [ { id: "utilities", name: "Utilities", icon: "Wrench", color: "#6366F1" }, { id: "layout", name: "Layout & Composition", icon: "LayoutGrid", color: "#EC4899" }, { id: "format", name: "Format & Conversion", icon: "FileType", color: "#14B8A6" }, - { id: "automation", name: "Automation", icon: "Workflow", color: "#F97316" }, ]; export const TOOLS: Tool[] = [ @@ -391,23 +390,6 @@ export const TOOLS: Tool[] = [ icon: "FileOutput", route: "/pdf-to-image", }, - // Automation - { - id: "pipeline", - name: "Pipeline Builder", - description: "Chain multiple tools into a workflow", - category: "automation", - icon: "Workflow", - route: "/pipeline", - }, - { - id: "batch", - name: "Batch Processing", - description: "Apply any tool to multiple images", - category: "automation", - icon: "FolderInput", - route: "/batch", - }, ]; export const SOCIAL_MEDIA_PRESETS: SocialMediaPreset[] = [