From 23e1cf5d42c49d2d0740a9bc015992c0c8cf0ad0 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Tue, 9 Jun 2026 10:27:47 +0800 Subject: [PATCH] Remove WorkflowPage and associated references from AppShell and Sidebar components --- frontend/src/components/layout/AppShell.tsx | 3 --- frontend/src/components/layout/Sidebar.tsx | 1 - frontend/src/components/pages/WorkflowPage.tsx | 10 ---------- 3 files changed, 14 deletions(-) delete mode 100644 frontend/src/components/pages/WorkflowPage.tsx diff --git a/frontend/src/components/layout/AppShell.tsx b/frontend/src/components/layout/AppShell.tsx index 368872f..94bd8a8 100644 --- a/frontend/src/components/layout/AppShell.tsx +++ b/frontend/src/components/layout/AppShell.tsx @@ -12,7 +12,6 @@ import { ComponentsToolsPage } from "@/components/pages/ComponentsToolsPage"; import { HistoryPage } from "@/components/pages/HistoryPage"; import { DashboardPage } from "@/components/pages/DashboardPage"; import { TestPage } from "@/components/pages/TestPage"; -import { WorkflowPage } from "@/components/pages/WorkflowPage"; import { ProfilePage } from "@/components/pages/ProfilePage"; export type NavKey = @@ -24,7 +23,6 @@ export type NavKey = | "history" | "dashboard" | "test" - | "workflow" | "profile"; @@ -53,7 +51,6 @@ export function AppShell() { {active === "history" && } {active === "dashboard" && } {active === "test" && } - {active === "workflow" && } {active === "profile" && } diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 4f57e85..c990801 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -12,7 +12,6 @@ import { Home, PlayCircle, Video, - Workflow, } from "lucide-react"; import type { NavKey } from "./AppShell"; diff --git a/frontend/src/components/pages/WorkflowPage.tsx b/frontend/src/components/pages/WorkflowPage.tsx deleted file mode 100644 index e4958fe..0000000 --- a/frontend/src/components/pages/WorkflowPage.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { PlaceholderPage } from "./PlaceholderPage"; - -export function WorkflowPage() { - return ( - - ); -}