From 17ecc35d29d4f31b50dfc77f9fb6beb3f323cc93 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Thu, 9 Apr 2026 09:45:44 -0700 Subject: [PATCH] fix(cockpit): strip Render/Chat prefix from sidebar titles to avoid duplication --- apps/cockpit/src/components/sidebar/navigation-groups.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/cockpit/src/components/sidebar/navigation-groups.tsx b/apps/cockpit/src/components/sidebar/navigation-groups.tsx index bc6af8776..3095e8b57 100644 --- a/apps/cockpit/src/components/sidebar/navigation-groups.tsx +++ b/apps/cockpit/src/components/sidebar/navigation-groups.tsx @@ -8,11 +8,13 @@ import { toCockpitPath } from '../../lib/route-resolution'; const PRODUCT_LABELS: Record = { 'deep-agents': 'Deep Agents', 'langgraph': 'LangGraph', + 'render': 'Render', + 'chat': 'Chat', }; function stripProductPrefix(title: string): string { - const prefixes = ['Deep Agents ', 'LangGraph ']; + const prefixes = ['Deep Agents ', 'LangGraph ', 'Render ', 'Chat ']; for (const p of prefixes) { if (title.startsWith(p)) return title.slice(p.length); }