From fa6c26f68d010ce6c5acecf155162145e92baadc Mon Sep 17 00:00:00 2001 From: Marley Powell Date: Fri, 12 Nov 2021 11:23:45 +0000 Subject: [PATCH] refactor: Renamed `azurePrsRootRouteRef` to `azurePullRequestDashboardRouteRef`. Signed-off-by: Marley Powell --- plugins/azure-devops/api-report.md | 2 +- plugins/azure-devops/src/plugin.ts | 6 +++--- plugins/azure-devops/src/routes.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/azure-devops/api-report.md b/plugins/azure-devops/api-report.md index 6b304938b6..96ea95e00e 100644 --- a/plugins/azure-devops/api-report.md +++ b/plugins/azure-devops/api-report.md @@ -15,7 +15,7 @@ import { SvgIconProps } from '@material-ui/core'; // @public (undocumented) export const azureDevOpsPlugin: BackstagePlugin< { - azurePrsRoot: RouteRef; + azurePullRequestDashboard: RouteRef; azurePipelinesEntityContent: RouteRef; }, {} diff --git a/plugins/azure-devops/src/plugin.ts b/plugins/azure-devops/src/plugin.ts index 7553f02da1..06c79b1742 100644 --- a/plugins/azure-devops/src/plugin.ts +++ b/plugins/azure-devops/src/plugin.ts @@ -16,7 +16,7 @@ import { azurePipelinesEntityContentRouteRef, - azurePrsRootRouteRef, + azurePullRequestDashboardRouteRef, } from './routes'; import { createApiFactory, @@ -45,7 +45,7 @@ export const azureDevOpsPlugin = createPlugin({ }), ], routes: { - azurePrsRoot: azurePrsRootRouteRef, + azurePullRequestDashboard: azurePullRequestDashboardRouteRef, azurePipelinesEntityContent: azurePipelinesEntityContentRouteRef, }, }); @@ -55,7 +55,7 @@ export const AzurePullRequestsPage = azureDevOpsPlugin.provide( name: 'AzurePullRequestsPage', component: () => import('./components/PullRequestsPage').then(m => m.PullRequestsPage), - mountPoint: azurePrsRootRouteRef, + mountPoint: azurePullRequestDashboardRouteRef, }), ); diff --git a/plugins/azure-devops/src/routes.ts b/plugins/azure-devops/src/routes.ts index 6884c3d2b2..9573ff5c69 100644 --- a/plugins/azure-devops/src/routes.ts +++ b/plugins/azure-devops/src/routes.ts @@ -16,7 +16,7 @@ import { createRouteRef } from '@backstage/core-plugin-api'; -export const azurePrsRootRouteRef = createRouteRef({ +export const azurePullRequestDashboardRouteRef = createRouteRef({ path: '', title: 'Azure Pull Requests', });