chore: code review comments and renaming some ids for routeRefs

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-11-17 20:34:46 +01:00
parent 2e3e2c2cbe
commit 7c55fae208
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export const rootRoute = createRouteRef({
export const catalogRouteRef = rootRoute;
export const entityRoute = createRouteRef({
id: 'catalog/entity',
id: 'catalog-entity',
params: ['namespace', 'kind', 'name'],
});
+2 -2
View File
@@ -25,11 +25,11 @@ export const rootRouteRef = createRouteRef({
});
export const projectGrowthAlertRef = createRouteRef({
id: 'cost-insights/investigating-growth',
id: 'cost-insights-investigating-growth',
});
export const unlabeledDataflowAlertRef = createRouteRef({
id: 'cost-insights/labeling-jobs',
id: 'cost-insights-labeling-jobs',
});
export const costInsightsPlugin = createPlugin({
+2 -2
View File
@@ -20,8 +20,8 @@ export const rootRouteRef = createRouteRef({
id: 'gcp-projects',
});
export const projectRouteRef = createRouteRef({
id: 'gcp-projects/project',
id: 'gcp-projects-project',
});
export const newProjectRouteRef = createRouteRef({
id: 'gcp-projects/new',
id: 'gcp-projects-new',
});
+1 -1
View File
@@ -21,7 +21,7 @@ export const gitOpsClusterListRoute = createRouteRef({
});
export const gitOpsClusterDetailsRoute = createRouteRef({
id: 'gitops-cluster/:owner/:repo',
id: 'gitops-cluster-details',
params: ['owner', 'repo'],
});
+1 -1
View File
@@ -31,7 +31,7 @@ export const rootRouteRef = createRouteRef({
});
export const buildRouteRef = createSubRouteRef({
id: 'jenkins/build',
id: 'jenkins/builds',
path: '/builds/:jobFullName/:buildNumber',
parent: rootRouteRef,
});
+3 -3
View File
@@ -29,15 +29,15 @@ export const rootRouteRef = createRouteRef({
});
export const viewAuditRouteRef = createRouteRef({
id: 'audit/:id',
id: 'lighthouse-audit',
});
export const createAuditRouteRef = createRouteRef({
id: 'create-audit',
id: 'lighthouse-create-audit',
});
export const entityContentRouteRef = createRouteRef({
id: 'entity-content',
id: 'lighthouse-entity-content',
});
export const lighthousePlugin = createPlugin({