kibana/packages/kbn-event-annotation-components/components
Drew Tate 2331a4cce3
[Lens] fix annotation controls bug (#174951)
## Summary

Fix https://github.com/elastic/kibana/issues/174653

The bug that was causing the failures


058a99cd-b7a6-4e3b-9f99-208b2712136a



I fixed it by divorcing the state of the annotation controls from the
redux store. Redux is still notified with changes to the annotation
group, but the UI no longer waits on the global state. That makes things
faster and resolved this state management weirdness.

I feel that we should consider a similar approach with the rest of Lens
(see https://github.com/elastic/eui/issues/6147#issuecomment-1531870102
for more discussion).

Passing flaky test runner
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4895

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2024-01-26 08:22:47 -06:00
..
annotation_editor_controls [Lens] fix annotation controls bug (#174951) 2024-01-26 08:22:47 -06:00
event_annotation_group_saved_object_finder.tsx Make SavedObjectFinder backward compatible (#162904) 2023-08-08 13:10:29 +02:00
get_annotation_accessor.ts
index.ts [Event annotations] Individual annotation editing from library (#163346) 2023-09-20 10:09:17 +03:00