From d819f88ae4dee04a352d1e235edc44cbd306fa8d Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 2 Apr 2026 22:36:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20starred=20routes=20not=20showing=20?= =?UTF-8?q?=E2=80=94=20starKey=20prefix=20mismatch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit collectStarredItems used 'app:' prefix for route keys but buildAppTreeNodes uses 'route:' prefix. Routes were starred but never matched in the starred section. Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/components/LayoutShell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/LayoutShell.tsx b/ui/src/components/LayoutShell.tsx index e0a2ed4f..6430d8f7 100644 --- a/ui/src/components/LayoutShell.tsx +++ b/ui/src/components/LayoutShell.tsx @@ -167,7 +167,7 @@ function collectStarredItems(apps: SidebarApp[], starredIds: Set): Starr items.push({ starKey: `app:${app.id}`, label: app.name, icon: makeStatusDot(app.health), path: `/apps/${app.id}` }); } for (const route of app.routes) { - const key = `app:${app.id}/${route.id}`; + const key = `route:${app.id}/${route.id}`; if (starredIds.has(key)) { items.push({ starKey: key, label: route.name, path: `/apps/${app.id}/${route.id}`, parentApp: app.name }); }