kibana/x-pack/examples/alerting_example
Zacqary Adam Xeper 367ff8dbec
[Response Ops] [Rule Form] Add Rule Form Flyout v2 (#206685)
## Summary

Part of #195211

Replaces the create/edit rule flyout with the new rule flyout

<img width="1032" alt="Screenshot 2025-01-14 at 3 12 30 PM"
src="https://github.com/user-attachments/assets/9cbcf4f8-1078-4f7e-a55a-aacc2d877a14"
/>
<img width="1383" alt="Screenshot 2025-01-14 at 3 12 52 PM"
src="https://github.com/user-attachments/assets/2270d57b-9462-4898-9dd0-41baefcc02d4"
/>

Restores the confirmation prompt before canceling or saving a rule
without actions defined.

Also fixes most of the design papercuts in the Actions step:

<img width="494" alt="Screenshot 2025-01-14 at 3 11 06 PM"
src="https://github.com/user-attachments/assets/3cf21d43-88e0-4250-b290-a545e1ebdbcf"
/>
<img width="494" alt="Screenshot 2025-01-14 at 3 11 01 PM"
src="https://github.com/user-attachments/assets/00ef3f95-c91b-4bb7-aead-a3e23c02f7df"
/>





### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-04 16:52:58 +02:00
..
common fix all violations 2022-04-16 01:37:30 -05:00
public [Response Ops] [Rule Form] Add Rule Form Flyout v2 (#206685) 2025-03-04 16:52:58 +02:00
server [ResponseOps][Alerting] Decouple feature IDs from consumers (#183756) 2024-12-03 12:21:53 +02:00
jest.config.js adds an example rule type example.pattern (#150068) 2023-02-07 10:33:12 -05:00
kibana.jsonc [Response Ops] [Rule Form] Add Rule Form Flyout v2 (#206685) 2025-03-04 16:52:58 +02:00
README.md [Response Ops] Renaming Alert to Rule (#129136) 2022-04-04 07:32:32 -04:00
tsconfig.json [Response Ops] [Rule Form] Add Rule Form Flyout v2 (#206685) 2025-03-04 16:52:58 +02:00

Alerting Example

This example plugin shows you how to create a custom Rule Type, create rules based on that type and corresponding UI for viewing the details of all the rules within the custom plugin.

To run this example, use the command yarn start --run-examples.