From 94d942a14720cdbb3faad13e9ec26e236b61d691 Mon Sep 17 00:00:00 2001 From: Marley Powell Date: Mon, 8 Nov 2021 09:52:13 +0000 Subject: [PATCH] feat: Added Azure Pull Requests route and sidebar link. Signed-off-by: Marley Powell --- packages/app/src/App.tsx | 2 ++ packages/app/src/components/Root/Root.tsx | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx index 109ae7922e..c152b5c982 100644 --- a/packages/app/src/App.tsx +++ b/packages/app/src/App.tsx @@ -33,6 +33,7 @@ import { SignInPage, } from '@backstage/core-components'; import { apiDocsPlugin, ApiExplorerPage } from '@backstage/plugin-api-docs'; +import { AzurePullRequestsPage } from '@backstage/plugin-azure-devops'; import { CatalogEntityPage, CatalogIndexPage, @@ -203,6 +204,7 @@ const routes = ( element={} /> } /> + } /> ); diff --git a/packages/app/src/components/Root/Root.tsx b/packages/app/src/components/Root/Root.tsx index 7a666a020a..43c057e553 100644 --- a/packages/app/src/components/Root/Root.tsx +++ b/packages/app/src/components/Root/Root.tsx @@ -41,6 +41,7 @@ import { SidebarSpace, SidebarScrollWrapper, } from '@backstage/core-components'; +import { AzurePullRequestsIcon } from '@backstage/plugin-azure-devops'; const useSidebarLogoStyles = makeStyles({ root: { @@ -94,6 +95,11 @@ export const Root = ({ children }: PropsWithChildren<{}>) => ( +