Merge pull request #18458 from dweber019/feat/missing-relation-warning

Implement missing related entities alert
This commit is contained in:
Ben Lambert
2023-07-04 15:51:24 +02:00
committed by GitHub
8 changed files with 339 additions and 0 deletions
@@ -66,6 +66,8 @@ import {
isKind,
isOrphan,
hasLabels,
hasRelationWarnings,
EntityRelationWarning,
} from '@internal/plugin-catalog-customized';
import {
Direction,
@@ -328,6 +330,14 @@ const entityWarningContent = (
</EntitySwitch.Case>
</EntitySwitch>
<EntitySwitch>
<EntitySwitch.Case if={hasRelationWarnings}>
<Grid item xs={12}>
<EntityRelationWarning />
</Grid>
</EntitySwitch.Case>
</EntitySwitch>
<EntitySwitch>
<EntitySwitch.Case if={hasCatalogProcessingErrors}>
<Grid item xs={12}>