From d4abd7f0f2f7a1b1ad7a3907c4e4e6033853d904 Mon Sep 17 00:00:00 2001 From: Peter Macdonald Date: Mon, 5 Jan 2026 10:23:33 +0100 Subject: [PATCH] NFS entityKindFilter Signed-off-by: Peter Macdonald --- packages/app-next/app-config.yaml | 3 +++ plugins/org/src/alpha.tsx | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/packages/app-next/app-config.yaml b/packages/app-next/app-config.yaml index 1121cfc0d5..f376c934d3 100644 --- a/packages/app-next/app-config.yaml +++ b/packages/app-next/app-config.yaml @@ -30,6 +30,9 @@ app: config: showAggregateMembersToggle: true initialRelationAggregation: aggregated + # - entity-card:org/ownership: + # config: + # entityFilterKind: ['Component', 'API', 'Resource', 'System'] # - apis.plugin.graphiql.browse.gitlab: true # - graphiql-endpoint:graphiql/gitlab: true diff --git a/plugins/org/src/alpha.tsx b/plugins/org/src/alpha.tsx index 57924a0269..5532767fea 100644 --- a/plugins/org/src/alpha.tsx +++ b/plugins/org/src/alpha.tsx @@ -65,6 +65,7 @@ const EntityOwnershipCard = EntityCardBlueprint.makeWithOverrides({ initialRelationAggregation: z => z.enum(['direct', 'aggregated']).optional(), showAggregateMembersToggle: z => z.boolean().optional(), + entityFilterKind: z => z.array(z.string()).optional(), }, }, factory(originalFactory, { config }) { @@ -79,6 +80,9 @@ const EntityOwnershipCard = EntityCardBlueprint.makeWithOverrides({ ? undefined : !config.showAggregateMembersToggle } + entityFilterKind={ + config.entityFilterKind ?? ['Component', 'API', 'System'] + } /> )), });