kibana/packages/kbn-event-annotation-components
Marco Liberati 8902e06ae6
[Lens] Fix reference line width stale update (#184414)
## Summary

Fixes #182775

Prevents stale update on line width update.
I suspect the root problem there was due to this commit
0657a08651 applied for too many
re-renderings within the annotation panel. I've removed the fix there
and used a `useMemo` for the `currentConfig` prop in the parent
component to stabilize the object reference on change.

I've profiled the renderings with the React profiler without noticing
any particular issue.
2024-06-05 10:07:13 +02:00
..
components [Lens] Fix reference line width stale update (#184414) 2024-06-05 10:07:13 +02: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.