plugins: add title, icon, and NFS page variants to migrated plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
---
|
||||
|
||||
Added `title` and `icon` to the new frontend system plugin definition.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
Added `title` and `icon` to the new frontend system plugin definition.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Added `title` and `icon` to the new frontend system plugin definition.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-signals': patch
|
||||
---
|
||||
|
||||
Added `title` and `icon` to the new frontend system plugin definition.
|
||||
@@ -298,6 +298,9 @@ export interface ImportStepperProps {
|
||||
variant?: InfoCardVariants;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const NfsDefaultImportPage: () => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const PreparePullRequestForm: <TFieldValues extends Record<string, any>>(
|
||||
props: PreparePullRequestFormProps<TFieldValues>,
|
||||
|
||||
@@ -66,7 +66,8 @@
|
||||
"@backstage/plugin-kubernetes-common": "workspace:^",
|
||||
"@backstage/plugin-kubernetes-react": "workspace:^",
|
||||
"@backstage/plugin-permission-react": "workspace:^",
|
||||
"@material-ui/core": "^4.12.2"
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@remixicon/react": "^4.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^",
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
||||
import { RiShipLine } from '@remixicon/react';
|
||||
import { kubernetesPage } from './pages';
|
||||
import { entityKubernetesContent } from './entityContents';
|
||||
import { rootCatalogKubernetesRouteRef } from '../plugin';
|
||||
@@ -27,6 +28,8 @@ import {
|
||||
|
||||
export default createFrontendPlugin({
|
||||
pluginId: 'kubernetes',
|
||||
title: 'Kubernetes',
|
||||
icon: <RiShipLine />,
|
||||
info: { packageJson: () => import('../../package.json') },
|
||||
extensions: [
|
||||
kubernetesPage,
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"@backstage/ui": "workspace:^",
|
||||
"@material-ui/core": "^4.9.13",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@remixicon/react": "^4.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"material-ui-confirm": "^3.0.12",
|
||||
"notistack": "^3.0.1",
|
||||
|
||||
@@ -21,6 +21,7 @@ import {
|
||||
discoveryApiRef,
|
||||
fetchApiRef,
|
||||
} from '@backstage/frontend-plugin-api';
|
||||
import { RiNotification3Line } from '@remixicon/react';
|
||||
import { rootRouteRef } from './routes';
|
||||
import { NotificationsClient, notificationsApiRef } from './api';
|
||||
|
||||
@@ -48,6 +49,8 @@ const api = ApiBlueprint.make({
|
||||
/** @alpha */
|
||||
export default createFrontendPlugin({
|
||||
pluginId: 'notifications',
|
||||
title: 'Notifications',
|
||||
icon: <RiNotification3Line />,
|
||||
info: { packageJson: () => import('../package.json') },
|
||||
routes: {
|
||||
root: rootRouteRef,
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.61",
|
||||
"@remixicon/react": "^4.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"p-limit": "^3.1.0",
|
||||
"pluralize": "^8.0.0",
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
||||
import { RiTeamLine } from '@remixicon/react';
|
||||
import { catalogIndexRouteRef } from './routes';
|
||||
import { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
||||
|
||||
@@ -118,6 +119,8 @@ const EntityUserProfileCard = EntityCardBlueprint.makeWithOverrides({
|
||||
/** @alpha */
|
||||
export default createFrontendPlugin({
|
||||
pluginId: 'org',
|
||||
title: 'Org',
|
||||
icon: <RiTeamLine />,
|
||||
info: { packageJson: () => import('../package.json') },
|
||||
extensions: [
|
||||
EntityGroupProfileCard,
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
"@backstage/theme": "workspace:^",
|
||||
"@backstage/types": "workspace:^",
|
||||
"@material-ui/core": "^4.12.4",
|
||||
"@remixicon/react": "^4.6.0",
|
||||
"uuid": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -20,6 +20,7 @@ import {
|
||||
discoveryApiRef,
|
||||
identityApiRef,
|
||||
} from '@backstage/frontend-plugin-api';
|
||||
import { RiBroadcastLine } from '@remixicon/react';
|
||||
import { signalApiRef } from '@backstage/plugin-signals-react';
|
||||
import { SignalClient } from './api/SignalClient';
|
||||
|
||||
@@ -43,6 +44,8 @@ const api = ApiBlueprint.make({
|
||||
/** @alpha */
|
||||
export default createFrontendPlugin({
|
||||
pluginId: 'signals',
|
||||
title: 'Signals',
|
||||
icon: <RiBroadcastLine />,
|
||||
info: { packageJson: () => import('../package.json') },
|
||||
extensions: [api],
|
||||
});
|
||||
|
||||
@@ -6078,6 +6078,7 @@ __metadata:
|
||||
"@backstage/plugin-permission-react": "workspace:^"
|
||||
"@backstage/test-utils": "workspace:^"
|
||||
"@material-ui/core": "npm:^4.12.2"
|
||||
"@remixicon/react": "npm:^4.6.0"
|
||||
"@testing-library/dom": "npm:^10.0.0"
|
||||
"@testing-library/jest-dom": "npm:^6.0.0"
|
||||
"@testing-library/react": "npm:^16.0.0"
|
||||
@@ -6279,6 +6280,7 @@ __metadata:
|
||||
"@backstage/ui": "workspace:^"
|
||||
"@material-ui/core": "npm:^4.9.13"
|
||||
"@material-ui/icons": "npm:^4.9.1"
|
||||
"@remixicon/react": "npm:^4.6.0"
|
||||
"@testing-library/jest-dom": "npm:^6.0.0"
|
||||
"@testing-library/react": "npm:^16.0.0"
|
||||
"@types/react": "npm:^18.0.0"
|
||||
@@ -6361,6 +6363,7 @@ __metadata:
|
||||
"@material-ui/core": "npm:^4.12.2"
|
||||
"@material-ui/icons": "npm:^4.9.1"
|
||||
"@material-ui/lab": "npm:4.0.0-alpha.61"
|
||||
"@remixicon/react": "npm:^4.6.0"
|
||||
"@testing-library/dom": "npm:^10.0.0"
|
||||
"@testing-library/jest-dom": "npm:^6.0.0"
|
||||
"@testing-library/react": "npm:^16.0.0"
|
||||
@@ -7426,6 +7429,7 @@ __metadata:
|
||||
"@backstage/theme": "workspace:^"
|
||||
"@backstage/types": "workspace:^"
|
||||
"@material-ui/core": "npm:^4.12.4"
|
||||
"@remixicon/react": "npm:^4.6.0"
|
||||
"@testing-library/jest-dom": "npm:^6.0.0"
|
||||
"@testing-library/react": "npm:^16.0.0"
|
||||
"@types/react": "npm:^18.0.0"
|
||||
|
||||
Reference in New Issue
Block a user