Add automation routes and enhance header metrics management

- Introduced new routes for Automation Rules and Automation Tasks in the frontend.
- Updated the AppSidebar to include sub-items for Automation navigation.
- Enhanced HeaderMetricsContext to manage credit and page metrics more effectively, ensuring proper merging and clearing of metrics.
- Adjusted AppLayout and TablePageTemplate to maintain credit balance while managing page metrics.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-17 21:04:46 +00:00
parent aa74fb0d65
commit 0818dfe385
10 changed files with 765 additions and 8 deletions

View File

@@ -163,7 +163,11 @@ const AppSidebar: React.FC = () => {
workflowItems.push({
icon: <BoltIcon />,
name: "Automation",
path: "/automation",
subItems: [
{ name: "Dashboard", path: "/automation" },
{ name: "Rules", path: "/automation/rules" },
{ name: "Tasks", path: "/automation/tasks" },
],
});
}