Commit graph

19489 commits

Author SHA1 Message Date
Matthew Kime
119c742185
Data views - saved object client use resolve instead of get (#108637)
* so client - use resolve instead of get

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 09:41:47 -05:00
Clint Andrew Hall
b1d6779d43
[fleet] Introduce Storybook to Fleet (#112611)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 08:23:13 -05:00
Stratoula Kalafateli
60500c20af
Move timeseries to vis_types folder (#112228)
* Move timeseries to vis_types folder

* Fix jest

* Fix types

* Fix more types

* Fix types

* fix jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-21 13:45:49 +03:00
Pierre Gayvallet
bb4f1360a8
remove last usages of plugin async lifecycles (#112111)
* remove last usages of plugin async lifecycles

* fix contract type

* fix types. again.

* remove unused import
2021-09-21 10:34:57 +02:00
Pierre Gayvallet
221ee74c6b
[SOM] Add visibleInManagement option to management metadata (#112073)
* implement SavedObjectsTypeManagementDefinition.visibleInManagement

* update generated doc

* improve FTR tests

* fix FTR test
2021-09-21 10:30:30 +02:00
Jean-Louis Leysens
0af821aaf9
[kibana_react] Clean up any in public non-test files (#111261)
* 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>
2021-09-21 10:16:29 +02:00
Jonathan Budzenski
1fb0982e00 fix prettier errors 2021-09-20 09:28:48 -05:00
Marco Liberati
5f994b1d9d
[Lens][Visualize] Align inspector header in Lens and Visualize (#112443)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-20 15:54:37 +02:00
Vadim Kibana
38f3f3f308
Remove any in embeddables (#110023)
* remove anys in embeddable

* fix typescript errors

* generate autogenerated docs

* Update src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-09-20 14:09:02 +02:00
Tyler Smalley
4681a80317
[DX] Upgrade prettier to v2.4.0 (#112359)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:30 -07:00
Mikhail Shustov
4a1a060f25
remove deprecated header support (#112505) 2021-09-18 15:53:00 +02:00
Rudolf Meijering
7040b47840
Re-enable & fix flaky test (#112260)
* Fixes #87968 Re-enable & fix flaky test

* Review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-18 15:52:36 +02:00
Yaroslav Kuznietsov
c63fff99a8
[Canvas] TagCloud arguments. (#107729)
* Added arguments to Tagcloud at Canvas.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-17 07:34:15 -04:00
Greg Thompson
160abb8e05
Treat react-beautiful-dnd as .essentialAnimation in accessibility:disableAnimations contexts (#112429)
* react-beautiful-dnd with disableAnimations

* add comment
2021-09-16 19:05:49 -05:00
Joe Portner
1ca8771d67
Add SavedObjectsClient.bulkResolve (#112025) 2021-09-16 17:12:17 -04:00
Jonathan Budzenski
d6bf274286
Remove grunt (#111882)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-16 15:24:42 -04:00
Spencer
eaf70a0b4e
[kbn/ui-shared-deps] split into two packages (#110558)
* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-16 12:06:46 -07:00
Vadim Kibana
708e235457
Redirect endpoint compression (#111471)
* add ability to lz-encode redirect url params

* move redirect param utils to /common

* improve error message

* add getRedirectUrl() to locators

* wire in version into locator redirect method

* make redirect url default to compressed

* fix typescript errors

* pass throuh initialization context to share plugin

* fix test mocks

* improve locators mocks usage

* fix typescript types

* use getRedirectUrl in example plugin

* make redirect url options optional

* add locator tests

* deprecate geturl

* load redirect app UI on demand
2021-09-16 18:45:24 +02:00
Brian Seeders
2c9484b266
Fix .buildkite casing ignore 2021-09-16 11:47:06 -04:00
Thom Heymann
117e076200
Added product header check (#112180)
* Added product header check

* Added suggestions from code review
2021-09-16 16:14:26 +01:00
Matthew Kime
3c0e5e5876
[data views] rename files from index patterns to data view (#112047)
* rename directories

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-16 06:56:59 -05:00
Yaroslav Kuznietsov
dbcc75b0dc
[Canvas] Fixes Error 500 on the workpad update. (#111683)
* 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>
2021-09-16 06:58:03 -04:00
Diana Derevyankina
410a0ac907
Fix and re-enable Vega test to be consistent with development/CI (#110971)
* 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>
2021-09-16 11:42:02 +03:00
Jonathan Budzenski
17a4186ce8
[timelion] Move grammar to package (#111881)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 20:22:15 -04:00
Cauê Marcondes
2711e7b1cc
Removing old e2e (#112170)
* removing old e2e

* removing e2e

* removing e2e

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 16:33:54 -04:00
Matthew Kime
ce2aac3763
convert deep imports to top level imports (#112199) 2021-09-15 11:46:31 -05:00
Matthew Kime
5ba4f7115d
convert deep imports to top level imports (#112202)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 11:29:23 -05:00
Stratoula Kalafateli
8f70030386
[Lens] [TSVB] Fixes the brushing of the last bucket for timeseries visualizations (#112068)
* Enable allowBrushingLastHistogramBucket for timeseries visualizations

* Cleanup
2021-09-15 15:20:44 +03:00
Tim Roes
fa1e9a6aee
Change missing fields label (#112232) 2021-09-15 14:16:45 +02:00
Stratoula Kalafateli
34d7f68375
[Pie] Loads the no results screen if all slices have zero value (#111931)
* [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>
2021-09-15 15:11:09 +03:00
Matthew Kime
51b2d53bd9
[discover] convert deep imports to top level imports for 'index_pattern' items (#112208)
* convert deep imports to top level imports

* fix test
2021-09-15 07:09:23 -05:00
Stratoula Kalafateli
e20f530762
Move to vis_types folder part 3 (#112084)
* Move to vis_types folder part 3

* Fix jest tests
2021-09-15 14:46:48 +03:00
Tim Roes
a4b28a61ef
Better formatting document summary with images (#111987)
* Better formatting document summary with images

* Improve styling

* Address review feedback
2021-09-15 12:06:46 +02:00
Matthias Wilhelm
13de9f598e
[Discover] Improve sidebar performance by memoizing (#111843)
* Improve sidebar editField function by useCallback

* Reduce re-renderings
2021-09-15 12:00:25 +02:00
Thom Heymann
db5cf95724
Verification code CLI (#111707)
* Add verification code CLI

* Added suggestion from code review

* Fixed types

* Added extra test

* Added CLI dist scripts

* Fixed typo

* Write code to data instead of config directory
2021-09-14 21:58:25 +01:00
Spencer
2976f33618
[eslint] add rule to forbid async forEach bodies (#111637)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 13:20:53 -07:00
Rudolf Meijering
9b9286fc57
Remove executionLog to reduce memory consumption (#111911)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 19:20:10 +02:00
Pierre Gayvallet
138371e50c
Add deprecation warning when unknown SO types are present (#111268)
* 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
2021-09-14 15:55:30 +02:00
Ahmad Bamieh
b74f154903
[core.metrics] Add support for multiple processes in ops metrics & stats API; deprecate process field (#109820)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 16:50:45 +03:00
Tim Roes
4bca9b05bb
Fix wrong timepicker range when brushing (#111989) 2021-09-14 15:47:43 +02:00
Jean-Louis Leysens
4e4afc7503
[Discover/Reporting] Fix export that does not contain relative time filter (#110459)
* 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>
2021-09-14 14:40:06 +02:00
Uladzislau Lasitsa
6e7e5155f5
[TSVB] Doesn't work correctly with pipeline aggregations in "entire time range" mode (#105073)
* 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>
2021-09-14 14:38:51 +03:00
Stratoula Kalafateli
8a4355b353
[Visualize] Removes dimming opacity setting (#111704)
* [Visualize] Removes the dimming opacity setting

* Remove from docs

* Fix 18n

* Address PR comments

* More cleaning

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 12:36:08 +03:00
Stratoula Kalafateli
182533f565
[Datatable] Removes the old implementation (#111339)
* [Datatable] Removes the angular implementation

* Fix i18n errors

* Fix types

* Remove unecessary funtional tests

* Fix documentation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 11:57:42 +03:00
Lukas Olson
fbeefedd98
Make saved queries share-capable (#111462)
* 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>
2021-09-13 21:17:43 -04:00
Lukas Olson
a8f9468fe8
Use savedObjectsClient.resolve in saved query service (#111229)
* 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>
2021-09-13 16:00:27 -07:00
Michael Marcialis
4dc72140be
Account for presence of top banner when EuiDataGrid and Canvas are full screen (#111038)
* 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>
2021-09-13 11:58:01 -04:00
Matthew Kime
3fd7dbe455
[data views] allow fields that start with an underscore in the field list (#111238)
* stop filtering out fields that start with underscore
2021-09-13 10:45:34 -05:00
Anton Dosov
d6badd8715
[FieldFormats] Reduce any usage (#111530) 2021-09-13 17:01:51 +02:00
Uladzislau Lasitsa
bfe1c556d0
[TSVB] Shows wrong labels when we get only one series after splitting (#111736)
* 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>
2021-09-13 13:30:08 +03:00