Add support for a configurable "My Contributions" tab in the generic-list-view that filters resources to only those where the current user has a relation (e.g. contributor, owner).
Motivation
The generic-list-view currently fetches all resources via the Kubernetes/GraphQL API and has no concept of per-user filtering. Teams want to give users a quick way to see only the resources they created or contribute to — the same UX pattern already present in the organization-ui workspace listing.
Technical requirements
This feature needs the search-operator, in order to filter for resources based on a defined relation.
Proposed ContentConfiguration API
Extend tabel-card with an optional tabs array:
{
"ui": {
"listView": {
"tabs": [
{
"label": "All Components",
"default": true
},
{
"label": "My Contributions",
"filterByCurrentUserRelation": "contributor"
}
],
"fields": [ ... ]
}
}
}
When filterByCurrentUserRelation is set, the tab switches the data source from the K8s/GraphQL API to the search API and applies a permissions filter for the current user + the given relation.
Example:

Add support for a configurable "My Contributions" tab in the
generic-list-viewthat filters resources to only those where the current user has a relation (e.g.contributor,owner).Motivation
The
generic-list-viewcurrently fetches all resources via the Kubernetes/GraphQL API and has no concept of per-user filtering. Teams want to give users a quick way to see only the resources they created or contribute to — the same UX pattern already present in the organization-ui workspace listing.Technical requirements
This feature needs the
search-operator, in order to filter for resources based on a defined relation.Proposed ContentConfiguration API
Extend
tabel-cardwith an optionaltabsarray:{ "ui": { "listView": { "tabs": [ { "label": "All Components", "default": true }, { "label": "My Contributions", "filterByCurrentUserRelation": "contributor" } ], "fields": [ ... ] } } }When
filterByCurrentUserRelationis set, the tab switches the data source from the K8s/GraphQL API to the search API and applies apermissionsfilter for the current user + the given relation.Example: