Skip to main content

Repo Url Picker

Overview

This picker lets the user decide the target repository where the scaffolded component will be stored. witboost will create the repository according to the coordinates provided by the user, usually a namespace and a repository name.

Configuration

RepoUrl picker fields can be customized to provide meaningful titles and helper texts that matter to your organization and way of working.

According to the Git provider configured for being used in witboost you can have a different set of fields for the RepoUrl picker. These are all configurable fields according to your Git provider:

Optional fields:

  • allowedOwnersLabel [string] The allowed owners' field label, that is displayed on top of the input field.

  • ownerInputLabel [string] The owner field label, that is displayed on top of the input field.

  • ownerInputHelper [string] The owner field helper text, that is displayed below the input field as an informative text.

  • repositoryNameTitle [string] The repository name field title, that is displayed on top of the input field.

  • repositoryNameDescription [string] The repository name field's description, that is displayed below the input field as an informative text.

Example:

repoUrl:
title: Repository Location
allowedOwnersLabel: Allowed Owners
ownerInputLabel: Owner
ownerInputHelper: Owner of the repository
repositoryNameTitle: Repository Name
repositoryNameDescription: Choose a repository name
type: string
ui:field: RepoUrlPicker
ui:options:
allowedHosts:
- <your gitlab host address>