Commit graph

100 commits

Author SHA1 Message Date
Andrew Tate
e2d3bb9dec
[Lens] Multi metric partition charts (#143966) 2022-11-14 16:49:39 -07:00
Julia Rechkunova
ca1c58d3df
[UnifiedFieldList] Migrate field list components from Lens to UnifiedFieldList (#142758)
* [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>
2022-11-02 13:18:21 +01:00
Angela Chuang
e6ae2f2cee
[Security Solution] Add custom features to lens (#138995)
* allows not to show inspector

* pass adapters to onLoad

* update unit tests

* metric alignment

* clean up

* update style

* fix type error

* fix types

* clean up types

* fix unit tests

* fix unit tests

* reuse textAlignment

* update configs

* remove unused args

* rm unused props

* fix types

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix unit tests

* update FTR configs

* update snapshot

* rename arg

* update lens attributes

* revert picture

* add comment

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-02 04:39:48 -07:00
Yaroslav Kuznietsov
74829e527f
[Lens] Datatable expression types improvement. (#144173)
* 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>
2022-11-01 10:26:32 +02:00
Andrew Tate
66041ca2c2
[Lens] Support metric trendlines (#141851) 2022-10-18 14:50:51 -05:00
Alexey Antonov
c38712a5be
[Lens] Bundle Size Reduction (#142938)
* [Draft][Lens] Bundle Size Reduction

* fix JEST

* update some imports

* Update x-pack/plugins/lens/common/expressions/datatable/sorting.tsx

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2022-10-10 03:12:10 -07:00
Alexey Antonov
42f0868a04
Fix Failing test: Jest Tests.x-pack/plugins/lens/common/expressions/time_scale - time_scale should work with relative time range (#142837)
Closes: #142820
2022-10-06 16:23:53 +02:00
Alexey Antonov
4854f425c8
[Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard (#142741)
* [Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard

Closes: #142615

* add test

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

* bundle size reduction

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 10:54:56 +03:00
Stratoula Kalafateli
4c3cd034aa
[Lens] Enables text-based languages (SQL) (#140469)
* [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>
2022-09-27 14:32:52 +03:00
Joe Reuter
02a07f3dc6
[Lens] Add bit formatter (#141372)
* add bit formatter

* default to 0 decimals

* make sure to set format id correctly

* fix test
2022-09-23 18:59:51 +02:00
Alexey Antonov
a60b730d0e
[Lens] Time scaling without date histogram (#140107)
* [Lens] Time scaling without date histogram

Closes: #79656

* cleanup

* fix observability tests

* fix scale_fn jest

* add test

* fix PR comments

* fix PR comment

* remove adjustTimeScaleOnOtherColumnChange

* add reducedTimeRange argument into time_scale

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-15 13:14:23 +03:00
Andrew Tate
1a30682fce
[Lens] collapse by for partition charts (#140336) 2022-09-12 12:17:04 -05:00
Joe Reuter
385dc10e3a
apply single fn correctly (#140381) 2022-09-09 15:02:11 +02:00
Alexey Antonov
6ed79f42db
[Lens] Introduce separate dimension groups for mosaic rows and columns (#139214)
* [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>
2022-09-07 22:55:12 +03:00
Joe Reuter
c72e6ee59e
[Lens] Add one click filter to Lens table (#139701)
* add one click filter to Lens table

* fix tests
2022-09-05 16:14:08 +02:00
Andrew Tate
54a5ed586a
[Lens] migrate metric visualization IDs (#139251) 2022-08-24 11:38:55 +02:00
Julia Rechkunova
47b69298a5
[UnifiedFieldList] Move Field Stats from Lens to UnifiedFieldList plugin (#136328)
* [UnifiedFieldList] Bootstrap a new unifiedFieldList plugin

* [UnifiedFieldList] Move backend API for field stats from Lens to UnifiedFieldList plugin

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

* [Discover] Address CI checks

* [UnifiedFieldList] Move field stats UI from Lens to UnifiedFieldList plugin

* [Discover] Integrate FieldStats into Discover field popover

* [Discover] Show both views side to side

* [Discover] Allow for some customization

* [Discover] Allow for more customization

* [UnifiedFieldList] Remove temporary code

* [UnifiedFieldList] Extract styles

* [UnifiedFieldList] Fix after merge

* [UnifiedFieldList] Extend i18n

* [UnifiedFieldList] Migrate stats API from server to public

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Before merging

* [UnifiedFieldList] After merging

* [UnifiedFieldList] Refactor localization keys

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Reintroduce server API for field stats and refactor integration tests

* [UnifiedFieldList] Update limits

* [UnifiedFieldList] Rename the component

* [UnifiedFieldList] Improve types

* [UnifiedFieldList] Add AbortController

* [UnifiedFieldList] Render counts in PopoverFooter in Lens

* [UnifiedFieldList] Hide new stats from Discover for now

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Rename to loadFieldStats

* [UnifiedFieldList] Rearrange utils

* [UnifiedFieldList] Fix types

* [UnifiedFieldList] Fix references

* [UnifiedFieldList] Use emotion css

* [UnifiedFieldList] Increase limits

* [UnifiedFieldList] Add first tests

* [UnifiedFieldList] Add more tests

* [UnifiedFieldList] Refactor interface to accept services object

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Add docs

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

* [UnifiedFieldList] Add missing references

* [UnifiedFieldList] Tmp

* [UnifiedFieldList] Revert changes from Discover for now

* [Discover] Add again new translation keys

* [UnifiedFieldList] Remove old translation keys

* [UnifiedFieldList] Update tests

* [UnifiedFieldList] Update data test subj prop

* Update src/plugins/unified_field_list/public/services/field_stats.ts

Co-authored-by: Davis McPhee <davismcphee@hotmail.com>

* [UnifiedFieldList] Lazy load FieldStats component

* [UnifiedFieldList] Lazy load loadFieldStats function

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Remove newly added translations

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2022-08-23 10:08:37 +02:00
Michael Dokolin
4905d60951
[Embeddables] Fix passing the embeddable title down to the data table visualizations (#137844) 2022-08-08 10:04:17 +02:00
Andrew Tate
42d396627e
[Lens] add new metric visualization (#136567) 2022-07-26 14:18:20 -05:00
Spencer
36260fb358
[expressions] remove root-level redirect, import from common (#136997)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 08:07:43 -07:00
Andrew Tate
ebe331eebb
[Lens] optimize percentiles fetching (#131875) 2022-06-21 10:13:54 -05:00
Anton Dosov
a8095ce11a
Remove deprecated es-query re-imports from data plugin (#134600) 2022-06-21 04:09:44 -07:00
Michael Dokolin
f13d321c9f
[Data] Move the rest of the datatable utility functions to the related service (#134562)
* 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
2022-06-20 10:25:37 +02:00
Joe Reuter
3c5733e6fd
fix application of suffixes (#133780) 2022-06-08 14:03:57 +02:00
Lukas Olson
6a7ad6fc4f
[Data views] Implement persistable state (#132959)
* Tmp commit

* Use serializable version

* Update tests

* Add test for fields

* Use spec instead of base

* Update types

* Fix type errors

* Fix tests & types

* Update types

* Fix lint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 09:40:25 -07:00
Joe Reuter
81dce64f55
[Lens] Add collapse fn to table and xy chart (#131748)
* 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>
2022-05-16 17:24:29 +02:00
Yaroslav Kuznietsov
040efae166
[Lens] lens_multitable removal. (#131699)
* 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.
2022-05-11 08:53:28 +03:00
Andrew Tate
57597f7617
[Lens] update default legend size to medium (#130336) 2022-05-10 08:03:05 -05:00
Yaroslav Kuznietsov
b29b468961
[XY] xyVis and layeredXyVis. (#128255)
* 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>
2022-05-03 17:29:01 +03:00
Diana Derevyankina
235550112e
Fix imports from restricted paths (#130102)
* 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>
2022-05-03 14:00:18 +02:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
Alexey Antonov
ac50a30eb6
[Step 1] Move CustomizablePalette from Lens into @kbn/coloring package (#129291)
* [Step 1] Move Coloring into Shared-ux-Components

* Fix Joe's comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-07 14:49:36 +05:00
Spencer
2ad2a4c271
[eslint] ensure that all imports are resolvable (#129002) 2022-04-04 15:37:06 -04:00
Yaroslav Kuznietsov
072fe63c0b
[XY] Expression chart. (#127150)
* added xy plugin.

* Added expressionXY limits.

* Added xy expression functions to the expression_xy plugin.

* Moved xy to a separate plugin.

* Fixed bugs, caused by the refactoring process.

* Fixed lens snapshots.

* Removed new line.

* Fixed xy_chart tests.

* Added lazy loading for xy chart.

* Fixed xy chart test.

* Fixed broken chart selectors.

* Fixed dashboard tests.

* dashboard test fixed.

* Fixed heatmap vis.

* Smokescreen test fixed.

* more fixes.

* async dashboard tests fixed.

* Fixed xy smokescreen tests selectors.

* fixed show_underlying_data tests.

* Updated snapshots.

* updated limits.

* Fixed more selectors

* Fixed persistent context test.

* Fixed some more test at ml.

* Fixed types and imports

* Fixed handlers.inspectorAdapters.tables.logDatatable

* Fixed logDatatable

* Translations fixed.

* Fixed "Visualize App ... cleans filters and query" test.

* Fixed "lens disable auto-apply tests" test.

* Updated dashboard tests.

* Fixed translations.

* Expression tests fixed.

* Cleaned up expression_xy.

* cleaned up lens xy_visualization.

* Moved XY state types to lens.

* Update src/plugins/chart_expressions/expression_xy/README.md

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

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

* Removed yConfig from *Layers types

* Removed not used utils and styles.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2022-03-28 18:17:36 +03:00
Joe Reuter
a0518b61ea
[Lens] Add suffix formatter (#128246) 2022-03-28 15:57:17 +02:00
Joe Reuter
028992def3
[Lens] Log data tables properly (#128297)
* log data tables properly

* update tests

* fix heatmap

* fix annotations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-24 09:30:45 -07:00
Marta Bondyra
2f9e6eeacf
[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>
2022-03-23 22:16:50 +01:00
Michael Dokolin
7c31c87496
[Expressions] Return total hits count in the datatable metadata (#127316)
* Add datatable metadata support
* Fix datatable-based expressions to preserve metadata
* Update ES expression functions to return hits total count in the metadata
2022-03-23 15:05:37 +01:00
Joe Reuter
9449f1dcdd
[Lens] Xy gap settings (#127749)
* add end value and fitting style settings

* debug statement

* fix tests

* fix test and types

* fix translation key

* adjust copy

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-22 12:11:26 -07:00
Stratoula Kalafateli
4e63701fcb
[Lens] Supports multi rows headers for the table visualization (#127447)
* [Lens] Supports multi rows headers

* Apply design changes

* Use emotion instead

* column styling implementation entirely with emotion

* Merge the 2 funstions into one

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-17 11:00:53 +02:00
Alexey Antonov
11451adb63
[Lens] Duplicated datatable available as inspector data for Heatmap chart (#126786)
* [Lens] Duplicated datatable available as inspector data for Heatmap chart

Close: #123176

* update workspace_panel

* revert allowCsvExport

* fix CI

* fix PR comments

* apply pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-16 01:14:11 -07:00
Diana Derevyankina
50941ebe35
[Lens] Set legend pixel width (#126018)
* [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>
2022-03-11 12:13:19 +03:00
Marco Liberati
b7f3271fae
[Lens] Improve Datatable content height with custom row height (#127134)
*  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>
2022-03-09 15:44:24 +01:00
Uladzislau Lasitsa
9f880f207f
[Lens] Switch to unified metric renderer (#126019)
* Switch to unified metric renderer

* Fix tests

* Fix snapshots

* Remove unused translation

* Fix tests

* Fix font size mapping

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-09 13:53:41 +03:00
Marta Bondyra
849542e9f3
[Lens] data layer & reference layer as separate types (#126885)
* [Lens] data layer & reference layer as separate types

* types better (thanks Marco )

* CR comment
2022-03-08 21:06:23 +01:00
Joe Reuter
595a6c367e
[Lens] Allow last value, min and max on dates, allow last value on ip_range, number_range and date_range (#125389)
* 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>
2022-02-16 05:15:42 -07:00
Shahzad
b7b5088244
[Lens] Add metric Viz config options, title position and sizing (#124124)
* Add lens config options

* wip

* Pr feedback

* simplify align

* improve typing

* update typing

* PR feedback

* Design PR feedback

* snapshot

* update snap

* design suggestions

* Use bottom as default position for title and some other small refactoring

* Fix test

* Fix shapshot

* Fix shapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2022-02-16 12:09:26 +03:00
Yaroslav Kuznietsov
54de36f85a
[PieVis] PartitionVis integration to Lens. (#123937)
* 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>
2022-02-14 16:55:57 +02:00
Joe Reuter
efa89e6b96
[Lens] Version-aware sorting to data table (#125361) 2022-02-11 16:14:42 +01:00
Marco Liberati
3f702c1fd4
[Lens] Make top values work for custom numeric formatters (#124566)
* 🐛 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>
2022-02-08 14:33:53 +01:00