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:
@@ -52,7 +52,7 @@ describe('extractTranslations', () => {
|
||||
expect(refs[0].messages).toHaveProperty(['membersListCard.title']);
|
||||
|
||||
// Verify interpolation placeholders are preserved
|
||||
expect(refs[0].messages['membersListCard.subtitle']).toContain(
|
||||
expect(refs[0].messages['membersListCard.title']).toContain(
|
||||
'{{groupName}}',
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user