Commit graph

27038 commits

Author SHA1 Message Date
Cauê Marcondes
9b8979424a
[APM]Show span.http.response.status_code and span.http object in Span details flyout (#47322) (#47793)
* Extracting HttpStatusBadge component, in order to be used on SpanFlyout

* Changing tab labels to metadata

* Changing tab labels to metadata

* Refactoring section labels

* Refactoring section labels

* Refactoring section labels

* Refactoring http info component

* adding new translation

* Refactoring section

* fixing type check on test

* Using lodash pick to get the correct properties
2019-10-10 13:37:29 +02:00
Vadim Dalecky
73c801f74e
Expressions np ready (#47565) (#47805)
* refactor: 💡 generalize service getters and setters in expressio

* feat: 🎸 create NP-ready plugin for expressions

* refactor: 💡 flatten expressions plugin and remove service

* chore: 🤖 re-export legacy expressions service dir for Lens

* refactor: 💡 don't import renderer registry statically

* test: 💍 mock expressions service renderers registry in Mocha
2019-10-10 13:30:15 +02:00
Dima Arnautov
e56e60dd0a
[ML] Converts Recognizer job page to React (#47429) (#47804)
* [ML] wip recognize job

* [ML] error handling

* [ML] layout enhancements

* [ML] errors handling

* [ML] fix badges alignment and error message

* [ML] components split

* [ML] load module from the component, reset support

* [ML] validators

* [ML] check view route and resolver

* [ML] validation

* [ML] remove angular code

* [ML] change layout, fix patterns

* [ML] job response fix

* [ML] directive test

* [ML] directive test

* [ML] remove lookbehind regexp

* [ML] fix IE11 layout issues

* [ML] remove form tag, refactor to formState

* [ML] aria labels, remove unused i18n

* [ML] align kibana objects and reset button

* [ML] column layout for jobs response

* [ML] align icons and buttons

* [ML] check existing kibana objects

* [ML] don't display kibana objects panel if empty

* [ML] result and reset button order

* [ML] add EuiHorizontalRule

* [ML] use time range and full index dat

* [ML] no check icon for existing objects

* [ML] toast for exception during a jobs setup

* [ML] disable panels growth, advanced settings with described form

* [ML] fix timeRange for results url

* [ML] fix i18n

* [ML] use EuiSwitch

* [ML] PR remarks

* [ML] job settings form component

* [ML] i18n

* [ML] onChange fix

* [ML] custom hook for partial state update

* [ML] jobGroups update

* [ML] PR remarks

* [ML] fix imports
2019-10-10 13:27:41 +02:00
Tim Roes
d29b1846be
Prepare TS for 3.7 upgrade (#47703) (#47792) 2019-10-10 10:27:02 +02:00
Jean-Louis Leysens
77c87e9814
[Console] Actions menu alignment (#47227) (#47736)
* 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-10 10:13:13 +02:00
Tim Roes
195cd966ba
Deprecate scale metrics behavior (#47599) (#47791)
* Deprecate scale metrics behavior

* Fix functional tests

* Fix jest snapshot

* Add back test
2019-10-10 09:58:09 +02:00
Matthias Wilhelm
fe7fc009d5
Fix failing cloud test that encodes portions of the URL (#47600) (#47789)
* Improve generation of Kibana base path

* Review adaptions + convert to Typescript
2019-10-10 09:49:32 +02:00
Dario Gieselaar
7e9964d17b
[7.x] [APM] Garbage collection metrics charts (#47023) (#47675)
* [APM] Garbage collection metrics charts

Closes #36320.

* Review feedback

* Display average of delta in gc chart
2019-10-10 09:26:24 +02:00
Tim Roes
7033c32ae9
Prepare for TS 3.7 upgrade (#47683) (#47734) 2019-10-10 08:22:35 +02:00
Nathan Reese
5ac60370ff
[Maps] provide drag-n-drop support to order tooltip properties (#46631) (#47771)
* [Maps] tooltip custom labels

* add drag handlers for re-ordering tooltip property order

* add trash button to remove property

* add jest tests for AddTooltipFieldPopover

* sort EMS file tooltip properties

* update TooltipSelector jest test

* clean up AddTooltipFieldPopover field sorting

* remove console statements

* add more styles when row is getting dragged

* change reorder aria label

* move css changes into seperate file

* allow adding multiple fields before closing popover

* clear checked state on Add

* update jest snapshots

* use FieldIcon to display field type as icon

* add bottom border to tooltip field

* avoid flash after drag and drop

* Tooltip styles (#32)

* update TooltipSelector snapshot

* replace 24px with
2019-10-09 18:11:34 -06:00
Lisa Cawley
fe3bc1fa1f
[DOCS] Removes redundant CCS security (#47743) (#47776) 2019-10-09 16:42:38 -07:00
Tim Sullivan
76cce0063e
[Reporting] Performance instrumenting 1 (#47081) (#47729) 2019-10-09 14:37:53 -07:00
Spencer
e96a9d9977
[7.x] Update dependency @elastic/charts to ^13.5.1 (#47710) (#47747) 2019-10-09 13:27:21 -07:00
Walter Rafelsberger
b6e7432e8b
[transform] Move ML "Data Frame Transforms" to Kibana management section "Transforms". (#45880) (#47745)
Moves "Data frame transforms" from the ML plugin to its own "transform" plugin within the Kibana management section.
2019-10-09 12:21:47 -07:00
Poff Poffenberger
06f4e0a86e
[Canvas] i18n for TextStylePicker and Expression components (#46981) (#47707)
* i18n Text Style Picker

* i18n expression component

* Cleanup
2019-10-09 13:27:08 -05:00
Nathan Reese
b05c68b0e5
[Maps] Move sort out of top hits configuration for ES documents source (#47361) (#47732)
* [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 11:52:04 -06:00
Melissa Alvarez
cb63f5e9a7
[ML] Overview Page - follow-ups (#47637) (#47709)
* 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 12:26:32 -04:00
Liza Katz
f5430748a2
Remove document links dependency in data plugin (#44574) (#47702)
* 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 18:30:52 +03:00
Joe Reuter
421110f3cf
[Graph] Fix functional tests (#47053) (#47704) 2019-10-09 17:30:15 +02:00
Tim Roes
fe6ab79241
Prepare TypeScript for 3.7 (#47678) (#47697) 2019-10-09 17:29:06 +02:00
Daniil Suleiman
e849663cff
[Vis: Default Editor] Euificate table options tab (#46013) (#47666)
* Euificate table options tab

* Add validation

* Use SchemaConfig for dimensions

* Update snapshots
2019-10-09 18:03:36 +03:00
Mike Côté
8832a5a869
Add missing API documentation for alerting APIs (#47515) (#47695) 2019-10-09 11:00:45 -04:00
Wylie Conlon
2d6bc002e3
Add telemetry to track total clicks on each visualization from grid (#47489) (#47629)
* 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-09 10:39:44 -04:00
Clint Andrew Hall
600a035ab2 [i18n][chore] Sort the i18n Dictionaries (#47487) (#47640) 2019-10-09 09:33:49 -05:00
Matthew Kime
77ad0a8073
stub_index_pattern doesn't need Private (#47649) (#47692)
* stub_index_pattern doesn't need private
2019-10-09 09:22:25 -05:00
Mike Côté
601b0fbb2b
Cleanup alerting API calls on update (#47548) (#47694) 2019-10-09 10:19:32 -04:00
Mike Côté
d79af38b27
Add KQL support to alert and actions find API (#47530) (#47693)
* Add KQL support to alert and actions find API

* Fix failing jest tests
2019-10-09 10:18:38 -04:00
Mike Côté
05450ea2f6
Add docs mentioning required actionGroups for alert types (#47513) (#47691) 2019-10-09 10:16:36 -04:00
Mike Côté
cd4d020db9
Handle scenario security plugin is enabled but Elasticsearch security is disabled (#47504) (#47690) 2019-10-09 10:13:59 -04:00
Artyom Gospodarsky
18cfc426a3
Replace ui/notify with npSetup.core.notifications (#47588) (#47687) 2019-10-09 16:41:14 +03:00
Tim Roes
4b8ec4fc03
Minor editor tweaks (#47670) (#47686)
* Remove redundant rel

* Make switches compressed
2019-10-09 15:35:42 +02:00
Dima Arnautov
341005cb4d
[ML] Reorder buttons for calendar form (#47594) (#47682)
* [ML] reorder buttons for calendar form

* [ML] update snapshot
2019-10-09 15:34:24 +02:00
Elizabet Oliveira
111e5d1d06
[Maps] Cleanup SASS and add linting (#47211) (#47611)
* Enabling sass lint compressed maps

* Fixing linting error in all maps sass files
2019-10-09 14:28:21 +01:00
Mikhail Shustov
e927e5fb92
Supports metadata logging in the new platform (#47456) (#47681)
* 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 14:49:31 +02:00
Yulong
617e8f17c6
[Code] fix binary file download (#47650) (#47679) 2019-10-09 20:42:29 +08:00
Joe Reuter
a19eeb800f
[Graph] Fix default discover url template building (#47587) (#47671) 2019-10-09 14:25:05 +02:00
Artyom Gospodarsky
f37063b01b
[NP] Migrate field format utils to TS (#47124) (#47668)
* 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 15:09:42 +03:00
Catherine Liu
3dd240b6f6
[7.x] [Canvas][i18n] Workpad Manager (#45968) (#47660)
*  [Canvas][i18n] Workpad Manager (#45968)

* Extracted i18n strings from workpad_loader

Refactored workpad loader strings

Extracted i18n strings from workpad_search

Extracted i18n strings from workpad_create

Extracted workpad upload error strings

Extracted leftover strings from workpad_loader

Extracted i18n strings from workpad_manager

Renamed i18n error ids

Format workpad_loader dates using dateFormat advanced settings

Extracted i18n strings from workpad_templates

* Fixed delete button label in workpad_loader

* Changed cloned workpads to add a 'Copy of' prefix instead of a suffix

* Fixed typo

* Fixed i18n errors

* Fixed missing values

* Removed duplicate key in i18n/components

* Fix lint errors
2019-10-09 04:55:15 -07:00
István Zoltán Szabó
589c447230
[7.x] [DOCS] Adds ML job-tips redirect. (#47661) 2019-10-09 13:45:54 +02:00
Robert Oskamp
00a3815903
[ML] Job wizard tests - add retries to open actions menu and date range selection (#47478) (#47672)
This PR adds a retry to two service methods (clickActionsMenu & assertDateRangeSelection) in order to make them more robust against slow loading.
2019-10-09 13:36:04 +02:00
Yulong
b91356118d
[Code] improve lsp proxy state management (#47580) (#47651) 2019-10-09 19:32:56 +08:00
Joe Reuter
6ca794326c
[Graph] Fix sync with angular and move fill workspace logic into redux (#47394) (#47582) 2019-10-09 11:38:23 +02:00
Matthias Wilhelm
6fcbc0eb25
[discover] fix shared links tests for cloud testing (#47572) (#47654)
* Add method to open permalinks menu entry if available

* Migrate to TypeScript
2019-10-09 10:02:20 +02:00
Daniil Suleiman
8d8eade804
[Vis: Default editor] Euification of Metric options tab (#46930) (#47630)
* EUIfication of metric_vis_options

* Small fixes

* Remove unused translations

* Fix style comments

* Remove unused styles
2019-10-09 10:48:35 +03:00
Vadim Dalecky
7b79b6db73
fix: 🐛 fix "Invalid expression" messages in Canvas (#47605) (#47616) 2019-10-09 00:27:46 +02:00
Spencer
3fadf26699
[7.x] refactor failed_tests_reporter to use TS, no octokit (#4… (#47631)
* 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

# Conflicts:
#	packages/kbn-test/src/index.ts
#	renovate.json5
2019-10-08 15:18:34 -07:00
Spencer
95f482d80c
[7.x] rename bluebird imports to stop impersonating global.Pro… (#47544)
* rename bluebird imports to stop impersonating global.Promise

* forgot to save a couple files

* found a missing instance

* one more
2019-10-08 13:55:16 -07:00
Nathan Reese
e27dce94b3
[Maps] avoid resizing tooltip while loading next feature during pagination (#47517) (#47624)
* [Maps] avoid resizing tooltip while loading next feature

* review feedback

* consistently rename this.node to this._node
2019-10-08 14:32:14 -06:00
Marco Vettorello
529b464060
Update dependency @elastic/charts to v13 (#47463) (#47574) 2019-10-08 21:50:46 +02:00
Alison Goryachev
a9ffd4734f
[SR] add ability to execute snapshot retention manually (#47150) (#47619) 2019-10-08 15:39:52 -04:00