Merge pull request #9145 from RoadieHQ/eventually-remove-deprecated-EntitySystemDiagramCard

catalog: Remove deprecated EntitySystemDiagramCard - defer merge
This commit is contained in:
Patrik Oldsberg
2022-02-11 14:17:27 +01:00
committed by GitHub
5 changed files with 6 additions and 22 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': minor
---
**BREAKING** Completely removed the `EntitySystemDiagramCard` component which was deprecated in a previous release. Any remaining references to this component are now broken and should be replaced with `EntityCatalogGraphCard`, which can be imported from package `@backstage/plugin-catalog-graph`.
@@ -107,7 +107,7 @@ const systemPage = (
</Grid>
</EntityLayout.Route>
<EntityLayout.Route path="/diagram" title="Diagram">
<EntitySystemDiagramCard />
<EntityCatalogGraphCard variant="gridItem" height={400} />
</EntityLayout.Route>
{/* Adding a new tab to the system view */}
-6
View File
@@ -388,12 +388,6 @@ export const EntitySwitch: {
}) => null;
};
// Warning: (ae-forgotten-export) The symbol "SystemDiagramCard" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "EntitySystemDiagramCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public @deprecated (undocumented)
export const EntitySystemDiagramCard: SystemDiagramCard;
// Warning: (ae-missing-release-tag) "FilterContainer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
-1
View File
@@ -49,7 +49,6 @@ export {
EntityHasSubcomponentsCard,
EntityHasSystemsCard,
EntityLinksCard,
EntitySystemDiagramCard,
RelatedEntitiesCard,
} from './plugin';
-14
View File
@@ -177,20 +177,6 @@ export const EntityDependsOnResourcesCard = catalogPlugin.provide(
}),
);
/**
* @deprecated This component is replaced by EntityCatalogGraphCard which is imported from `@backstage/plugin-catalog-graph`. This component will be removed in an
* upcoming release
*/
export const EntitySystemDiagramCard = catalogPlugin.provide(
createComponentExtension({
name: 'EntitySystemDiagramCard',
component: {
lazy: () =>
import('./components/SystemDiagramCard').then(m => m.SystemDiagramCard),
},
}),
);
export const RelatedEntitiesCard = catalogPlugin.provide(
createComponentExtension({
name: 'RelatedEntitiesCard',