Commit graph

33370 commits

Author SHA1 Message Date
restrry bf04235dae apply prettier styles 2020-05-22 09:08:58 +02:00
restrry 64ad4f3f92 bump prettier version to v2 2020-05-22 08:51:10 +02:00
spalger dcfa485009 Revert "[kbn/optimizer] poll parent process to avoid zombie processes (#67059)"
This reverts commit e824ac3ba9.
2020-05-21 20:52:55 -07:00
spalger 556ae523c8 Revert "[kbn/optimizer] remove disconnect listener (#67161)"
This reverts commit 90fc521d21.
2020-05-21 20:52:43 -07:00
spalger fd7a9a7e13 fix visual regression suite 2020-05-21 20:51:12 -07:00
Tyler Smalley 5b6ad3fe4a
[dev] Allow for building production assets (#67230)
* Also allows passing through watch

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-05-21 19:30:35 -07:00
Justin Kambic 875d698128
Fix filename typo. (#67144) 2020-05-21 17:53:42 -04:00
Justin Kambic 5b153eca6e
Update hook to fetch index pattern. (#67146)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 17:44:02 -04:00
Andrew Goldstein 75d6682d86
[SIEM] Drag between ANDs in timeline queries / add to timeline test coverage / CSS Tweaks (#67150)
## Summary

- Increases test coverage for the [[SIEM] Drag between ANDs in timeline queries / add to timeline](https://github.com/elastic/kibana/pull/65228) `7.8` feature
- Removes the `show` prop from `DataProviders`, which added delay when closing the timeline
- CSS tweaks (detailed below)
- Removed files no longer in use

### CSS Tweaks 

- Providers in the timeline are now vertically centered, as shown in the _Before_ / _After_ screenshots below (containing two groups):

#### Before

<img width="1186" alt="providers-two-rows-before" src="https://user-images.githubusercontent.com/4459398/82508699-1e8bcc80-9ac3-11ea-8f44-b170d1528a12.png">

#### After

<img width="1186" alt="providers-two-rows-after" src="https://user-images.githubusercontent.com/4459398/82508708-264b7100-9ac3-11ea-8532-a24612573991.png">


- Very slightly increased the padding between the bottom of the last group of data providers and the dashed border, as shown in the _Before_ / _After_ screenshots below (containing three groups):

#### Before
<img width="1200" alt="providers-three-rows-padding-bottom-before" src="https://user-images.githubusercontent.com/4459398/82508573-b63ceb00-9ac2-11ea-9f8b-c3c024a3c91e.png">

#### After
<img width="1201" alt="providers-three-rows-padding-bottom-after" src="https://user-images.githubusercontent.com/4459398/82508578-b89f4500-9ac2-11ea-8560-a40eb10b22f1.png">

- Moved the timeline flyout button slightly to the right by a few pixels to avoid showing the flyout button's right border, as shown in the _Before_ / _After_ screenshots below:

#### Before

<img width="1179" alt="timeline-button-before" src="https://user-images.githubusercontent.com/4459398/82509015-f94b8e00-9ac3-11ea-9d2f-644721c0ec21.png">

#### After

<img width="1178" alt="timeline-button-after" src="https://user-images.githubusercontent.com/4459398/82509026-00729c00-9ac4-11ea-9029-6a4f698daa36.png">

### Desk testing

Desk tested in:
- Chrome `83.0.4103.61`
- Firefox `76.0.1`
- Safari `13.1`
2020-05-21 15:32:52 -06:00
Catherine Liu 90cabaef2d
Fixes add page animation bug (#66496)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 14:21:15 -07:00
Angela Chuang 47eaa0689a
[SIEM] fix timelineType for selectable timeline (#66549)
* fix timelineType for selectable timeline

* fix cypress test

* fix cypress test

* disable template timeline's tab

* rename flag

* update filter to return only default template

* update wording

* update placeholder according to timelinetype

* fix i18n

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 22:11:21 +01:00
Spencer 93c3a6319e
[bootstrap/styles] add early support for v8 themes (#66673) 2020-05-21 14:08:58 -07:00
Spencer 849da5ac68
[yarn start] pass cache option to KP so it flows to ClusterManager (#67204) 2020-05-21 13:48:56 -07:00
Jonathan Buttner 70b92c8f42
[Endpoint] Deleting data streams and indices in generator (#67168)
* Deleting data streams and indices

* Posting metadata template

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 16:02:09 -04:00
Greg Thompson 204fd5b5a2
Upgrade EUI to v23.3.1 (#65877)
* eui to 23.2.0

* nav drawer ts updates

* eui to 23.3.0

* src snapshot updates

* makeId -> htmlIdGenerator mocks

* EuiCodeBlock testenv element lookup

* x-pack snapshot updates

* remove obsolete EuiCode and EuiCodeBlock mocks

* eui to 23.3.1

* patch updates

* searchbar type update

* docViewer tabs use valid DOMString id

* docViewer snapshot

* header updates

* cert_search field wrapper update
2020-05-21 14:31:26 -05:00
Chris Cowan 78db3eaffe
[Metrics UI] Allow users to configure Inventory View palettes (#66948) 2020-05-21 11:47:08 -07:00
Tiago Costa cd9084d439
chore(NA): avoids imports of server code into public (#67152) 2020-05-21 18:33:33 +01:00
Aaron Caldwell bcf1f1f93e
[Maps] Migrate Maps server to NP (#66510) 2020-05-21 11:29:24 -06:00
Spencer 7db72531fd
[kbn/optimizer] ensure build script can prime cache (#67020) 2020-05-21 10:01:09 -07:00
Spencer 25c382f07d
[xpack/jest_integration] remove flaky test and script block (#67138) 2020-05-21 09:59:12 -07:00
Spencer 90fc521d21
[kbn/optimizer] remove disconnect listener (#67161) 2020-05-21 09:58:15 -07:00
Tyler Smalley c675301a87
[build] Removes commonjs transforms (#66506)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 09:43:31 -07:00
Nathan Reese d6ef808025
[Maps] convert redux actions to TS phase 1 (#67056)
* [Maps] Do not check count for blended layers when layer is not visible

* move visibility logic to map_actions where syncData is called

* clean up

* fix syntax error

* remove async action

* make syncDataForAllLayers a proper redux action

* simplify

* fix functional test

* [Maps] convert data request actions to TS

* update paths to only use actions

* ts-lint cleanup

* tslint cleanup

* clean up tests and export tooltip actions

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 10:17:03 -06:00
Poff Poffenberger 484e0a99ad
Fix Canvas nav link in env with spaces (#67127) 2020-05-21 08:54:25 -05:00
Poff Poffenberger 0fd96e4d01
Fix Canvas fullscreen with new fixed header (#67131)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 08:43:49 -05:00
Jean-Louis Leysens 66af6f86e9
[Index management] Add support in url for hidden toggle (#66715)
* First iteration of supporting hidden indices in indices table

Tests probably have broken

* Remove unused code

* Fix logic when calling get index endpoint with empty array

Also remove unused translations

* First iteration of new flag being passed in through URL

* Added includeHidden param to index management list view

This allows setting the value of the "inlcude hidden" toggle via
the url hash query param "includeHidden". Also added a test.

* Remove unused variable

* Revise data flow

The component toggle gets it's initial state form hash query
param and thereafter the toggle drives the state in the url.

* Fix typo

* Delete ts-ignore

* Slight update to test and comment placement for clarity

* Fix copy-pasta

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 14:23:17 +02:00
Gidi Meir Morris 65370c70d2
[Alerting] Hides the alert SavedObjects type (#66719)
* make alert saved object type hidden

* fix support for hidden alert type in alerting tests

* updated api docs

* fixed some missing types and unused imports

* fixed test broken by field rename

* added support for including hidden types in saved objects client

* fixed merge conflict

* cleaned up some test descriptions

* adds a getClient api to Encrypted Saved Objects

* fixed alerts fixture

* added missing plugin type in alerting

* removed unused field

* chaged ESO api to an options object as per Security teams request

* fixed usage of eso client

* fixed typos and oversights

* split alerts file into two - for actions and alerts
2020-05-21 11:00:15 +01:00
spalger 6ad8c91894 skip flaky suite (#66869) 2020-05-21 02:59:26 -07:00
spalger 35db3704d1 fix visual baseline tests 2020-05-21 02:34:37 -07:00
Spencer ffe7341f27
[kbn/optimizer] require fsevents on macos (#67147) 2020-05-21 02:20:14 -07:00
Oliver Gupte 9e39a13a76
[APM] Fix obscured service map connections (#67129)
* Closes #67126 by increasing spacingFactor in the cytoscape layout from 0.85 -> 1.2

* - prevents labels from hiding when nodes get a bit smaller
- also bump the label font size
2020-05-21 01:21:04 -07:00
Brandon Morelli 203605e56b
[apm] Annotation API documentation (#65963) 2020-05-20 14:35:46 -07:00
Shahzad 6d5e53859d
[Uptime] Improve responsiveness details page (#67034) 2020-05-20 22:15:36 +02:00
spalger bc261436d5 skip flaky suite (#66669) 2020-05-20 12:23:04 -07:00
Brandon Kobel 0e55b248d3
Revert "Integration of a static filesystem for the node_modules (#47998)" (#67124)
This reverts commit 33376fc368.
2020-05-20 12:11:02 -07:00
Jonathan Budzenski 5ab3e19e5b
Support api_integration/kibana/stats against remote hosts (#53000)
* Support api_integration/kibana/stats against remote hosts

The stats API integration tests run under the assumption of a fixed
kibana.yml.  This is the case when running against a
default FTR configuration, but not when running against remote servers.
This relaxes a few assertions and conditionally runs in cases that can't be
relaxed.

Resolves #37386

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-20 10:47:56 -07:00
Tiago Costa 32a7f8134a
chore(NA): add module name mapper for src plugins on x-pack (#67103) 2020-05-20 16:24:15 +01:00
Stratoula Kalafateli 969e35cddb
Change the error message on TSVB in order to be more user friendly (#67090) 2020-05-20 18:24:00 +03:00
Spencer e824ac3ba9
[kbn/optimizer] poll parent process to avoid zombie processes (#67059) 2020-05-20 07:40:46 -07:00
Daniil Suleiman 66c24c5a4a
[Visualize] Lazy load default editor, fix duplicated styles (#66732)
* Lazy load bundle, fix duplicated styles

* Add EuiLoadingChart and EuiErrorBoundary

* Return localStorage service

* Use mono spinner

* Get rid of loading the editor outside of visualize mounting
2020-05-20 17:10:00 +03:00
patrykkopycinski 2d32034f96
Bump styled-component dependencies (#66611) 2020-05-20 16:03:44 +02:00
patrykkopycinski 871196c2b0
Bump react-markdown dependencies (#66615) 2020-05-20 16:02:30 +02:00
Rudolf Meijering 7512ccbd36
Fix Core docs links (#66977) 2020-05-20 15:56:21 +02:00
Diana Derevyankina 7a6aec5a33
Timelion graph is not refreshing content after searching or filtering (#67023)
* Timelion graph is not refreshing content after searching or filtering in Kibana

Closes #66560

* Change test beforeEach configuration to match request body

* Remove unused TimelionRequestQuery
2020-05-20 15:25:00 +03:00
Paul Tavares dd09c0da9b
Remove --xpack.endpoint.enabled=true from README.md file (#67053)
- Remove endpoint flag from readme file
2020-05-20 07:49:15 -04:00
Diana Derevyankina 27fe2650b6
Move apm tutorial from apm plugin into apm_oss plugin (#66432)
* Move apm tutorial from apm plugin into apm_oss plugin

Closes #65629

* Fix types issues and some paths

* Add unregisterTutorial to tutorials_registry.mock

* Add apm path to .i18nrc.json to fix internationalization error

* Rename apm path in .i18nrc.json into apmOss and revert some imports paths
2020-05-20 14:40:37 +03:00
Alejandro Fernández 7f88453242
[Logs UI] Restore call to UsageCollector.countLogs (#67051) 2020-05-20 13:27:34 +02:00
Mikhail Shustov a9234ef034
Remove unused license check result from LP Security plugin (#66966)
* remove unused license check result

* remove outdated test

* update licensing tests
2020-05-20 12:54:16 +02:00
Gidi Meir Morris dfa22d17b9
[Saved Objects] adds support for including hidden types in saved objects client (#66879)
As part of the work needed for RBAC & Feature Controls support in Alerting (https://github.com/elastic/kibana/issues/43994) we've identified a need to make the Alert Saved Object type a _hidden_ type.

As we still need support for Security and Spaces, we wish to use the standard SavedObjectsClient and its middleware, but currently this isn't possible with _hidden_ types.

To address that, this PR adds support for creating a client which includes hidden types.
2020-05-20 09:55:02 +01:00
Stratoula Kalafateli 42d21bcdcb
[Discover] Deangularize timechart header (#66532)
* Deangularize timechart header

* Add label attr to options

* Watch the interval prop change

* Tweaking the UI

Mainly moved interval notice to an `append` and copy updates

* Remove outdated i18n tokens

* fix functional test

* Change functional test due to dom changes

* fix functional test

* remove unecessary translation

* remove watcher as it is not necessary anymore

* change interval options copies

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-05-20 10:28:53 +03:00