feat(web): move automations entry above agents in settings sidebar (#1049)

This commit is contained in:
Carlos Florêncio
2026-05-24 00:38:31 +01:00
committed by GitHub
parent 5c551ce977
commit b090a0157e
@@ -325,6 +325,23 @@ export function SettingsAppSidebar() {
<GeneralSidebarSection pathname={pathname} />
<WorkspacesSidebarSection pathname={pathname} workspaces={workspaces} />
<IntegrationsSidebarSection pathname={pathname} />
{/* Automations */}
<SidebarMenuItem>
<SidebarMenuButton
asChild
isActive={
pathname.startsWith("/settings/automations") ||
pathname.includes("/automations")
}
>
<Link href="/settings/automations">
<IconBolt className="h-4 w-4" />
<span>Automations</span>
</Link>
</SidebarMenuButton>
</SidebarMenuItem>
<AgentsSidebarSection pathname={pathname} agents={agents} />
{/* Prompts */}
@@ -349,22 +366,6 @@ export function SettingsAppSidebar() {
<ExecutorsSidebarSection pathname={pathname} executors={executors} />
{/* Automations */}
<SidebarMenuItem>
<SidebarMenuButton
asChild
isActive={
pathname.startsWith("/settings/automations") ||
pathname.includes("/automations")
}
>
<Link href="/settings/automations">
<IconBolt className="h-4 w-4" />
<span>Automations</span>
</Link>
</SidebarMenuButton>
</SidebarMenuItem>
<SecretsSidebarSection pathname={pathname} />
{/* External MCP */}