Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Template): Parameters Panel (#4815)
* display parameters correctly with the designer UI for parameters * made only value params field editable * added validation logic * enforced required with error handling * seperated templateParameters field with description * cleaned files not used & naming * moved validate parameter value logic to validation to avoid duplication * added tests for validateParameterValueWithSwaggerType * added templateParametersField test * shifted from templateParameterField to workflowParameterField adding extra attributes * modified workflowparameterfield test to reflect template description * added some test case for display parameters * added coverage for validation error * Fixed duplicate type rendering issue for tests
- Loading branch information
1 parent
6b21a68
commit 1911f55
Showing
15 changed files
with
605 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './workflowparameter'; | ||
export * from './workflowparameters'; | ||
export * from './workflowparametersFooter'; | ||
export * from './workflowparametersField'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.