This PR is 2 of 9 related to the new single flow changes. We will merge all changes into the single-flow-development branch
first, and finally merge into main.
Please ignore test-related code for now, this is currently being refactored and updated, will be addressed in a later PR
This PR adds the configure model page (step 2 in the creation flow). Specifically, the changes include:
Adds the new ConfigureModel page, which is mostly a refactored & renamed version of the current EditFeatures page. The motivation for creating this new page was to make it clear that this page is about all model configuration settings, rather than just the created features, as well as make the layout and logic consistent with the other create flow pages for easier future maintainability and readability. Also note that the functionality of the components themselves (feature list, advanced settings, preview) have not changed, just moved to this new directory.
Adds new props to ConfigureModel container compared to EditFeatures which makes it consistent with the rest of the new create flow pages (setStep(), setInitialValues, etc.)
Update and move the helper functions to convert detector fields to Formik and vice versa
Changes validation to be consistent with the rest of the new create flow pages
Screenshot:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
This PR is 2 of 9 related to the new single flow changes. We will merge all changes into the single-flow-development branch first, and finally merge into main.
Please ignore test-related code for now, this is currently being refactored and updated, will be addressed in a later PR
This PR adds the configure model page (step 2 in the creation flow). Specifically, the changes include:
ConfigureModel
page, which is mostly a refactored & renamed version of the currentEditFeatures
page. The motivation for creating this new page was to make it clear that this page is about all model configuration settings, rather than just the created features, as well as make the layout and logic consistent with the other create flow pages for easier future maintainability and readability. Also note that the functionality of the components themselves (feature list, advanced settings, preview) have not changed, just moved to this new directory.ConfigureModel
container compared toEditFeatures
which makes it consistent with the rest of the new create flow pages (setStep()
,setInitialValues
, etc.)Screenshot:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.