kibana/packages/kbn-event-annotation-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
..
components [Lens] fix annotation controls bug (#174951) 2024-01-26 08:22:47 -06:00
constants.ts [Lens][Event annotations] Move logic into packages (#161500) 2023-07-19 09:46:57 -05:00
index.ts [Event annotations] Individual annotation editing from library (#163346) 2023-09-20 10:09:17 +03:00
jest.config.js [Event annotations] Individual annotation editing from library (#163346) 2023-09-20 10:09:17 +03:00
kibana.jsonc [Lens][Event annotations] Move logic into packages (#161500) 2023-07-19 09:46:57 -05:00
package.json [Lens][Event annotations] Move logic into packages (#161500) 2023-07-19 09:46:57 -05:00
README.md [Lens][Event annotations] Move logic into packages (#161500) 2023-07-19 09:46:57 -05:00
tsconfig.json [Discover] Show field tokens in the grid header (#167179) 2023-10-05 14:02:13 +02:00
types.ts Make SavedObjectFinder backward compatible (#162904) 2023-08-08 13:10:29 +02:00

@kbn/event-annotation-components

A collection of static components used for interacting with event annotations.