elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.78k stars 8.18k forks source link

[ResponseOps][Rules] Use the new rule form to the create rules flyout #195211

Open cnasikas opened 3 days ago

cnasikas commented 3 days ago

In https://github.com/elastic/kibana/issues/175634 we implemented the new rule form. We should use the new rule form on the create rules flyout.

Related: https://github.com/elastic/kibana/issues/179108

### DoD
- [ ] Create a package called `@kbn/response-ops-rule-form` under `packages/response-ops` and move all the code related to the rule form from the `@kbn/alerts-ui-shared`. Types that are used in other places should not be moved and can imported by the `@kbn/alerts-ui-shared` package.
- [ ] Export a flyout where it can be used to create rules using the new rule form.
- [ ] Replace the old flyout with the new one whenever is being used.
- [ ] Remove the old flyout from the `triggers_actions_ui` plugin along with all related code.
elasticmachine commented 3 days ago

Pinging @elastic/response-ops (Team:ResponseOps)