Commit graph

28129 commits

Author SHA1 Message Date
Jean-Louis Leysens 6e6fc37276
[Console] Actions menu alignment (#47227)
* Fix default font size alignment

* Git update newline behaviour

* Fix console menu for IE11

* Slightly smarter algorithm for discovering space

* - Move inline styles to SCSS
- Clean up use of formatted message in aria-label
- Remove unused prop from component

* Set flex group to not use responsive layout optimization
2019-10-09 18:46:45 +02:00
Tim Roes cac2d45c2f
Prepare for TS 3.7 upgrade (#47683) 2019-10-09 18:36:42 +02:00
Nathan Reese c17081ad4d
[Maps] Move sort out of top hits configuration for ES documents source (#47361)
* [Maps] Move sort out of top hits configuration for ES documents source

* add migration script to convert topHitsTimeField to sortField

* update i18n translations

* add jest test for es docs source UpdateSourceEditor component

* remove time configuration from top hits docs

* update migrations integration expect statement

* review feedback

* reverse hits list so top documents by sort are drawn on top

* update functional test expect to account for reversing hits order

* update another functional test expect clause for reversing hits
2019-10-09 10:26:44 -06:00
Tim Sullivan 8936e21a3c
[Reporting] Performance instrumenting 1 (#47081) 2019-10-09 09:14:08 -07:00
Aleh Zasypkin 0210ce47b6
Preserve URL fragment during SAML handshake. (#44513) 2019-10-09 18:12:14 +02:00
Bhavya RM 019a3f1688
Fixing gauge test in firefox (#47082)
Unskip gauge test in firefox
2019-10-09 12:10:27 -04:00
Melissa Alvarez 9c0335c460
[ML] Overview Page - follow-ups (#47637)
* add tooltip, fix sort, style tweaks

* show alert icon if group max score error

* remove unnecessary comment

* update max score tooltip text
2019-10-09 10:54:48 -04:00
Joe Reuter fcc4c4878f
[Graph] Fix functional tests (#47053) 2019-10-09 16:13:42 +02:00
Liza Katz 88609c6a96
Remove document links dependency in data plugin (#44574)
* Use docLinks service

* Update tests to use docLinks mock service

* Test fixes

* Fixed jest test to work with functional tests

* snaps

* removed clicking on button test - as it actually tests EuiPopover
2019-10-09 17:05:09 +03:00
Tim Roes 01e8ca98d0
Prepare TypeScript for 3.7 (#47678) 2019-10-09 15:24:43 +02:00
Mike Côté fb502c07eb
Add missing API documentation for alerting APIs (#47515) 2019-10-09 09:09:21 -04:00
Mike Côté f3aef731a1
Cleanup alerting API calls on update (#47548) 2019-10-09 09:07:20 -04:00
Mike Côté b90600ff10
Add KQL support to alert and actions find API (#47530)
* Add KQL support to alert and actions find API

* Fix failing jest tests
2019-10-09 09:05:59 -04:00
Mike Côté 46cf691fdb
Add docs mentioning required actionGroups for alert types (#47513) 2019-10-09 09:04:20 -04:00
Mike Côté a901d7e528
Handle scenario security plugin is enabled but Elasticsearch security is disabled (#47504) 2019-10-09 09:01:48 -04:00
Matthew Kime 4a73672d3e
stub_index_pattern doesn't need Private (#47649)
* stub_index_pattern doesn't need private
2019-10-09 07:51:56 -05:00
Artyom Gospodarsky bee42120a7
Replace ui/notify with npSetup.core.notifications (#47588) 2019-10-09 15:11:32 +03:00
Tim Roes a063535323
Minor editor tweaks (#47670)
* Remove redundant rel

* Make switches compressed
2019-10-09 14:07:18 +02:00
Dima Arnautov cb2d7e90ea
[ML] Reorder buttons for calendar form (#47594)
* [ML] reorder buttons for calendar form

* [ML] update snapshot
2019-10-09 13:52:40 +02:00
Mikhail Shustov 73c3e60db8
Supports metadata logging in the new platform (#47456)
* add tests for logWithMetadata in LP

* allow passing metadata to log in NP & LP

* get rid of ternary when build data to log
2019-10-09 13:35:33 +02:00
Yulong fa398b82f1
[Code] fix binary file download (#47650) 2019-10-09 19:28:42 +08:00
Dario Gieselaar 43d1c586d2
[APM] Garbage collection metrics charts (#47023)
* [APM] Garbage collection metrics charts

Closes #36320.

* Review feedback

* Display average of delta in gc chart
2019-10-09 13:02:54 +02:00
Robert Oskamp 6cadb5fd7e
[ML] Job wizard tests - add retries to open actions menu and date range selection (#47478)
This PR adds a retry to two service methods (clickActionsMenu & assertDateRangeSelection) in order to make them more robust against slow loading.
2019-10-09 12:15:52 +02:00
Artyom Gospodarsky 9430ca1abc
[NP] Migrate field format utils to TS (#47124)
* Migrate url.js to TS

* Typescriptify truncate util

* Typescriptify string util

* Change method name by constant

* Typescriptify relative date util

* Refactor url util

* Typescriptify percent util

* Typescriptify bytes util

* Typescriptify number util

* Make _convert as method of derived class

* Get rid of Field Format type

* Typescriptify IP and Color utils

* Typescriptify dates utils

* Change functions to arrow functions in tests

* Convert Duration, Source and Static Lookup to TS

* Remove Field Format type from Numeral

* Use MomentJS types instead of any

* Use KBN_FIELD_TYPES as field types

* Make timezone as string

* Make memoizedConverter and memoizedPattern types

* Make ugly type for createNumberFormat

* Replace any types by certain ones

* Add types to tests

* Internationalize Duration, String, Url utils

* Get rid of implicit _convert method

* Fix conflicts

* Make htmlConvert, textConvert and setupContentType as public

* Make some any's more certain
2019-10-09 12:53:45 +03:00
Maryia Lapata 6a0da3ddda [Vis: Default Editor] Euificate table options tab (#46013)
* Euificate table options tab

* Add validation

* Use SchemaConfig for dimensions

* Update snapshots
2019-10-09 12:19:45 +03:00
Joe Reuter dba9da9b9f
[Graph] Fix default discover url template building (#47587) 2019-10-09 09:29:40 +02:00
Matthias Wilhelm 08de89b588
[discover] fix shared links tests for cloud testing (#47572)
* Add method to open permalinks menu entry if available

* Migrate to TypeScript
2019-10-09 07:34:51 +02:00
Yulong 46fbbd6a2f
[Code] improve lsp proxy state management (#47580) 2019-10-09 11:50:34 +08:00
Poff Poffenberger c449b247f3
[Canvas] i18n for TextStylePicker and Expression components (#46981)
* i18n Text Style Picker

* i18n expression component

* Cleanup
2019-10-08 16:29:43 -05:00
Spencer 9b34d6b76f
refactor failed_tests_reporter to use TS, no octokit (#46993)
* refactor failed_tests_reporter to use TS, no octokit

* update renovate config

* ensure that all kbn-test files are in ts project

* fix some type errors

* add some more tests

* [kbn-test/githubapi] cleanup and document

* collect log messages as strings instead of message objects

* ensure issue is open when updating body

* improve readability of getKibanaIssues

* expose axios helpers from dev-utils

* fix request params for fetching github issues and validate locally

* include a README for failed_tests_reporter

* improve axios error helpers
2019-10-08 13:56:07 -07:00
Daniil Suleiman b25df015d5
[Vis: Default editor] Euification of Metric options tab (#46930)
* EUIfication of metric_vis_options

* Small fixes

* Remove unused translations

* Fix style comments

* Remove unused styles
2019-10-08 23:37:24 +03:00
Wylie Conlon bbdc0bf595
Add telemetry to track total clicks on each visualization from grid (#47489)
* Add telemetry to track when a visualization is selected from grid

* Move all visualize tracking of metrics into one place

* Fix type errors
2019-10-08 16:29:34 -04:00
Nathan L Smith 6e956e3f88
[APM] Correctly plurarlize view in discover link (#47618)
Fixes #46549
2019-10-08 15:06:18 -05:00
Nathan L Smith c6c397ff19
[APM] Documentation and alignment for impact column (#47602)
In the traces and transactions tables, left align the impact column heading and add a tooltip explaining what it means.

Fixes #44313
Fixes #28559
2019-10-08 15:05:47 -05:00
Nathan L Smith d1b046eddd
[APM] Add User agent to trace summary (#47526) 2019-10-08 14:36:24 -05:00
Nathan Reese e06249fca6
[Maps] avoid resizing tooltip while loading next feature during pagination (#47517)
* [Maps] avoid resizing tooltip while loading next feature

* review feedback

* consistently rename this.node to this._node
2019-10-08 13:07:36 -06:00
Alison Goryachev 371a113cc9
[SR] add ability to execute snapshot retention manually (#47150) 2019-10-08 14:26:37 -04:00
Vadim Dalecky e496de4e43
fix: 🐛 fix "Invalid expression" messages in Canvas (#47605) 2019-10-08 20:06:36 +02:00
Elizabet Oliveira b1428bb6b4
[Maps] Cleanup SASS and add linting (#47211)
* Enabling sass lint compressed maps

* Fixing linting error in all maps sass files
2019-10-08 18:23:57 +01:00
Garrett Spong 0461a1fefe
[SIEM] Adds custom tooltip to map for dragging fields to timeline (#46879)
## Summary

Resolves https://github.com/elastic/kibana/issues/46301, by adding a custom tooltip for the map that enables dragging to the timeline.

##### Features:
* Adds new portal pattern to enable DnD from outside the main react component tree
* Adds `<DraggablePortalContext>` component to enable DnD from within an `EuiPopover`
  * Just wrap `EuiPopover` contents in `<DraggablePortalContext.Provider value={true}></...>` and all child `DefaultDraggable`'s will now function correctly
* Displays netflow renderer within tooltip for line features, w/ draggable src/dest.bytes
* Displays detailed description list within tooltip for point features. Fields include:
  * host.name
  * source/destination.ip
  * source/destination.domain 
  * source/destination.geo.country_iso_code
  * source/destination.as.organization.name
* Retains ability to add filter to KQL bar

![map_custom_tooltips](https://user-images.githubusercontent.com/2946766/66288691-64c74f00-e897-11e9-9845-54e8c9b9c5ab.gif)


### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~

### For maintainers

- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
- [x] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
2019-10-08 11:21:47 -06:00
Tre 1947608378
[FTR] Support for new and old es clients (#47377)
* Add dep for new es client,
refactor all mentions of the old client
to the new.
2019-10-08 09:53:24 -06:00
Nathan L Smith 726a84f28c
[APM] Experimental Service Map front end (#46497)
Add service map tabs on the main APM screen and for individual services.

This is not yet hooked up to work with back-end data, so it always shows the same hard-coded graph.

This is experimental, so you must have x-pack.apm.serviceMapEnabled: true in your Kibana config for it to show up.

Also add "PSF" to the list of allowed licenses since a new dependency added uses this license (it's on the [green list](https://github.com/elastic/open-source/blob/master/elastic-product-policy.md#green-list).)

Fixes #44890
Fixes #44853
2019-10-08 09:54:11 -05:00
Nathan L Smith f440c03f44
[APM] Add docs about running in VSCode to README (#47536) 2019-10-08 09:45:35 -05:00
Rudolf Meijering f0f75fc289
SavedObjectAttribute allow array of primitives (#47317) 2019-10-08 16:41:13 +02:00
Chris Roberson 0edc83a3b5
[Monitoring] Fix broken scrubbing on monitoring charts (#47382)
* Apply an offset on brush

* Fix test
2019-10-08 09:42:24 -04:00
Chris Roberson 1c3c0bcc66
[Monitoring] Server side pagination for ES Nodes listing table (#47224)
* Got the basics working

* Preserve the sorting after calling getNodes

* Remove debug

* Fix issue where the loading state wasn't persisted as long as it needed to be

* Fix shardCount and isOnline not working properly

* Remove this test, as it doesn't make sense with server side sorting

* Ensure we properly await these clicks

* Fix api tests

* Fix tests and add some for pagination/sorting/filtering

* Fix and add a test here

* Add get_node_ids test

* Add setup mode support in the SSP table

* We need to wait for the table to finish loading now that we're sorting on the server

* Also wait for the table to finish loading when filtering

* Use different i18n id

* Fix issue where we expect data but it isn't there
2019-10-08 09:37:40 -04:00
Joe Reuter 497a1d70ac
[Graph] Fix sync with angular and move fill workspace logic into redux (#47394) 2019-10-08 15:19:11 +02:00
Poff Poffenberger 0f7b85f8a9
[Canvas] Fixes Workpad fullscreen due to max-width limitation (#47371)
* Allow row to extend past viewport width to allow proper fullscreen canvas view

* Added note
2019-10-08 08:18:25 -05:00
renovate[bot] f15ffb57c1 Update dependency @elastic/charts to v13 (#47463) 2019-10-08 15:01:21 +02:00
Mike Côté 2d5dc45d95
Pass alert id to the alert type executor (#47379)
* Pass alert id to the alert type executor

* Rename id to alertId

* Rename id to alertId in actions plugin

* Fix translation variables
2019-10-08 08:32:42 -04:00