-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[maps][alerting] fix ES query rule boundary field changed when editin…
…g the rule (#165155) Fixes #163959 While digging into the original issue, it was determined that the existing components were unsalvageable. Fixing all of the issues would have required more work than just starting over. Problems with original components include: 1) updating rule state on component load. This is the cause of the reported bug. 2) lack of loading state when performing async tasks, like loading data views. 3) not displaying validation errors. When users clicked "save" with missing configuration, no UI notifications were displayed 4) Heavy use of EuiExpression made it impossible to view all configuration in a single time Now, geo containment form: 1) Only updates rule state when users interact with inputs. 2) Displays loading state when performing async tasks, like loading data views. 3) Displays validation errors 4) Has a simpler UI that allows users to see all configuration information at the same time. <img width="300" alt="Screen Shot 2023-08-30 at 5 34 00 PM" src="https://github.com/elastic/kibana/assets/373691/65abfa5d-6c8e-45a9-b69f-cc07f5be7184"> <img width="300" alt="Screen Shot 2023-08-30 at 5 34 48 PM" src="https://github.com/elastic/kibana/assets/373691/63b5af12-7104-43ae-a836-0236cf9d1e98"> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
633aebe
commit 118ea87
Showing
31 changed files
with
944 additions
and
1,722 deletions.
There are no files selected for viewing
Binary file removed
BIN
-84.1 KB
docs/user/alerting/images/alert-types-tracking-containment-conditions.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
278 changes: 0 additions & 278 deletions
278
...ntainment/query_builder/__snapshots__/geo_containment_alert_type_expression.test.tsx.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.