Commit graph

40894 commits

Author SHA1 Message Date
Wylie Conlon
b9de3c7f1a
[Discover] Always show the "hide missing fields" toggle (#91889)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:46:03 -05:00
Rudolf Meijering
dc475c9cf2
v2 migrations should exit process on corrupt saved object document (#91465)
* Fail migrations if a corrupt saved object is encountered

* Update test description

* Use an error class instead of string matching

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:45:16 -05:00
Melissa Alvarez
b7f33b1748
[ML] Data Frame Analytics exploration page: filters improvements (#91748)
* exploration query bar filter reflects url query state on page load

* wrap filter handler in debounce

* add dep to memoized regex. update comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:41:58 -05:00
Walter Rafelsberger
1c3515f67b
[ML] Data Frame Analytics: Improved error handling for scatterplot matrix. (#91993)
Improves error handling for the scatterplot matrix. Documents with fields with arrays of values cannot be visualized in the scatterplot matrix. This adds a warning callout when the fetched data includes such documents.
2021-02-22 16:29:54 +01:00
Dmitry
8fb50c926f
[coverage] speed up merging results of functional tests (#92111)
* [coverage] copy kibana to match coverage path

* bootstrap copy

* use rsync

* skip major tests

* add flags and logs

* remove pwd

* zip and copy to checkout dir

* back to checkoutDir

* fix script

* Revert "skip major tests"

This reverts commit a6fb2f5ef1.

* cleanup

* remove unused script

* cleanup
2021-02-22 18:29:29 +03:00
Gidi Meir Morris
c9ca111035
Adds a Reason indicator to the onClose handler in AddAlert and EditAlert (#92149)
Adds a `AlertFlyoutCloseReason` on the `onClose` handlers of `AlertAdd` and `AlertEdit` indicating the reason for the handler being called.
2021-02-22 15:12:13 +00:00
Alejandro Fernández Haro
678f848919
Fix flaky core_app integration tests (#92030)
* Unskip core_app integration tests

* Run the integration test 200 times

* Revert 200 execution loop

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 09:51:07 -05:00
Daniil
d0a7ca2eb4
Use EuiResizableContainer in visualize (#86934)
* Use EuiResizableContainer

* Code cleanup

* Memoize the sidebar for performance boost

* Prevent mouseLeave event

* Downgrade eui to 30.6.0

* Revert eui downgrade

* Update styles

* Render embeddable after a timeout

* Fix printing

* Fix resizer functional test

* Create an explicit layout breakpoint

* Remove extra code

* Update layout styles

* Add a note of using height: 1px

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 17:19:58 +03:00
Rudolf Meijering
42b814e123
Speed up spaces tests by letting v2 migrations do less work (#91829)
* Don't mess with v2 migration's index

* Speed up spaces tests by letting v2 migrations do less work

* Add disabled mapping for spaces so that plugin can be disabled

* Add security as codeowners of xpack saved object api integration suite
2021-02-22 08:44:41 -05:00
Shahzad
7043d75bdb
[Uptime] Updated duration chart units and formatting (#91420) 2021-02-22 14:34:38 +01:00
Daniil
ab8bca414b
[Data Table] Improve expression with explicit params (#91659)
* Enhance data table expression

* Fix types and tests

* Leave legacy expression builder for legacy visualization

* Explicitly pass expression function params, update unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 16:33:29 +03:00
Maja Grubic
774a3fee80
[Discover] Respect default column setting (#92137) 2021-02-22 13:15:22 +00:00
Anton Dosov
a82fe33ed7
[Search Sessions] Search session example app (#89583) 2021-02-22 13:36:59 +01:00
Shahzad
28b5e63874
[Uptime] Thumbnail full screen view steps navigation fix (#91895)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 12:27:40 +01:00
Pierre Gayvallet
eed5f72b1a
Implement ScopedHistory.block (#91099)
* implements ScopedHistory.block

* add FTR tests

* fix test plugin id

* update generated doc

* deprecates AppMountParameters.onAppLeave

* typo fix

* add new FTR test

* fix added test
2021-02-22 12:27:07 +01:00
Marta Bondyra
e1d0cd5270
[Lens] Fix overlowing content on a chart for charts and table (#92006) 2021-02-22 12:16:41 +01:00
Joe Reuter
fde2c84f74
handle source column differences in embeddable as well (#91987) 2021-02-22 11:50:22 +01:00
Alexey Antonov
5fa9370eb0
[Vega] [Map] disable map rotation using right right click / touch rotation gesture (#91996)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 13:01:54 +03:00
Stratoula Kalafateli
bdfa9695dc
[Lens] Load indexpatterns list from indexPattern Service (#91984)
* [Lens] Load lists from indexPattern Service

* test that indexpattern service has not been called

* Use mock data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 11:24:11 +02:00
Dmitry
556a882a24
[coverage] ingest data in parallel (#92074) 2021-02-21 15:03:47 +03:00
Marta Bondyra
65be9e0306
[Lens] Drag and drop performance improvements (#91641) 2021-02-21 10:02:04 +01:00
Nathan L Smith
d5e025e089
A few more environment uiFilters fixes (#92044)
Some places in the service map and annotations were still attempting to use environment from uiFilters. Fix these.
2021-02-20 19:24:23 -06:00
Michail Yasonik
d23c01b4be
Enabling Uptime and Dashboard a11y test (#91017) 2021-02-19 19:21:20 -05:00
Davis Plumlee
087449cbf6
[Security Solution][Detections] Adds more granular validation for nested fields (#92041) 2021-02-19 19:16:14 -05:00
Devin W. Hurley
52c4deceaa
[Security Solution] [Detections] add overflow-wrap for description (#91945)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 17:56:16 -05:00
Devin W. Hurley
5789a26ce3
[Security Solution] [Detections] do not truncate filename in value list table in modal (#91952) 2021-02-19 17:55:29 -05:00
Brian Seeders
f1db49ff70
Skip flaky apm test #91673 (#92065) 2021-02-19 16:21:53 -05:00
Jonathan Budzenski
126ce49446
[docker] Default server.name to hostname (#90799)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 15:01:51 -06:00
Lisa Cawley
a6a567f476
Use documentation link service for snapshot restore (#91596)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-02-19 11:56:09 -08:00
Steph Milovic
fc77586b5a
[Security Solution] Clearing up all jest errors and warnings (#91740) 2021-02-19 12:41:55 -07:00
Alejandro Fernández Haro
fb2f6abed2
Add @kbn/analytics to UI Shared Deps (#91810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 13:59:03 -05:00
Pete Hampton
4e2601d9c9
[7.12][Telemetry] Add missing fields for security telemetry (#91920)
Co-authored-by: Thiago Souza <thiago@elastic.co>
2021-02-19 18:10:15 +00:00
MadameSheema
4a1134c732
[Security Solution] Adds cypress-pipe (#91550)
* introducing cypress-pipe

* moves cypress pipe and promise packages to dev dependencies

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 18:59:26 +01:00
Marco Vettorello
92301fe98d
[ML] Fix event rate chart annotation position (#91899) 2021-02-19 18:58:41 +01:00
Cauê Marcondes
405255cd97
[APM] Break down error table api removing the sparklines (#89138)
* breaking error table api

* shows loading state while fetching metrics

* adding api tests

* removing pagination from server

* adding API test

* refactoring

* fixing license

* renaming apis

* fixing some stuff

* addressing PR comments

* adding request id

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-02-19 12:55:29 -05:00
Brandon Morelli
857300b147
docs: update dependencies table bug (#91964) 2021-02-19 09:51:10 -08:00
Devon Thomson
85bc8b0b42
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729)
* Make quicksave function stay in edit mode
2021-02-19 12:34:01 -05:00
Tim Sullivan
d31119c204
Unskip Search Sessions Management UI test (#90110)
* Unskip Search Sessions Management UI test

* more logging

* logging

* ci test

* skip reload test

* add tm task to archives used by dependent tests

* --wip-- [skip ci]

* revert jest affecting changes

* fix search sessions archive

* add pagination test

* test organize

* log cleanup

* fix async in tests

* remove obsolete test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 10:28:50 -07:00
Jen Huang
10b1fddf35
[Fleet] Handle long text in agent details page (#91776)
* Fix #85521

* Set a minimum height for agent logs component #89831

* Truncate long integration names nicely #85404
2021-02-19 08:49:48 -08:00
Maja Grubic
c8fab9f8cb
[Discover] Always show unmapped fields (#91735)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 16:41:00 +00:00
Cauê Marcondes
99a60caf81
[APM] Bug: Service overview - Sparkline loading state icons has changed (#91884)
* adjusting icon size

* Updating color
2021-02-19 11:15:40 -05:00
Thomas Neirynck
d6984ca160
[Maps] upgrade mapbox-gl to v1.13.1 (#91564) 2021-02-19 10:56:52 -05:00
Jonathan Buttner
a108469ec7
Allowing deletion of collections (#91926) 2021-02-19 10:50:35 -05:00
Aaron Caldwell
eea6f82e4e
[Maps] Use new index patterns service for Maps telemetry (#86703)
Co-authored-by: Matt Kime <matt@mattki.me>
2021-02-19 08:00:01 -07:00
Alejandro Fernández Gómez
4d34a13bab
[Logs UI] Replace dependencies in the infra bundle (#91503) 2021-02-19 09:06:33 -05:00
Maja Grubic
8b909cedc8
[Search Source] Do not request unmapped fields if source filters are provided (#91921) 2021-02-19 14:05:47 +00:00
Cauê Marcondes
1fa742d0ce
[APM] Kql Search Bar suggests values outside the selected time range (#91918) 2021-02-19 08:57:14 -05:00
Yulia Čech
f8fd08fbcd
Refactored component edit policy tests into separate folders and using client integration testing setup (#91657)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 14:34:52 +01:00
John Schulz
5bfcc096a6
[Fleet] Don't error on missing package_assets value (#91744)
## Summary
closes https://github.com/elastic/kibana/issues/89111

 * Update TS type to make `package_assets` key in EPM packages saved object optional
 * Update two places in code to deal with optional vs required property

### Checklist

- [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

#### Manual testing
1. checkout `7.10` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.10.3 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   2. **observe** `{"is_initialized: true}`
1. checkout `7.11` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.11.1 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe** `{"is_initialized: true}`
1. checkout `master` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe error** {"statusCode":500,"error":"Internal Server Error","message":"Cannot read property 'map' of undefined"}
1. checkout this PR `8911-fleet-startup-error`
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe success** `{"is_initialized: true}`

**_Notes_**
 * _you might need to do a `yarn kbn clean` when starting kibana if it fails. There have been some big changes in the tooling recently_
2021-02-19 07:40:16 -05:00
Joe Reuter
bf7fdfc87c
[Lens] Pass used histogram interval to chart (#91370) 2021-02-19 11:30:40 +01:00