Assorted scaffolder form help text improvements (#2467)
* Prompt the user for a description in templates The text "Description of the component" was a little redundant since the label already says "Description". This description text hints to the user why they should bother adding an informative description. * Inform user about lowercase, url-safe constraint Create React App scaffolding fails when a name with spaces or other non-url-safe chars are provided. Instead of making the user wait for a failure, Backstage should tell them about this constraint up front.
This commit is contained in:
@@ -22,11 +22,11 @@ spec:
|
||||
component_id:
|
||||
title: Name
|
||||
type: string
|
||||
description: Unique name of the component
|
||||
description: Unique name of the component. Lowercase, URL-safe characters only.
|
||||
description:
|
||||
title: Description
|
||||
type: string
|
||||
description: Description of the component
|
||||
description: Help others understand what this website is for.
|
||||
use_typescript:
|
||||
title: Use Typescript
|
||||
type: boolean
|
||||
|
||||
@@ -25,5 +25,5 @@ spec:
|
||||
description:
|
||||
title: Description
|
||||
type: string
|
||||
description: Description of the component
|
||||
description: Help others understand what these docs are about.
|
||||
|
||||
|
||||
@@ -24,4 +24,4 @@ spec:
|
||||
description:
|
||||
title: Description
|
||||
type: string
|
||||
description: Description of the component
|
||||
description: Help others understand what this website is for.
|
||||
|
||||
@@ -25,7 +25,7 @@ spec:
|
||||
description:
|
||||
title: Description
|
||||
type: string
|
||||
description: Description of the component
|
||||
description: Help others understand what this service does.
|
||||
http_port:
|
||||
title: Port
|
||||
type: integer
|
||||
|
||||
Reference in New Issue
Block a user