chore: code review comments and renaming some ids for routeRefs
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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'],
|
||||
});
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ export const gitOpsClusterListRoute = createRouteRef({
|
||||
});
|
||||
|
||||
export const gitOpsClusterDetailsRoute = createRouteRef({
|
||||
id: 'gitops-cluster/:owner/:repo',
|
||||
id: 'gitops-cluster-details',
|
||||
params: ['owner', 'repo'],
|
||||
});
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ export const rootRouteRef = createRouteRef({
|
||||
});
|
||||
|
||||
export const buildRouteRef = createSubRouteRef({
|
||||
id: 'jenkins/build',
|
||||
id: 'jenkins/builds',
|
||||
path: '/builds/:jobFullName/:buildNumber',
|
||||
parent: rootRouteRef,
|
||||
});
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user