OwnerPicker to support output options
See original GitHub issueFeature Suggestion
When selecting the User using the OwnerPicker that was recently contributed by @tragiclifestories, the output is User: john.smith
There is no option to just output john.smith
for the user and no way to add other fields that you would like to be shown in the dropdown.
Possible Implementation
Introduce two new UI Options called allowedOutput to exclude the User:
by defining the field name you would like to output and allowedMetadata to include specific fields you would like shown in the dropdown such as displayName.
owner:
title: Component Owner
type: string
description: Owner of the component
ui:field: OwnerPicker
ui:options:
allowedKinds:
- User
allowedMetadata:
- name
- displayName
allowedOutput:
- name
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Writing Templates · Backstage Software Catalog and ...
Each individual step can output some variables that can be used in the scaffolder frontend for after the job is finished. This is...
Read more >Writing scaffolder templates - Roadie.io
The owner picker, allows the user to select a user / group in the Backstage catalog. e.g.. parameters: properties: owner: type: string ...
Read more >backstage/plugin-scaffolder-backend-module-cookiecutter - npm
Configure the action: (you can check the docs to see all options): ... owner: backstage/techdocs-core type: service parameters: - title: ...
Read more >Software Templates - Backstage with OrkoHunter - YouTube
Today, let's explore Software Templates in backstage.io - how to create new templates, how to use Scaffolder actions and create new ones.
Read more >Backstage (from Spotify) Templates with Grid controls
... component ui:field: OwnerPicker ui:options: allowedKinds: - Group ... repoContentsUrl }} catalogInfoPath: "/catalog-info.yaml" output: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, you can definitely make a separate picker implementation for this.
Thanks @regicsolutions !