Merge pull request #20339 from backstage/vinzscam/user-list-picker

UserListPicker: decouple from EntityListContext
This commit is contained in:
Patrik Oldsberg
2023-10-23 10:24:48 +02:00
committed by GitHub
19 changed files with 1496 additions and 315 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-catalog-react': minor
---
The `UserListPicker` component has undergone improvements to enhance its performance.
The previous implementation inferred the number of owned and starred entities based on the entities available in the `EntityListContext`. The updated version no longer relies on the `EntityListContext` for inference, allowing for better decoupling.
The component now loads the entities' count asynchronously, resulting in improved performance and responsiveness. For this purpose, some of the exported filters such as `EntityTagFilter`, `EntityOwnerFilter`, `EntityLifecycleFilter` and `EntityNamespaceFilter` have now the `getCatalogFilters` method implemented.