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:
parent
41afced0bb
commit
a9d22ddbd0
|
|
@ -26,8 +26,9 @@ import WorkflowBuilder from "./WorkflowBuilder";
|
|||
import IDE from "./IDE";
|
||||
import DevAgent from "@/components/lowcode/DevAgent";
|
||||
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 {
|
||||
id: number;
|
||||
|
|
@ -269,6 +270,15 @@ export default function DevelopmentModule() {
|
|||
count: 0,
|
||||
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();
|
||||
|
|
@ -716,6 +726,7 @@ export default function DevelopmentModule() {
|
|||
{activeTool === "ide" && <IDE />}
|
||||
{activeTool === "agent" && <DevAgent />}
|
||||
{activeTool === "openclaw" && <OpenClawPanel />}
|
||||
{activeTool === "automationcenter" && <AutomationCenter />}
|
||||
</div>
|
||||
|
||||
<Dialog open={showNewDashboardDialog} onOpenChange={setShowNewDashboardDialog}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue