changeset

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
This commit is contained in:
Tim Hansen
2021-05-13 12:23:14 -06:00
parent 00838c02db
commit 17c497b812
2 changed files with 16 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
---
'@backstage/plugin-catalog': minor
'@backstage/plugin-catalog-react': minor
---
Reworks how catalog entities are fetched from the `catalog-backend` for the main
catalog homepage. This enables easier customization of the catalog, and supports
showing all types of catalog entities rather than just components.
This change only affects those that have replaced the default `CatalogPage` with
a custom implementation.
The `useFilteredEntities` and `useEntityFilterGroups` hooks have been replaced
with a `useEntityListProvider` hook and wrapping `EntityListProvider` context.
This handles querying the `catalog-backend` and applying filters that can either
provide query parameters or a frontend filtering function.
-1
View File
@@ -19,7 +19,6 @@ export { EntityLayout } from './components/EntityLayout';
export { EntityPageLayout } from './components/EntityPageLayout';
export { CatalogTable } from './components/CatalogTable';
export * from './components/EntitySwitch';
export { EntityTypePicker } from './components/EntityTypePicker';
export { Router } from './components/Router';
export {
CatalogEntityPage,