add Report Issue Addon to Apps
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
@@ -55,6 +55,8 @@
|
||||
"@backstage/plugin-stack-overflow": "^0.1.0",
|
||||
"@backstage/plugin-tech-radar": "^0.5.11",
|
||||
"@backstage/plugin-techdocs": "^1.1.0",
|
||||
"@backstage/plugin-techdocs-react": "^0.1.0",
|
||||
"@backstage/plugin-techdocs-addons-contrib": "^0.0.0",
|
||||
"@backstage/plugin-todo": "^0.2.6",
|
||||
"@backstage/plugin-user-settings": "^0.4.3",
|
||||
"@backstage/plugin-tech-insights": "^0.2.0",
|
||||
|
||||
@@ -69,6 +69,8 @@ import {
|
||||
TechDocsReaderPage,
|
||||
techdocsPlugin,
|
||||
} from '@backstage/plugin-techdocs';
|
||||
import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
|
||||
import { ReportIssue } from '@backstage/plugin-techdocs-addons-contrib';
|
||||
import {
|
||||
UserSettingsPage,
|
||||
UserSettingsTab,
|
||||
@@ -179,6 +181,9 @@ const routes = (
|
||||
element={<TechDocsReaderPage />}
|
||||
>
|
||||
{techDocsPage}
|
||||
<TechDocsAddons>
|
||||
<ReportIssue />
|
||||
</TechDocsAddons>
|
||||
</Route>
|
||||
<Route
|
||||
path="/create"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"@backstage/plugin-catalog": "^1.1.0",
|
||||
"@backstage/plugin-techdocs": "^1.1.0",
|
||||
"@backstage/plugin-techdocs-react": "^0.1.0",
|
||||
"@backstage/plugin-techdocs-addons-contrib": "^0.0.0",
|
||||
"@backstage/test-utils": "^1.0.1",
|
||||
"@backstage/theme": "^0.2.15",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
|
||||
@@ -28,6 +28,7 @@ import {
|
||||
TechDocsAddons,
|
||||
TechDocsAddonLocations,
|
||||
} from '@backstage/plugin-techdocs-react';
|
||||
import { ReportIssue } from '@backstage/plugin-techdocs-addons-contrib';
|
||||
import { createApp } from '@backstage/app-defaults';
|
||||
import { FlatRoutes } from '@backstage/core-app-api';
|
||||
import { CatalogEntityPage } from '@backstage/plugin-catalog';
|
||||
@@ -72,6 +73,7 @@ const routes = (
|
||||
>
|
||||
{techDocsPage}
|
||||
<TechDocsAddons>
|
||||
<ReportIssue />
|
||||
<ThemeToggleAddon />
|
||||
</TechDocsAddons>
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user