* [UnifiedFieldList] Extract FieldsAccordion component from Lens
* [UnifiedFieldList] Extract FieldList component from Lens
* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'
* [UnifiedFieldList] Rename component
* [UnifiedFieldList] Start extracting logic for fetching fields existence info
* [UnifiedFieldList] Start extracting logic for fetching fields existence info
* [UnifiedFieldList] Fix special and runtime fields
* [UnifiedFieldList] Start extracting logic for fetching fields existence info
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* [UnifiedFieldList] Make API stricter
* [UnifiedFieldList] Make sure that key is specified for items
* [UnifiedFieldList] Fetch data for all active data views
* [UnifiedFieldList] Refactor some other occurances
* [UnifiedFieldList] Update more tests
* [UnifiedFieldList] Fix some checks
* [UnifiedFieldList] Some progress on updating tests
* [UnifiedFieldList] Update more tests
* [UnifiedFieldList] Skip redundant request's results
* [UnifiedFieldList] Update more tests
* [UnifiedFieldList] Improve tests
* [UnifiedFieldList] Improve tests
* [UnifiedFieldList] Improve tests
* [UnifiedFieldList] Move grouping into a customizable hook
* [UnifiedFieldList] Fix after the merge
* [UnifiedFieldList] Fix checks
* Revert "[UnifiedFieldList] Fix after the merge"
This reverts commit 500db7ed89.
* [UnifiedFieldList] Handle merge better
* [UnifiedFieldList] Update the naming
* [UnifiedFieldList] Support Selected fields
* [UnifiedFieldList] Update tests
* [UnifiedFieldList] Fix grouping
* [UnifiedFieldList] Update more tests
* [UnifiedFieldList] Fix refetch after adding a field
* [UnifiedFieldList] Load es query builder in async way
* [UnifiedFieldList] Fix a bug in case of renaming a field
* [UnifiedFieldList] Small refactoring
* [UnifiedFieldList] Refactor text based view
* [UnifiedFieldList] Better types support
* [UnifiedFieldList] Simplify props
* [UnifiedFieldList] Fix types
* [UnifiedFieldList] Async loading for FieldListGrouped code
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add more tests
* [UnifiedFieldList] Add docs
* [UnifiedFieldList] Clean up
* [UnifiedFieldList] Fix onNoData callback
* [UnifiedFieldList] Address PR comments
* [UnifiedFieldList] Address PR comments
* [UnifiedFieldList] Support a custom data-test-subj
* [UnifiedFieldList] Fix concurrency handling logic
* [UnifiedFieldList] Remove a generic tooltip message. Lens and Discover will have their own tooltips.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
* Fixed way of expression building at Lens datatable.
* CollapseFn type safety added.
* Removed duplicated export.
* Small refactoring
* Added datatableColumnFn expression.
* Added type safety for datatable fn.
* Update x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx
Co-authored-by: Andrew Tate <drewctate@gmail.com>
Co-authored-by: Andrew Tate <drewctate@gmail.com>
* [Lens] Enable text-based languages-sql
* Display data
* Chart switcher and further fixes
* Drag and drop fixes
* Small fix
* Multiple improvements
* Errors implementation and save and exit
* Some cleanup
* Fix types failures
* Revert change
* Fix underlying data error
* Fix jest test
* Fixes app test
* Rename datasource to textBased
* display the dataview picker component but disabled
* Fix functional test
* Refactoring
* Populate the dataview to theembeddable
* Load sync
* sync load of the new dtsource
* Fix
* Fix bug when the dtaview is not found
* Refactoring
* Add some unit tests
* Add some unit tests
* Add more unit tests
* Add a functional test
* Add all files
* Update lens limit
* Fixes bug
* Bump lens size
* Fix flakiness
* Further fixes
* Fix check
* More fixes
* Fix test
* Wait for query to run
* More changes
* Fix
* Fix the function input to fetch from variable
* Remove the colorFullBackground check
* Fix dashboard bug when timeRange changes
* Remove the clear on query update, show column error instead
* Render a field missing label in case the label is not defined
* Fix
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
* [Lens] Introduce separate dimension groups for mosaic rows and columns
* swap labels
* fix nits
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
* Move date histogram column meta utility function to the datatable utilities service
* Move number histogram interval utility function to the datatable utilities service
* Move precision error check to the datatable utility service
* add collapse fn to table and xy chart
* adjust documentation
* bug fixes
* tests and fixes
* fix bug
* allow color picking if collapse fn is active
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
* Removed lens_multitable from lens_datatable
* Removed lens_multitable from heatmap.
* Added datasource to the metric.
* Added datasource expression to pie.
* Added datasource expression to gauge.
* Fixed tests.
* Removed LensMultiTable.
* Removed additional `kibana` expression from the xy to_expression.
* Removed lens_multitable from x-pack/maps.
* Removed unused translation.
* Added `handlers.inspectorAdapters.tables.reset` to all the expressions from lens.
* Fixed choropleth chart.
* Fixed gauge tests.
* Fixed jest tests with inspector.tables.reset.
* Added tests for the new behavior.
* Added extended layers expressions.
* Added support of tables at layers.
* Added annotations to layeredXyVIs.
* Refactored the implementation to be reusable.
* Fixed undefined layers.
* Fixed empty arrays problems.
* Fixed input translations and removed not used arguments.
* Fixed missing required args error, and added required to arguments.
* Simplified expression configuration.
* Added strict to all the expressions.
* Moved dataLayer to the separate component.
* Refactored dataLayers helpers and xy_chart.
* fillOpacity usage validation is added.
* Fixed valueLabels argument options. Removed not used. Added validation for usage.
* Added validation to the layeredXyVis.
* Fixed extent validation.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
* Fix imports from restricted paths
* Re-export EmbeddableRegistryDefinition from embedabble server and fix some imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 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>
* Add datatable metadata support
* Fix datatable-based expressions to preserve metadata
* Update ES expression functions to return hits total count in the metadata
* [Lens] Set legend pixel width
* Update tests to include legendSize
* Fix typo in legend_settings_popover.test.tsx
* Update text for tooltips
* Fix row display for small screen
* Update legend size setting interface
* Fix label condition
* Add disable for switch
* Change condition for input disabling
* Update translation key
* Replace legend width setting input with select, make it disabled for horizontal legends and move number of columns setting outside of legend location settings component to place legend width setting above
* Capitalize legend sizes select values names
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* ✨ Add new rowHeight feature
* ✅ Add unit tests for new feature
* 🗃️ Update migration logic
* 🏷️ Fix type issue
* ✅ fix usual map migration test
* Update x-pack/plugins/lens/public/datatable_visualization/components/toolbar.tsx
* 🐛 Enable word wrap for multi lines
* ✅ Fix unit test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* allow last value, min and max on dates
* fix tests
* fix typo
* fix tests
* nit
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Removed pie/donut/mosaic/treemap expressions from lens
* Replaced pie/donut/mosaic/treemap expressions with expressions from expression_partition_vis
* Fixed bug with __other__ labels.
* Cleaned up not used fields at Lens.
* Added support of empty results for multiple chart types.]
* Refactored visualization_noresults.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 🐛 Make top values work with custom formatter
* 🐛 Make custom formatter work with multi-terms formatter
* 🐛 simplify parentFormat logic and add more tests
* 👌 Integrate feedback
* ✨ Add migration for top values formatting
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>