This PR is 1 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 logic & structure for the new step format in the create detector flow, and the new detector definition page (step 1). Specifically, the changes include:
Add CreateDetectorSteps page, which is the hierarchical component used to render the specific step the user is on, as well as keep track of any saved intermediate Formik values
Add DefineDetector page, which is mostly a refactored version of the createDetector page, with a new layout and a new data filter section
Updates the data filter component to be consistent with the Kibana discover page. Because of this, the data filter data model has changed to have separate filter types for each filter (simple or custom), as well as an optional custom label.
Updated helper functions to convert data filter metadata into Formik fields and vice versa
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 1 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 logic & structure for the new step format in the create detector flow, and the new detector definition page (step 1). Specifically, the changes include:
CreateDetectorSteps
page, which is the hierarchical component used to render the specific step the user is on, as well as keep track of any saved intermediate Formik valuesDefineDetector
page, which is mostly a refactored version of the createDetector page, with a new layout and a new data filter sectionScreenshot:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.