Merge pull request #15063 from rikez/feat/enhance-owner-picker

feat(scaffolder): add EntityFilterQuery support on Entity and Owner Picker components
This commit is contained in:
Johan Haals
2022-12-22 16:44:32 +01:00
committed by GitHub
15 changed files with 320 additions and 35 deletions
@@ -44,8 +44,8 @@ spec:
description: Owner of the component
ui:field: OwnerPicker
ui:options:
allowedKinds:
- Group
catalogFilter:
kind: Group
- title: Choose a location
required:
- repoUrl
@@ -459,7 +459,7 @@ an owner for them. Ideally, users should be able to select an owner when they go
through the scaffolder form from the users and groups already known to
Backstage. The `OwnerPicker` is a custom field that generates a searchable list
of groups and/or users already in the catalog to pick an owner from. You can
specify which of the two kinds are listed in the `allowedKinds` option:
specify which of the two kinds (or both) are listed in the `catalogFilter.kind` option:
```yaml
owner:
@@ -468,8 +468,8 @@ owner:
description: Owner of the component
ui:field: OwnerPicker
ui:options:
allowedKinds:
- Group
catalogFilter:
kind: [Group, User]
```
## `spec.steps` - `Action[]`