[Lens] Manual Annotations (#126456)

* Add event annotation service structure

* adding annotation layer to lens. passing event annotation service

* simplify initial Dimensions

* add annotations to lens

* no datasource layer

* group the annotations into numerical icons

* color icons in tooltip, add the annotation icon, fix date interval bug

* display old time axis for annotations

* error in annotation dimension when date histogram is removed

* refactor: use the same methods for annotations and reference lines

* wip

* only check activeData for dataLayers

* added new icons for annotations

* refactor icons

* uniqueLabels

* unique Labels

* diff config from args

* change timestamp format

* added expression event_annotation_group

* names refactor

* ea service adding help descriptions

* rotate icon

* added tests

* fix button problem

* dnd problem

* dnd fix

* tests for dimension trigger

* tests for unique labels

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* type

* add new button test

* remove noDatasource from config (only needed when initializing a layer or dimension in getSupportedLayers)

* addressing Joe's and Michael comments

* remove hexagon and square, address Stratoula's feedback

* stroke for icons & icon fill

* fix tests

* fix small things

* align the set with tsvb

* align IconSelect

* fix i18nrc

* Update src/plugins/event_annotation/public/event_annotation_service/index.tsx

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

* refactor empty button

* CR

* date cr

* remove DimensionEditorSection

* change to emptyShade for traingle fill

* Update x-pack/plugins/lens/public/app_plugin/app.scss

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
This commit is contained in:
Marta Bondyra 2022-03-23 22:16:50 +01:00 committed by GitHub
parent cab3041613
commit 2f9e6eeacf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
87 changed files with 3885 additions and 806 deletions

View file

@ -12,6 +12,7 @@ import {
yAxisConfig,
dataLayerConfig,
referenceLineLayerConfig,
annotationLayerConfig,
formatColumn,
legendConfig,
renameColumns,
@ -40,6 +41,7 @@ export const setupExpressions = (
yAxisConfig,
dataLayerConfig,
referenceLineLayerConfig,
annotationLayerConfig,
formatColumn,
legendConfig,
renameColumns,