From 36816cc35f742e655248810b9bdff6bf5e9666ed Mon Sep 17 00:00:00 2001 From: Anna Koehler Date: Tue, 17 Dec 2024 09:50:41 +0100 Subject: [PATCH] Move some dashboards to the dropdown list --- dashboard/new-dashboard/src/routes.ts | 50 ++++++++++++++++++++------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/dashboard/new-dashboard/src/routes.ts b/dashboard/new-dashboard/src/routes.ts index f63e31b0..0d26a458 100644 --- a/dashboard/new-dashboard/src/routes.ts +++ b/dashboard/new-dashboard/src/routes.ts @@ -8,8 +8,10 @@ const enum ROUTE_PREFIX { Startup = "/ij", IntelliJ = "/intellij", IntelliJBuildTools = "/intellij/buildTools", - IntelliJIndices = "/intellij/indices", IntelliJUltimate = "/intellij/ultimate", + IntelliJSharedIndexes = "/intellij/sharedIndexes", + IntelliJIncrementalCompilation = "/intellij/incrementalCompilation", + IntelliJKotlinK2Performance = "/intellij/kotlinK2Performance", IntelliJPackageChecker = "/intellij/packageChecker", IntelliJFus = "/intellij/fus", PhpStorm = "/phpstorm", @@ -315,22 +317,10 @@ const IDEA: Product = { url: ROUTES.IntelliJIndexingDashboard, label: "Indexes", }, - { - url: ROUTES.IntelliJSharedIndicesDashboard, - label: "Shared Indexes", - }, { url: ROUTES.IntelliJWSLDashboard, label: "WSL", }, - { - url: ROUTES.IntelliJIncrementalCompilationDashboard, - label: "Incremental Compilation", - }, - { - url: ROUTES.IntelliJK2Dashboard, - label: "Performance K2", - }, { url: ROUTES.IntelliJTests, label: TESTS_LABEL, @@ -401,6 +391,40 @@ const IDEA: Product = { }, ], }, + { + url: ROUTE_PREFIX.IntelliJSharedIndexes, + label: "Shared Indexes", + tabs: [ + { + url: ROUTES.IntelliJSharedIndicesDashboard, + label: DASHBOARD_LABEL, + }, + { + url: ROUTES.IntelliJTests, + label: TESTS_LABEL, + }, + ], + }, + { + url: ROUTE_PREFIX.IntelliJIncrementalCompilation, + label: "Incremental Compilation", + tabs: [ + { + url: ROUTES.IntelliJIncrementalCompilationDashboard, + label: DASHBOARD_LABEL, + }, + ], + }, + { + url: ROUTE_PREFIX.IntelliJKotlinK2Performance, + label: "Performance K2", + tabs: [ + { + url: ROUTES.IntelliJK2Dashboard, + label: DASHBOARD_LABEL, + }, + ], + }, { url: ROUTE_PREFIX.IntelliJPackageChecker, label: "Package Checker",