fix: use composite ID for routes in command palette search data
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m7s
CI / docker (push) Successful in 1m1s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 55s

Routes with the same name across different applications (e.g., "route1"
in both QUARKUS-APP and BACKEND-APP) were deduplicated because they
shared the same id (routeId). Use appId/routeId as the id so all
routes appear in cmd-k results.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-01 21:33:23 +02:00
parent b30a5b5760
commit 9057981cf7

View File

@@ -38,7 +38,7 @@ function buildSearchData(
for (const route of (app.routes || [])) {
results.push({
id: route.routeId,
id: `${app.appId}/${route.routeId}`,
category: 'route',
title: route.routeId,
badges: [{ label: app.appId }],