mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat: Adjust forms to include Rich Parameters (#5856)
* XService: GetTemplateParameters * Rich parameter input shows up * Render option icons * Icons * WIP * For testing purposes: template * Fix: useState * WIP: dynamic validation * Yup validation * Translations * Remove temporary template * make fmt * WIP * Fix: tests * Fix: fmt * URL param * Refactor * Test: rich param value * Storybook * Fix * Refactor for testing purposes * Typo * test: string validation * Button: build parameters * Full screen page * Fix: navigate * XState done * refactor: postWorkspaceBuild * RichParameterInput rendered * Fix: bad initial value * Validation works * Maybe * Fix * Go back button * GoBack button * Form * Fix * Storybook * Fix: CreateWorkspacePage * fmt * Test * ns * fmt * All tests * feat: WorkspaceActions depend on template parameters * Fix
This commit is contained in:
@ -30,6 +30,7 @@ const CreateWorkspacePage: FC = () => {
|
||||
})
|
||||
const {
|
||||
templates,
|
||||
templateParameters,
|
||||
templateSchema,
|
||||
selectedTemplate,
|
||||
getTemplateSchemaError,
|
||||
@ -57,6 +58,7 @@ const CreateWorkspacePage: FC = () => {
|
||||
templateName={templateName}
|
||||
templates={templates}
|
||||
selectedTemplate={selectedTemplate}
|
||||
templateParameters={templateParameters}
|
||||
templateSchema={templateSchema}
|
||||
createWorkspaceErrors={{
|
||||
[CreateWorkspaceErrors.GET_TEMPLATES_ERROR]: getTemplatesError,
|
||||
|
Reference in New Issue
Block a user