* first pass at any cleanup
* fix types on TableListView
* change generic constraint
* fix lint
* fix TS in no data card
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fixed bug with treating null argument as the expression function.
* Added a test for checking if a null argument is processeded correctly.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fix and re-enable Vega test to be consistent with development/CI
* Remove skip comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Pie] Loads the no results screen if all slices have zero value
* Add a functional test
* Apply PR changes
* Display no results component if the chart metric has negative values
* Nits
* Apply some of the PR comments
* Change the negative values text
* Update src/plugins/vis_types/pie/public/pie_component.test.tsx
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
* Update src/plugins/vis_types/pie/public/pie_component.test.tsx
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
* Add deprecation warning when unknown types are present
* fix and add service tests
* remove export
* plug deprecation route
* add integration test for new route
* add unit test for getIndexForType
* add unit tests
* improve deprecation messages
* add FTR test
* fix things due to merge
* change the name of the deprecation provider
* improve message
* improve message again
* version 1 of fix: we set the time range on the search source at CSV generation time
* updated jest tests and updated API for getSharingData
* make time range optional for getSharingData
* pivot to updating "getTime" functionality by introducing a new flag
* update jest snapshots
* update comment
* refactored coerceToAbsoluteTime -> coerceRelativeTimeToAbsoluteTime and updated behaviour to be more specific
* fix jest test
* do not change createFilter API, rather create new createRelativeFilter API, also only use this in one place in discover
* update jest tests
* update mock
* update jest test mock
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Use date_histogram instead of auto_date_histogram in pipeline aggregations
* Fix ci
* Fix eslint
* start disable parent pipeline aggs and show error
* Fix CI
* Fix eslint
* Fix CI
* Add functional tests
* Some fixes
* Fix lint
* Use agg_utils
* Fix lint
* Fix text
* Fix lint
* Fix tests
* Fixed condition
* Fix math aggregation
* math should pass panel type as prop
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Use resolve instead of get for saved query service
* Update tests
* Update src/plugins/data/public/query/saved_query/saved_query_service.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Revert step 4
* Make saved queries share-capable
* Fix test
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Use resolve instead of get for saved query service
* Update tests
* Update src/plugins/data/public/query/saved_query/saved_query_service.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Revert step 4
* Fix test
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* account for banners when data grid is full screen
* account for banner when canvas is full screen
* change height per feedback
* add withKibana
* rm withKibana; move vars out of Fullscreen
* Use hasHeaderBanner$
* add banner height var comments
* fix ts error
Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* use correct styles when after split we have only one series
* Fix lint
* Fix comments
* remove unused styles
* Update _vis_with_splits.scss
* Fix lint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>