@backstage/plugin-catalog-unprocessed-entities 0.2.27-next.0 → 0.2.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @backstage/plugin-catalog-unprocessed-entities
2
2
 
3
+ ## 0.2.27
4
+
5
+ ### Patch Changes
6
+
7
+ - 538c985: Updated installation documentation to use feature discovery as the default.
8
+ - aa29b50: New frontend system pages now use the default plugin header together with `HeaderPage` instead of the legacy core page header pattern.
9
+ - 3f36ce1: Updated alpha plugin icons to follow the new frontend icon sizing rules when rendered in plugin and navigation surfaces.
10
+ - f4a1edd: Removed the deprecated `DevToolsContentBlueprint` from `@backstage/plugin-devtools-react`. DevTools pages in the new frontend system now use `SubPageBlueprint` tabs instead, and the catalog unprocessed entities alpha extension now attaches to DevTools as a subpage.
11
+ - Updated dependencies
12
+ - @backstage/ui@0.13.0
13
+ - @backstage/core-compat-api@0.5.9
14
+ - @backstage/core-plugin-api@1.12.4
15
+ - @backstage/core-components@0.18.8
16
+ - @backstage/frontend-plugin-api@0.15.0
17
+
18
+ ## 0.2.27-next.1
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+ - @backstage/core-compat-api@0.5.9-next.2
24
+ - @backstage/frontend-plugin-api@0.15.0-next.1
25
+ - @backstage/core-plugin-api@1.12.4-next.1
26
+ - @backstage/core-components@0.18.8-next.1
27
+ - @backstage/plugin-devtools-react@0.1.2-next.1
28
+
3
29
  ## 0.2.27-next.0
4
30
 
5
31
  ### Patch Changes
package/README.md CHANGED
@@ -32,46 +32,9 @@ Requires the `@backstage/plugin-catalog-backend-module-unprocessed` module to be
32
32
  yarn --cwd packages/app add @backstage/plugin-catalog-unprocessed-entities
33
33
  ```
34
34
 
35
- Import into your `App.tsx` and include into the `<FlatRoutes>` component:
35
+ Once installed, the plugin is automatically available in your app through the default feature discovery. For more details and alternative installation methods, see [installing plugins](https://backstage.io/docs/frontend-system/building-apps/installing-plugins).
36
36
 
37
- ```tsx title="packages/app/src/App.tsx"
38
- import { CatalogUnprocessedEntitiesPage } from '@backstage/plugin-catalog-unprocessed-entities';
39
- //...
40
-
41
- <Route
42
- path="/catalog-unprocessed-entities"
43
- element={<CatalogUnprocessedEntitiesPage />}
44
- />;
45
- ```
46
-
47
- ### Integrating with the New Frontend System
48
-
49
- Follow this section if you are using Backstage's [new frontend system](https://backstage.io/docs/frontend-system/).
50
-
51
- Import `catalogUnprocessedEntitiesPlugin` in your `App.tsx` and add it to your app's `features` array:
52
-
53
- ```typescript
54
- import catalogUnprocessedEntitiesPlugin from '@backstage/plugin-catalog-unprocessed-entities';
55
- import { unprocessedEntitiesDevToolsContent } from '@backstage/plugin-catalog-unprocessed-entities/alpha';
56
-
57
- // Optionally add unprocessed entities route to devtools
58
- const devtoolsPluginUnprocessed = createFrontendModule({
59
- pluginId: 'catalog-unprocessed-entities',
60
- extensions: [unprocessedEntitiesDevToolsContent],
61
- });
62
-
63
- export const app = createApp({
64
- features: [
65
- // ...
66
- catalogUnprocessedEntitiesPlugin,
67
-
68
- // Optionally add unprocessed entities route to devtools
69
- devtoolsPluginUnprocessed,
70
- devtoolsPlugin, // devtools plugin needs to be added too, if autodiscover is disabled
71
- // ...
72
- ],
73
- });
74
- ```
37
+ You can optionally add unprocessed entities as a tab in DevTools through configuration:
75
38
 
76
39
  ```yaml
77
40
  app:
@@ -82,6 +45,24 @@ app:
82
45
  - page:catalog-unprocessed-entities: false
