-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend) Support LIST, STRUCT type in RuntimeConfig parameters (#…
…7991) * Convert string-type user input to real-type pararmeter. (Currently supporting num, bool, str) * Delete unnecessary console.log * Change incorrect type. Add TODO Move inputConvert out from function component. Check parameter type by PipelineSpec before converting. * Format. * Move inputConverter out from function component. Delete unnecessary console.log * Change inputConverter from if-else to switch. Assign invalid input to null. * 1. Change paramTypeIdx to ParameterTypeEnum. 2. Add tests to validate the changes. * Format * Support LIST and STRUCT type. * 1. Fixed default value bugs. 2. Added unit test for LIST and STRUCT type parameters. * Added type into param. * Added comment. * Added unit test for invalid JSON form input. * Removed incorrect merge conflicts. * Support double type. Added and modified unit tests. * Clean unnecessary expect() in the unit tests. * Added additional tests to check for the existence of display value 4.56
- Loading branch information
Showing
2 changed files
with
281 additions
and
29 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
Oops, something went wrong.