Catalog Customization
The Backstage software catalog comes with a default CatalogIndexPage to filter and find catalog entities. This is already set up by default by @backstage/create-app. If you want to change the default index page - to set the initially selected filter, adjust columns, add actions, or to add a custom filter to the catalog - the following sections will show you how.
Pagination
Initial support for pagination of the CatalogIndexPage was added in v1.21.0 of Backstage, so make sure you are on that version or newer to use this feature. To enable pagination you simply need to pass in the pagination prop like this:
<Route path="/catalog" element={<CatalogIndexPage pagination />} />
Initially Selected Filter
By default, the initially selected filter defaults to Owned. If you are still building up your catalog this may show an empty list to start. If you would prefer this to show All as the default, here's how you can make that change:
<Route
path="/catalog"
element={<CatalogIndexPage initiallySelectedFilter="all" />}
/>
Possible options are: owned, starred, or all
Initially Selected Kind
By default, the initially selected Kind when viewing the Catalog is Component, but you may have reasons that you want this to be different. Let's say at your Organization they would like it to always default to Domain, here's how you would do that:
<Route path="/catalog" element={<CatalogIndexPage initialKind="domain" />} />
Possible options are all the default Kinds as well as any custom Kinds that you have added.
Owner Picker Mode
The Owner filter by default will only contain a list of Users and/or Groups that actually own an entity in the Catalog, now you may have reason to change this. Here's how:
<Route path="/catalog" element={<CatalogIndexPage ownerPickerMode="all" />} />
Possible options are: owners-only or all