Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leventebalogh committed Feb 7, 2025
1 parent 5b1af90 commit a734969
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@grafana/data": "^11.3.0",
"@grafana/lezer-logql": "^0.2.7",
"@grafana/runtime": "^11.3.0",
"@grafana/scenes": "@grafana/scenes@6.0.0--canary.979.12990094152.0",
"@grafana/scenes": "6.0.0--canary.979.12990094152.0",
"@grafana/ui": "^11.3.0",
"@hello-pangea/dnd": "^16.6.0",
"@lezer/common": "^1.2.1",
Expand Down
4 changes: 3 additions & 1 deletion src/Components/Pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function makeIndexPage() {
url: prefixRoute(PageSlugs.explore),
layout: PageLayoutType.Custom,
preserveUrlKeys: SERVICE_URL_KEYS,
routePath: prefixRoute(PageSlugs.explore),
routePath: `${PageSlugs.explore}/*`,
getScene: (routeMatch) => getServicesScene(routeMatch),
drilldowns: [
{
Expand Down Expand Up @@ -122,6 +122,7 @@ export function makeBreakdownPage(
title: capitalizeFirstLetter(slug),
layout: PageLayoutType.Custom,
url: ROUTES[slug](labelValue, labelName),
routePath: slug,
preserveUrlKeys: DRILLDOWN_URL_KEYS,
getParentPage: () => parent,
getScene: (routeMatch) => getServicesScene(routeMatch),
Expand Down Expand Up @@ -150,6 +151,7 @@ export function makeBreakdownValuePage(
title: capitalizeFirstLetter(breakdownLabel),
layout: PageLayoutType.Custom,
url: SUB_ROUTES[slug](labelValue, labelName, breakdownLabel),
routePath: slug,
preserveUrlKeys: DRILLDOWN_URL_KEYS,
getParentPage: () => parent,
getScene: (routeMatch) => getServicesScene(routeMatch),
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@
rxjs "7.8.1"
tslib "2.7.0"

"@grafana/scenes@@grafana/scenes@6.0.0--canary.979.12990094152.0":
"@grafana/[email protected]":
version "6.0.0--canary.979.12990094152.0"
resolved "https://registry.yarnpkg.com/@grafana/scenes/-/scenes-6.0.0--canary.979.12990094152.0.tgz#9fafb500eb327038f67e90f4e29bd23513453d31"
integrity sha512-YIXoeJMTijLUthgHSA5R8NzywmxTz6nlwX2vEOODZ+4LSlTChlBCxK2rGaeKiE0xm1Ifygp5VDFi6Vm5DJuJ4g==
Expand Down

0 comments on commit a734969

Please sign in to comment.