…Rule Form Page (#194516) (#195697)
# Backport
This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Flapping] Add Rule Specific Flapping Form to New Rule
Form Page (#194516)](#194516)
<!--- Backport version: 9.4.3 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-10T02:01:58Z","message":"[ResponseOps][Flapping]
Add Rule Specific Flapping Form to New Rule Form Page (#194516)\n\n##
Summary\r\n\r\nDepends on:
https://github.com/elastic/kibana/pull/194086\r\nDesigns:\r\nhttps://www.figma.com/design/eTr6WsKzhSLcQ24AlgrY8R/Flapping-per-Rule--%3E-%23294?node-id=5265-29867&node-type=frame&t=1VfgdlcjkSHmpbje-0\r\n\r\nAdds
the rule specific flapping form to the new rule form page. \r\n\r\n## To
test:\r\n\r\n1. change `IS_RULE_SPECIFIC_FLAPPING_ENABLED` to true
\r\n2. run `yarn start --run-examples`\r\n3. assert the new flapping UI
exists by going to developer examples ->\r\ncreate/edit rule\r\n\r\n<img
width=\"1162\" alt=\"Screenshot 2024-09-30 at 11 43
16 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/a1275a49-f2ed-43ce-815b-5c0bd93770e5\">\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"447617e2be18cbf8fdd495cb4b9570921b7fd467","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[ResponseOps][Flapping]
Add Rule Specific Flapping Form to New Rule Form
Page","number":194516,"url":"https://github.com/elastic/kibana/pull/194516","mergeCommit":{"message":"[ResponseOps][Flapping]
Add Rule Specific Flapping Form to New Rule Form Page (#194516)\n\n##
Summary\r\n\r\nDepends on:
https://github.com/elastic/kibana/pull/194086\r\nDesigns:\r\nhttps://www.figma.com/design/eTr6WsKzhSLcQ24AlgrY8R/Flapping-per-Rule--%3E-%23294?node-id=5265-29867&node-type=frame&t=1VfgdlcjkSHmpbje-0\r\n\r\nAdds
the rule specific flapping form to the new rule form page. \r\n\r\n## To
test:\r\n\r\n1. change `IS_RULE_SPECIFIC_FLAPPING_ENABLED` to true
\r\n2. run `yarn start --run-examples`\r\n3. assert the new flapping UI
exists by going to developer examples ->\r\ncreate/edit rule\r\n\r\n<img
width=\"1162\" alt=\"Screenshot 2024-09-30 at 11 43
16 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/a1275a49-f2ed-43ce-815b-5c0bd93770e5\">\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"447617e2be18cbf8fdd495cb4b9570921b7fd467"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194516","number":194516,"mergeCommit":{"message":"[ResponseOps][Flapping]
Add Rule Specific Flapping Form to New Rule Form Page (#194516)\n\n##
Summary\r\n\r\nDepends on:
https://github.com/elastic/kibana/pull/194086\r\nDesigns:\r\nhttps://www.figma.com/design/eTr6WsKzhSLcQ24AlgrY8R/Flapping-per-Rule--%3E-%23294?node-id=5265-29867&node-type=frame&t=1VfgdlcjkSHmpbje-0\r\n\r\nAdds
the rule specific flapping form to the new rule form page. \r\n\r\n## To
test:\r\n\r\n1. change `IS_RULE_SPECIFIC_FLAPPING_ENABLED` to true
\r\n2. run `yarn start --run-examples`\r\n3. assert the new flapping UI
exists by going to developer examples ->\r\ncreate/edit rule\r\n\r\n<img
width=\"1162\" alt=\"Screenshot 2024-09-30 at 11 43
16 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/a1275a49-f2ed-43ce-815b-5c0bd93770e5\">\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"447617e2be18cbf8fdd495cb4b9570921b7fd467"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
Summary
Depends on: #194086
Designs: https://www.figma.com/design/eTr6WsKzhSLcQ24AlgrY8R/Flapping-per-Rule--%3E-%23294?node-id=5265-29867&node-type=frame&t=1VfgdlcjkSHmpbje-0
Adds the rule specific flapping form to the new rule form page.
To test:
IS_RULE_SPECIFIC_FLAPPING_ENABLEDto trueyarn start --run-examplesChecklist