feat(org,catalog-graph)!: migrate MembersListCard, OwnershipCard, and CatalogGraphCard to BUI (#33177)
* feat(org): migrate MembersListCard to BUI EntityInfoCard Signed-off-by: Johan Persson <johanopersson@gmail.com> * feat(org)!: migrate OwnershipCard to BUI EntityInfoCard Replaced MUI InfoCard with BUI EntityInfoCard in OwnershipCard. Removed the `variant` and `maxScrollHeight` props since card sizing and scrolling are now handled by the BUI layout. Wrapped body content in a flex column div to keep the relations toggle pinned while the grid scrolls. Updated app-legacy and create-app templates to remove the dropped `variant` prop. Signed-off-by: Johan Persson <johanopersson@gmail.com> * feat(catalog-graph)!: migrate CatalogGraphCard to BUI EntityInfoCard Replace MUI InfoCard with BUI EntityInfoCard in CatalogGraphCard. The `variant` prop is removed — card sizing is now handled by the BUI layout system. The deep link is replaced with a footer Link. Remove `variant="gridItem"` from all EntityCatalogGraphCard usages in app-legacy and create-app templates. Signed-off-by: Johan Persson <johanopersson@gmail.com> * feat(catalog-react): export useEntityRoute hook Signed-off-by: Johan Persson <johanopersson@gmail.com> * fix(cli): update translation extraction test for renamed org keys Signed-off-by: Johan Persson <johanopersson@gmail.com> --------- Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
+6
-7
@@ -131,7 +131,7 @@ const overviewContent = (
|
||||
<EntityAboutCard />
|
||||
</Grid>
|
||||
<Grid item md={6} xs={12}>
|
||||
<EntityCatalogGraphCard variant="gridItem" height={400} />
|
||||
<EntityCatalogGraphCard height={400} />
|
||||
</Grid>
|
||||
|
||||
<Grid item md={4} xs={12}>
|
||||
@@ -266,7 +266,7 @@ const apiPage = (
|
||||
<EntityAboutCard />
|
||||
</Grid>
|
||||
<Grid item md={6} xs={12}>
|
||||
<EntityCatalogGraphCard variant="gridItem" height={400} />
|
||||
<EntityCatalogGraphCard height={400} />
|
||||
</Grid>
|
||||
<Grid item md={4} xs={12}>
|
||||
<EntityLinksCard />
|
||||
@@ -301,7 +301,7 @@ const userPage = (
|
||||
<EntityUserProfileCard />
|
||||
</Grid>
|
||||
<Grid item xs={12} md={6}>
|
||||
<EntityOwnershipCard variant="gridItem" />
|
||||
<EntityOwnershipCard />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</EntityLayout.Route>
|
||||
@@ -317,7 +317,7 @@ const groupPage = (
|
||||
<EntityGroupProfileCard />
|
||||
</Grid>
|
||||
<Grid item xs={12} md={6}>
|
||||
<EntityOwnershipCard variant="gridItem" />
|
||||
<EntityOwnershipCard />
|
||||
</Grid>
|
||||
<Grid item xs={12} md={6}>
|
||||
<EntityMembersListCard />
|
||||
@@ -339,7 +339,7 @@ const systemPage = (
|
||||
<EntityAboutCard />
|
||||
</Grid>
|
||||
<Grid item md={6} xs={12}>
|
||||
<EntityCatalogGraphCard variant="gridItem" height={400} />
|
||||
<EntityCatalogGraphCard height={400} />
|
||||
</Grid>
|
||||
<Grid item md={4} xs={12}>
|
||||
<EntityLinksCard />
|
||||
@@ -357,7 +357,6 @@ const systemPage = (
|
||||
</EntityLayout.Route>
|
||||
<EntityLayout.Route path="/diagram" title="Diagram">
|
||||
<EntityCatalogGraphCard
|
||||
variant="gridItem"
|
||||
direction={Direction.TOP_BOTTOM}
|
||||
title="System Diagram"
|
||||
height={700}
|
||||
@@ -386,7 +385,7 @@ const domainPage = (
|
||||
<EntityAboutCard />
|
||||
</Grid>
|
||||
<Grid item md={6} xs={12}>
|
||||
<EntityCatalogGraphCard variant="gridItem" height={400} />
|
||||
<EntityCatalogGraphCard height={400} />
|
||||
</Grid>
|
||||
<Grid item md={6}>
|
||||
<EntityHasSystemsCard variant="gridItem" />
|
||||
|
||||
Reference in New Issue
Block a user