83
46
  ```
84
47
 
48
+ ## Old Frontend System
49
+
50
+ If your Backstage app uses the old frontend system, you need to manually wire the
51
+ plugin into your app as outlined in this section. If you are on the new frontend
52
+ system, you can skip this.
53
+
54
+ Import it into your `App.tsx` and include it in the `<FlatRoutes>` component:
55
+
56
+ ```tsx title="packages/app/src/App.tsx"
57
+ import { CatalogUnprocessedEntitiesPage } from '@backstage/plugin-catalog-unprocessed-entities';
58
+ //...
59
+
60
+ <Route
61
+ path="/catalog-unprocessed-entities"
62
+ element={<CatalogUnprocessedEntitiesPage />}
63
+ />;
64
+ ```
65
+
85
66
  ## Customization
86
67
 
87
68
  If you want to use the provided endpoints in a different way, you can use the ApiRef doing the following:
@@ -1,16 +1,16 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { DevToolsContentBlueprint } from '@backstage/plugin-devtools-react';
2
+ import { SubPageBlueprint } from '@backstage/frontend-plugin-api';
3
+ import { Content } from '@backstage/core-components';
3
4
 
4
- const unprocessedEntitiesDevToolsContent = DevToolsContentBlueprint.make(
5
- {
6
- disabled: true,
7
- params: {
8
- path: "unprocessed-entities",
9
- title: "Unprocessed Entities",
10
- loader: () => import('../components/UnprocessedEntities.esm.js').then((m) => /* @__PURE__ */ jsx(m.UnprocessedEntitiesContent, {}))
11
- }
5
+ const unprocessedEntitiesDevToolsContent = SubPageBlueprint.make({
6
+ attachTo: { id: "page:devtools", input: "pages" },
7
+ name: "unprocessed-entities",
8
+ params: {
9
+ path: "unprocessed-entities",
10
+ title: "Unprocessed Entities",
11
+ loader: () => import('../components/UnprocessedEntities.esm.js').then((m) => /* @__PURE__ */ jsx(Content, { children: /* @__PURE__ */ jsx(m.UnprocessedEntitiesContent, {}) }))
12
12
  }
13
- );
13
+ });
14
14
 
15
15
  export { unprocessedEntitiesDevToolsContent };
16
16
  //# sourceMappingURL=devToolsContent.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devToolsContent.esm.js","sources":["../../src/alpha/devToolsContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DevToolsContentBlueprint } from '@backstage/plugin-devtools-react';\n\n/**\n * DevTools content for catalog unprocessed entities.\n *\n * @alpha\n */\nexport const unprocessedEntitiesDevToolsContent = DevToolsContentBlueprint.make(\n {\n disabled: true,\n params: {\n path: 'unprocessed-entities',\n title: 'Unprocessed Entities',\n loader: () =>\n import('../components/UnprocessedEntities').then(m => (\n <m.UnprocessedEntitiesContent />\n )),\n },\n },\n);\n"],"names":[],"mappings":";;;AAuBO,MAAM,qCAAqC,wBAAA,CAAyB,IAAA;AAAA,EACzE;AAAA,IACE,QAAA,EAAU,IAAA;AAAA,IACV,MAAA,EAAQ;AAAA,MACN,IAAA,EAAM,sBAAA;AAAA,MACN,KAAA,EAAO,sBAAA;AAAA,MACP,MAAA,EAAQ,MACN,OAAO,0CAAmC,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBAC/C,GAAA,CAAC,CAAA,CAAE,0BAAA,EAAF,EAA6B,CAC/B;AAAA;AACL;AAEJ;;;;"}
1
+ {"version":3,"file":"devToolsContent.esm.js","sources":["../../src/alpha/devToolsContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { SubPageBlueprint } from '@backstage/frontend-plugin-api';\nimport { Content } from '@backstage/core-components';\n\n/**\n * DevTools content for catalog unprocessed entities.\n *\n * @alpha\n */\nexport const unprocessedEntitiesDevToolsContent = SubPageBlueprint.make({\n attachTo: { id: 'page:devtools', input: 'pages' },\n name: 'unprocessed-entities',\n params: {\n path: 'unprocessed-entities',\n title: 'Unprocessed Entities',\n loader: () =>\n import('../components/UnprocessedEntities').then(m => (\n <Content>\n <m.UnprocessedEntitiesContent />\n </Content>\n )),\n },\n});\n"],"names":[],"mappings":";;;;AAwBO,MAAM,kCAAA,GAAqC,iBAAiB,IAAA,CAAK;AAAA,EACtE,QAAA,EAAU,EAAE,EAAA,EAAI,eAAA,EAAiB,OAAO,OAAA,EAAQ;AAAA,EAChD,IAAA,EAAM,sBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,sBAAA;AAAA,IACN,KAAA,EAAO,sBAAA;AAAA,IACP,MAAA,EAAQ,MACN,OAAO,0CAAmC,EAAE,IAAA,CAAK,CAAA,CAAA,qBAC/C,GAAA,CAAC,OAAA,EAAA,EACC,QAAA,kBAAA,GAAA,CAAC,CAAA,CAAE,0BAAA,EAAF,EAA6B,GAChC,CACD;AAAA;AAEP,CAAC;;;;"}
@@ -18,7 +18,7 @@ const catalogUnprocessedEntitiesPage = PageBlueprint.make({
18
18
  params: {
19
19
  path: "/catalog-unprocessed-entities",
20
20
  routeRef: rootRouteRef,
21
- loader: () => import('../components/UnprocessedEntities.esm.js').then((m) => /* @__PURE__ */ jsx(m.UnprocessedEntities, {}))
21
+ loader: () => import('../components/UnprocessedEntities.esm.js').then((m) => /* @__PURE__ */ jsx(m.NfsUnprocessedEntities, {}))
22
22
  }
23
23
  });
24
24
  const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({
@@ -31,7 +31,7 @@ const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({
31
31
  var plugin = createFrontendPlugin({
32
32
  pluginId: "catalog-unprocessed-entities",
33
33
  title: "Unprocessed Entities",
34
- icon: /* @__PURE__ */ jsx(QueueIcon, {}),
34
+ icon: /* @__PURE__ */ jsx(QueueIcon, { fontSize: "inherit" }),
35
35
  info: { packageJson: () => import('../package.json.esm.js') },
36
36
  routes: {
37
37
  root: rootRouteRef
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n ApiBlueprint,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\n\nimport {\n catalogUnprocessedEntitiesApiRef,\n CatalogUnprocessedEntitiesClient,\n} from '../api';\nimport QueueIcon from '@material-ui/icons/Queue';\nimport { rootRouteRef } from '../routes';\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: catalogUnprocessedEntitiesApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new CatalogUnprocessedEntitiesClient(discoveryApi, fetchApi),\n }),\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesPage = PageBlueprint.make({\n params: {\n path: '/catalog-unprocessed-entities',\n routeRef: rootRouteRef,\n loader: () =>\n import('../components/UnprocessedEntities').then(m => (\n <m.UnprocessedEntities />\n )),\n },\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({\n params: {\n title: 'Unprocessed Entities',\n routeRef: rootRouteRef,\n icon: QueueIcon,\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'catalog-unprocessed-entities',\n title: 'Unprocessed Entities',\n icon: <QueueIcon />,\n info: { packageJson: () => import('../../package.json') },\n routes: {\n root: rootRouteRef,\n },\n extensions: [\n catalogUnprocessedEntitiesApi,\n catalogUnprocessedE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,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createFrontendPlugin,\n discoveryApiRef,\n fetchApiRef,\n ApiBlueprint,\n PageBlueprint,\n NavItemBlueprint,\n} from '@backstage/frontend-plugin-api';\n\nimport {\n catalogUnprocessedEntitiesApiRef,\n CatalogUnprocessedEntitiesClient,\n} from '../api';\nimport QueueIcon from '@material-ui/icons/Queue';\nimport { rootRouteRef } from '../routes';\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: catalogUnprocessedEntitiesApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new CatalogUnprocessedEntitiesClient(discoveryApi, fetchApi),\n }),\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesPage = PageBlueprint.make({\n params: {\n path: '/catalog-unprocessed-entities',\n routeRef: rootRouteRef,\n loader: () =>\n import('../components/UnprocessedEntities').then(m => (\n <m.NfsUnprocessedEntities />\n )),\n },\n});\n\n/** @alpha */\nexport const catalogUnprocessedEntitiesNavItem = NavItemBlueprint.make({\n params: {\n title: 'Unprocessed Entities',\n routeRef: rootRouteRef,\n icon: QueueIcon,\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'catalog-unprocessed-entities',\n title: 'Unprocessed Entities',\n icon: <QueueIcon fontSize=\"inherit\" />,\n info: { packageJson: () => import('../../package.json') },\n routes: {\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AA,EAAY;AAAA,IACV,6BAAA;AAAA,IACA,8BAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
2
  import * as react from 'react';
3
3
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
4
- import * as _backstage_plugin_devtools_react from '@backstage/plugin-devtools-react';
5
4
 
6
5
  /** @alpha */
7
6
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
@@ -65,7 +64,6 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
65
64
  }>;
66
65
  };
67
66
  params: {
68
- defaultPath?: [Error: `Use the 'path' param instead`];
69
67
  path: string;
70
68
  title?: string;
71
69
  icon?: _backstage_frontend_plugin_api.IconElement;
@@ -82,8 +80,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
82
80
  * @alpha
83
81
  */
84
82
  declare const unprocessedEntitiesDevToolsContent: _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
85
- kind: "devtools-content";
86
- name: undefined;
83
+ kind: "sub-page";
84
+ name: "unprocessed-entities";
87
85
  config: {
88
86
  path: string | undefined;
89
87
  title: string | undefined;
@@ -94,9 +92,17 @@ declare const unprocessedEntitiesDevToolsContent: _backstage_frontend_plugin_api
94
92
  };
95
93
  output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
96
94
  optional: true;
97
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}>;
95
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
96
+ optional: true;
97
+ }>;
98
98
  inputs: {};
99
- params: _backstage_plugin_devtools_react.DevToolsContentBlueprintParams;
99
+ params: {
100
+ path: string;
101
+ title: string;
102
+ icon?: _backstage_frontend_plugin_api.IconElement;
103
+ loader: () => Promise<JSX.Element>;
104
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
105
+ };
100
106
  }>;
101
107
 
102
108
  export { _default as default, unprocessedEntitiesDevToolsContent };
@@ -1,6 +1,7 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { useState } from 'react';
3
3
  import { Page, Header, Content } from '@backstage/core-components';
4
+ import { HeaderPage } from '@backstage/ui';
4
5
  import Tab from '@material-ui/core/Tab';
5
6
  import { makeStyles } from '@material-ui/core/styles';
6
7
  import TabContext from '@material-ui/lab/TabContext';
@@ -36,6 +37,12 @@ const UnprocessedEntities = () => {
36
37
  /* @__PURE__ */ jsx(Content, { children: /* @__PURE__ */ jsx(UnprocessedEntitiesContent, {}) })
37
38
  ] });
38
39
  };
40
+ const NfsUnprocessedEntities = () => {
41
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
42
+ /* @__PURE__ */ jsx(HeaderPage, { title: "Unprocessed Entities" }),
43
+ /* @__PURE__ */ jsx(Content, { children: /* @__PURE__ */ jsx(UnprocessedEntitiesContent, {}) })
44
+ ] });
45
+ };
39
46
 
40
- export { UnprocessedEntities, UnprocessedEntitiesContent };
47
+ export { NfsUnprocessedEntities, UnprocessedEntities, UnprocessedEntitiesContent };
41
48
  //# sourceMappingURL=UnprocessedEntities.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnprocessedEntities.esm.js","sources":["../../src/components/UnprocessedEntities.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ChangeEvent, useState } from 'react';\n\nimport { Page, Header, Content } from '@backstage/core-components';\nimport Tab from '@material-ui/core/Tab';\nimport { makeStyles } from '@material-ui/core/styles';\nimport TabContext from '@material-ui/lab/TabContext';\nimport TabList from '@material-ui/lab/TabList';\nimport TabPanel from '@material-ui/lab/TabPanel';\n\nimport { FailedEntities } from './FailedEntities';\nimport { PendingEntities } from './PendingEntities';\n\nconst useStyles = makeStyles(() => ({\n tabPanel: {\n paddingLeft: '0px',\n paddingRight: '0px',\n },\n}));\n\n/** @public */\nexport const UnprocessedEntitiesContent = () => {\n const classes = useStyles();\n const [tab, setTab] = useState('failed');\n const handleChange = (_event: ChangeEvent<{}>, tabValue: string) => {\n setTab(tabValue);\n };\n\n return (\n <TabContext value={tab}>\n <TabList onChange={handleChange}>\n <Tab label=\"Failed\" value=\"failed\" />\n <Tab label=\"Pending\" value=\"pending\" />\n </TabList>\n <TabPanel value=\"failed\" className={classes.tabPanel}>\n <FailedEntities />\n </TabPanel>\n <TabPanel value=\"pending\" className={classes.tabPanel}>\n <PendingEntities />\n </TabPanel>\n </TabContext>\n );\n};\n\nexport const UnprocessedEntities = () => {\n return (\n <Page themeId=\"tool\">\n <Header title=\"Unprocessed Entities\" />\n <Content>\n <UnprocessedEntitiesContent />\n </Content>\n </Page>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;AA2BA,MAAM,SAAA,GAAY,WAAW,OAAO;AAAA,EAClC,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,KAAA;AAAA,IACb,YAAA,EAAc;AAAA;AAElB,CAAA,CAAE,CAAA;AA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AA,EACF,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"UnprocessedEntities.esm.js","sources":["../../src/components/UnprocessedEntities.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ChangeEvent, useState } from 'react';\n\nimport { Page, Header, Content } from '@backstage/core-components';\nimport { HeaderPage } from '@backstage/ui';\nimport Tab from '@material-ui/core/Tab';\nimport { makeStyles } from '@material-ui/core/styles';\nimport TabContext from '@material-ui/lab/TabContext';\nimport TabList from '@material-ui/lab/TabList';\nimport TabPanel from '@material-ui/lab/TabPanel';\n\nimport { FailedEntities } from './FailedEntities';\nimport { PendingEntities } from './PendingEntities';\n\nconst useStyles = makeStyles(() => ({\n tabPanel: {\n paddingLeft: '0px',\n paddingRight: '0px',\n },\n}));\n\n/** @public */\nexport const UnprocessedEntitiesContent = () => {\n const classes = useStyles();\n const [tab, setTab] = useState('failed');\n const handleChange = (_event: ChangeEvent<{}>, tabValue: string) => {\n setTab(tabValue);\n };\n\n return (\n <TabContext value={tab}>\n <TabList onChange={handleChange}>\n <Tab label=\"Failed\" value=\"failed\" />\n <Tab label=\"Pending\" value=\"pending\" />\n </TabList>\n <TabPanel value=\"failed\" className={classes.tabPanel}>\n <FailedEntities />\n </TabPanel>\n <TabPanel value=\"pending\" className={classes.tabPanel}>\n <PendingEntities />\n </TabPanel>\n </TabContext>\n );\n};\n\nexport const UnprocessedEntities = () => {\n return (\n <Page themeId=\"tool\">\n <Header title=\"Unprocessed Entities\" />\n <Content>\n <UnprocessedEntitiesContent />\n </Content>\n </Page>\n );\n};\n\nexport const NfsUnprocessedEntities = () => {\n return (\n <>\n <HeaderPage title=\"Unprocessed Entities\" />\n <Content>\n <UnprocessedEntitiesContent />\n </Content>\n </>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;AA4BA,MAAM,SAAA,GAAY,WAAW,OAAO;AAAA,EAClC,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,KAAA;AAAA,IACb,YAAA,EAAc;AAAA;AAElB,CAAA,CAAE,CAAA;AAGK,MAAM,6BAA6B,MAAM;AAC9C,EAAA,MAAM,UAAU,SAAA,EAAU;AAC1B,EAAA,MAAM,CAAC,GAAA,EAAK,MAAM,CAAA,GAAI,SAAS,QAAQ,CAAA;AACvC,EAAA,MAAM,YAAA,GAAe,CAAC,MAAA,EAAyB,QAAA,KAAqB;AAClE,IAAA,MAAA,CAAO,QAAQ,CAAA;AAAA,EACjB,CAAA;AAEA,EAAA,uBACE,IAAA,CAAC,UAAA,EAAA,EAAW,KAAA,EAAO,GAAA,EACjB,QAAA,EAAA;AAAA,oBAAA,IAAA,CAAC,OAAA,EAAA,EAAQ,UAAU,YAAA,EACjB,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,GAAA,EAAA,EAAI,KAAA,EAAM,QAAA,EAAS,KAAA,EAAM,QAAA,EAAS,CAAA;AAAA,sBACnC,GAAA,CAAC,GAAA,EAAA,EAAI,KAAA,EAAM,SAAA,EAAU,OAAM,SAAA,EAAU;AAAA,KAAA,EACvC,CAAA;AAAA,oBACA,GAAA,CAAC,YAAS,KAAA,EAAM,QAAA,EAAS,WAAW,OAAA,CAAQ,QAAA,EAC1C,QAAA,kBAAA,GAAA,CAAC,cAAA,EAAA,EAAe,CAAA,EAClB,CAAA;AAAA,oBACA,GAAA,CAAC,YAAS,KAAA,EAAM,SAAA,EAAU,WAAW,OAAA,CAAQ,QAAA,EAC3C,QAAA,kBAAA,GAAA,CAAC,eAAA,EAAA,EAAgB,CAAA,EACnB;AAAA,GAAA,EACF,CAAA;AAEJ;AAEO,MAAM,sBAAsB,MAAM;AACvC,EAAA,uBACE,IAAA,CAAC,IAAA,EAAA,EAAK,OAAA,EAAQ,MAAA,EACZ,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,MAAA,EAAA,EAAO,OAAM,sBAAA,EAAuB,CAAA;AAAA,oBACrC,GAAA,CAAC,OAAA,EAAA,EACC,QAAA,kBAAA,GAAA,CAAC,0BAAA,EAAA,EAA2B,CAAA,EAC9B;AAAA,GAAA,EACF,CAAA;AAEJ;AAEO,MAAM,yBAAyB,MAAM;AAC1C,EAAA,uBACE,IAAA,CAAA,QAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAA,EAAA,EAAW,OAAM,sBAAA,EAAuB,CAAA;AAAA,oBACzC,GAAA,CAAC,OAAA,EAAA,EACC,QAAA,kBAAA,GAAA,CAAC,0BAAA,EAAA,EAA2B,CAAA,EAC9B;AAAA,GAAA,EACF,CAAA;AAEJ;;;;"}
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-catalog-unprocessed-entities";
2
- var version = "0.2.27-next.0";
2
+ var version = "0.2.27";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "catalog-unprocessed-entities",
@@ -55,7 +55,7 @@ var dependencies = {
55
55
  "@backstage/errors": "workspace:^",
56
56
  "@backstage/frontend-plugin-api": "workspace:^",
57
57
  "@backstage/plugin-catalog-unprocessed-entities-common": "workspace:^",
58
- "@backstage/plugin-devtools-react": "workspace:^",
58
+ "@backstage/ui": "workspace:^",
59
59
  "@material-ui/core": "^4.9.13",
60
60
  "@material-ui/icons": "^4.9.1",
61
61
  "@material-ui/lab": "^4.0.0-alpha.60",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-unprocessed-entities",
3
- "version": "0.2.27-next.0",
3
+ "version": "0.2.27",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "catalog-unprocessed-entities",
@@ -62,13 +62,13 @@
62
62
  "test": "backstage-cli package test"
63
63
  },
64
64
  "dependencies": {
65
- "@backstage/core-compat-api": "0.5.9-next.0",
66
- "@backstage/core-components": "0.18.8-next.0",
67
- "@backstage/core-plugin-api": "1.12.4-next.0",
68
- "@backstage/errors": "1.2.7",
69
- "@backstage/frontend-plugin-api": "0.14.2-next.0",
70
- "@backstage/plugin-catalog-unprocessed-entities-common": "0.0.13",
71
- "@backstage/plugin-devtools-react": "0.1.2-next.0",
65
+ "@backstage/core-compat-api": "^0.5.9",
66
+ "@backstage/core-components": "^0.18.8",
67
+ "@backstage/core-plugin-api": "^1.12.4",
68
+ "@backstage/errors": "^1.2.7",
69
+ "@backstage/frontend-plugin-api": "^0.15.0",
70
+ "@backstage/plugin-catalog-unprocessed-entities-common": "^0.0.13",
71
+ "@backstage/ui": "^0.13.0",
72
72
  "@material-ui/core": "^4.9.13",
73
73
  "@material-ui/icons": "^4.9.1",
74
74
  "@material-ui/lab": "^4.0.0-alpha.60",
@@ -76,8 +76,8 @@
76
76
  "react-use": "^17.2.4"
77
77
  },
78
78
  "devDependencies": {
79
- "@backstage/cli": "0.35.5-next.0",
80
- "@backstage/dev-utils": "1.1.21-next.0",
79
+ "@backstage/cli": "^0.36.0",
80
+ "@backstage/dev-utils": "^1.1.21",
81
81
  "@testing-library/jest-dom": "^6.0.0",
82
82
  "@testing-library/react": "^16.0.0",
83
83
  "@types/react": "^18.0.0",