feat: adicionar Automation Center no sidebar do /development

Novo item "Automation Center" na sidebar do DevelopmentModule,
ao lado de Skills Emergentes (OpenClaw). Renderiza AutomationCenter
inline como os outros painéis.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jonas Pacheco 2026-03-26 17:18:49 -03:00
parent 41afced0bb
commit a9d22ddbd0
1 changed files with 12 additions and 1 deletions

View File

@ -26,8 +26,9 @@ import WorkflowBuilder from "./WorkflowBuilder";
import IDE from "./IDE"; import IDE from "./IDE";
import DevAgent from "@/components/lowcode/DevAgent"; import DevAgent from "@/components/lowcode/DevAgent";
import OpenClawPanel from "@/components/OpenClawPanel"; import OpenClawPanel from "@/components/OpenClawPanel";
import AutomationCenter from "./AutomationCenter";
type ActiveTool = "home" | "doctypes" | "pages" | "workflows" | "dashboards" | "reports" | "scripts" | "ide" | "agent" | "openclaw"; type ActiveTool = "home" | "doctypes" | "pages" | "workflows" | "dashboards" | "reports" | "scripts" | "ide" | "agent" | "openclaw" | "automationcenter";
interface Dashboard { interface Dashboard {
id: number; id: number;
@ -269,6 +270,15 @@ export default function DevelopmentModule() {
count: 0, count: 0,
category: "dev" category: "dev"
}, },
{
id: "automationcenter" as ActiveTool,
name: "Automation Center",
description: "Automações unificadas Central + XOS",
icon: Workflow,
color: "bg-blue-600",
count: 0,
category: "dev"
},
]; ];
const [, navigate] = useLocation(); const [, navigate] = useLocation();
@ -716,6 +726,7 @@ export default function DevelopmentModule() {
{activeTool === "ide" && <IDE />} {activeTool === "ide" && <IDE />}
{activeTool === "agent" && <DevAgent />} {activeTool === "agent" && <DevAgent />}
{activeTool === "openclaw" && <OpenClawPanel />} {activeTool === "openclaw" && <OpenClawPanel />}
{activeTool === "automationcenter" && <AutomationCenter />}
</div> </div>
<Dialog open={showNewDashboardDialog} onOpenChange={setShowNewDashboardDialog}> <Dialog open={showNewDashboardDialog} onOpenChange={setShowNewDashboardDialog}>