diff --git a/app/workflows/[workflowId]/page.tsx b/app/workflows/[workflowId]/page.tsx index fa1de680..77685b8b 100644 --- a/app/workflows/[workflowId]/page.tsx +++ b/app/workflows/[workflowId]/page.tsx @@ -588,7 +588,11 @@ const WorkflowEditor = ({ params }: WorkflowPageProps) => { )} - + + {/* Desktop: Docked sidebar - now resizable */} +
+ +
)} diff --git a/components/workflow/node-config-panel.tsx b/components/workflow/node-config-panel.tsx index 1c625ad1..2bff031f 100644 --- a/components/workflow/node-config-panel.tsx +++ b/components/workflow/node-config-panel.tsx @@ -5,7 +5,6 @@ import { Eye, EyeOff, FileCode, - MenuIcon, RefreshCw, Trash2, } from "lucide-react"; @@ -47,9 +46,7 @@ import { updateNodeDataAtom, } from "@/lib/workflow-store"; import { findActionById } from "@/plugins"; -import { Panel } from "../ai-elements/panel"; import { IntegrationsDialog } from "../settings/integrations-dialog"; -import { Drawer, DrawerContent, DrawerTrigger } from "../ui/drawer"; import { IntegrationSelector } from "../ui/integration-selector"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs"; import { ActionConfig } from "./config/action-config"; @@ -143,7 +140,7 @@ const MultiSelectionPanel = ({ }; // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: Complex UI logic with multiple conditions -export const PanelInner = () => { +export const NodeConfigPanel = () => { const [selectedNodeId] = useAtom(selectedNodeAtom); const [selectedEdgeId] = useAtom(selectedEdgeAtom); const [nodes] = useAtom(nodesAtom); @@ -942,29 +939,3 @@ export const PanelInner = () => { ); }; -export const NodeConfigPanel = () => { - return ( - <> - {/* Mobile: Drawer */} -
- - - - - - - - - - -
- - {/* Desktop: Docked sidebar - now resizable */} -
- -
- - ); -}; diff --git a/components/workflow/workflow-toolbar.tsx b/components/workflow/workflow-toolbar.tsx index c21c0bee..99aee23a 100644 --- a/components/workflow/workflow-toolbar.tsx +++ b/components/workflow/workflow-toolbar.tsx @@ -49,7 +49,7 @@ import { } from "@/components/ui/dropdown-menu"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; -import { Sheet, SheetContent } from "@/components/ui/sheet"; +import { Sheet, SheetContent, SheetTitle } from "@/components/ui/sheet"; import { api, type IntegrationType } from "@/lib/api-client"; import { useSession } from "@/lib/auth-client"; import { integrationsAtom } from "@/lib/integrations-store"; @@ -89,7 +89,7 @@ import { IntegrationsDialog } from "../settings/integrations-dialog"; import { IntegrationIcon } from "../ui/integration-icon"; import { WorkflowIcon } from "../ui/workflow-icon"; import { UserMenu } from "../workflows/user-menu"; -import { PanelInner } from "./node-config-panel"; +import { NodeConfigPanel } from "./node-config-panel"; type WorkflowToolbarProps = { workflowId?: string; @@ -849,7 +849,7 @@ function ToolbarActions({ {/* Properties - Mobile Vertical (always visible) */} - +