Commit graph

23583 commits

Author SHA1 Message Date
Matt Bargar d8916e37c9
Add multi field info to the IndexPattern (#33681)
Adds two fields to the IndexPattern Field:

* parent - the name of the field this field is a child of
* subType - The type of child this field is. Currently the only valid value is multi but we could expand this to include aliases, object children, and nested children.

The thinking behind implementing these two new properties instead of a simple isMultiField flag is that it should be generic enough to describe other sorts of parent -> child relationships between fields.
2019-04-02 13:52:04 -04:00
Ray Qiu 0e45676a95
Add Kibana Home Tutorial for Filebeat coredns module (#34330)
* Add Kibana Home Tutorial for Filebeat coredns module
2019-04-02 12:42:22 -05:00
Caroline Horn e4d3b5dc08
[Search Profiler] Quick style fix up including dark theme (#33445)
* Quick unrelated fixes

* [Search Profiler] Quick fix style fix up including dark theme

* Fixed IE

* Remove unused translation

* Make the main panel always visible and scroll independently

* Space out flyout title

* Fix up for the new tabs directive
2019-04-02 13:17:44 -04:00
Tyler Smalley 1b95bed2da
[linting] Enforce relative paths for X-Pack modules (#34349)
* Add module-migration support for toRelative

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* tslint fixes

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Move configuration to root

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Simplify root definition

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-04-02 10:08:13 -07:00
Philipp B 5b9cdc7307
[ML] (Accessibility) Import Data -> Index Name should announce as "required" #31130 (#34341)
* adds aria label for required index name text input
* translated aria-label for advanced DataVisualizer import settings
2019-04-02 20:07:46 +03:00
Lukas Olson 5c15e6b0b3
Fix time picker quick select (#34354) 2019-04-02 09:46:01 -07:00
Nathan Reese 027cd84fb0
[Maps] fix Layer Table of Contents jitter on mouse mouve (#34322) 2019-04-02 10:25:21 -06:00
James Gowdy 2315ac1173
[ML] List data recognizer modules (#30935)
* [ML] [WIP] List data recognizer modules

* making module id optional

* sort modules

* removing list_module endpoint

* removing list_modules call

* listed modules include saveObjects

* adding tests
2019-04-02 17:23:56 +01:00
Clint Andrew Hall 365fd4bfbe
[canvas] Color fixes + Storybook 5 (#34075)
## Summary

(Fixes #33734 #33757 #33735)

This PR resolves issues with the `mini` color selector, the places the color picker was used, and removes complexity around color selection.  It allows for CSS-based color strings while still ruling out duplicates in the color palette, and fixes bugs found recently.

This PR also includes + modifies #33896 and updates Storybook to v5.

![Mar-28-2019 09-18-45](https://user-images.githubusercontent.com/297604/55168267-873a1c00-5140-11e9-93b9-f5ca86e70098.gif)
2019-04-02 11:21:51 -05:00
Nathan Reese dee7b9a5f8
[Maps] update map name in breadcrumb when changed (#34287) 2019-04-02 10:07:52 -06:00
Lisa Cawley d13af852ed
[DOCS] Adds settings section to breaking changes (#34328) 2019-04-02 07:48:04 -07:00
Søren Louv-Jansen 949a267672
[APM] Fix missing ML data, and NaN issue (#34333) 2019-04-02 16:39:19 +02:00
Thomas Neirynck 2bba68f858
[Maps] Prevent console error by not querying for features in non-existing mapbox layers (#34321) 2019-04-02 10:07:19 -04:00
Melissa Alvarez d3dd95d7c8
[ML] Anomaly Explorer - ensure valid syntax after removing 2nd of 3 filters via icon (#34187)
* Remove middle filter value correctly using icons

* remove middle filter value in OR query correctly with icons

* combine operator pattern check
2019-04-02 10:32:12 +02:00
Mikhail Shustov 461289e05b
use eslint-import-plugin/no-export-default instead of custom rule (#34285) 2019-04-02 08:37:01 +02:00
Lisa Cawley 7198a1ffcd
[DOCS] Work around for titleabbrev errors (#34201) 2019-04-01 13:23:59 -07:00
Søren Louv-Jansen 433bb2d3fe
[APM] Show warning about unmigrated legacy data (#34164) 2019-04-01 22:18:01 +02:00
Spencer 93b2fca25d
[plugin-generator] choose between .scss and .css file at startup (#34134) 2019-04-01 12:04:15 -07:00
spalger b5cdb6df6e disable failing suite
(cherry picked from commit ab6cedae42)
2019-04-01 11:39:31 -07:00
Lisa Cawley 2af3f7a430
[DOCS] Adds X-Pack icon for Canvas (#34173) 2019-04-01 11:26:32 -07:00
Josh Dover 39eb3aff16
Add --plugin-path support for new platform plugins in dev (#33865)
* Add --plugin-path support for new platform plugins

* PR comments

* PR review comments
2019-04-01 13:20:26 -05:00
Felix Stürmer d62513657f
[Infra UI] Add and use typed styled-components theme provider (#33607)
This adds a specialization of the styled-components api, which is correctly typed according to the new theme variable type definitions included in EUI (elastic/eui#1750) and made available in Kibana via #33873.
2019-04-01 20:16:10 +02:00
Brandon Kobel 77520b00b6
Changing sample data to use auto_expand_replicas of 0-1 (#33736) 2019-04-01 10:08:20 -07:00
Luke Elmers 37f999474e
Fix broken CSV export from data table. (#34131) 2019-04-01 11:01:42 -06:00
Lisa Cawley 7e25b78a6b
[DOCS] Adds X-Pack icon for index management (#34175) 2019-04-01 09:56:46 -07:00
CJ Cenizal 7c7ffde5fa
Title-case Index Management, Index Lifecycle Policies, Rollup Jobs, and Remote Clusters. (#33899) 2019-04-01 09:48:52 -07:00
Lisa Cawley bbf4fbc983
[DOCS] Adds X-Pack icon for ILM (#34178) 2019-04-01 09:32:39 -07:00
Tiago Costa 88738971bf
Remove ts-loader from canvas storybook webpack config. (#33896)
* chore(NA): remove ts-loader from canvas storybook webpack config.

* chore(NA): use the correct preset.
2019-04-01 17:21:24 +01:00
Nathan Reese f32a44a31f
[Maps] properly wait for map pan and zoom in functional tests (#33993)
* [Maps] properly wait for map pan and zoom in functional tests

* unskip tests from merge with master

* do not check original view with setView

* update expect statements for numbers instead of strings
2019-04-01 10:08:27 -06:00
Tim Roes 71e61e3072
Hide gauge labels when value is hidden (#34171)
* Hide gauge labels when value is hidden

* Only hide subtext when value is hidden

* Use better free space calculation

* Fix tests
2019-04-01 18:04:11 +02:00
Lisa Cawley fe40210357
[DOCS] Adds X-Pack icon for rollup management (#34182) 2019-04-01 08:58:59 -07:00
Lisa Cawley 8f66a1e6f4
[DOCS] Adds X-Pack icon for maps (#34170) 2019-04-01 08:32:11 -07:00
Peter Pisljar 61e5300391
adding yml switch for using interpreter in expressions (#33832) 2019-04-01 15:35:12 +02:00
Liza Katz e934a48266
remove validate-json to resolve bad merge (#34249)
* remove validate-json to resolve bad merge

* Remove import of validate_json
2019-04-01 15:33:02 +03:00
Marco Vettorello 762b42ed92
Replace deprecated moving_avg by moving_fn aggregation (#34155)
* Replace existing moving avg with moving function

* Fix getValue to preserve null values

* Keep null y values when generating lines.

We have a .defined function on the line generator that will split lines
for every null value. I've removed the data filter so we can use that function
correctly to correctly draw lines only on defined values
2019-04-01 13:15:27 +02:00
CJ Cenizal 0439b68460 Fix and reenable Rollup JobList client integration tests. (#34215) 2019-04-01 12:02:53 +02:00
Maryia Lapata 50461a2086
[Vis: Default Editor] Fix issue for string control (#34151)
* Display fied if it's enabled

* Reset model value

* Fix type

* Get rid of lodash dependancy
2019-04-01 11:55:30 +03:00
Philipp B 3969a6c809
Search on advanced settings: screenreader announces that results are getting filtered #22686 (#33234)
* announce that layout has been changed
* proper delaying algorithm
* proper i18n key
* set a proper FormattedMEssage options
* turn timer off once component is unmounted while delaying is in progress
2019-04-01 11:18:02 +03:00
Søren Louv-Jansen 2d04e33288
[APM] Remove open-ended index signatures from interfaces (#34146) 2019-04-01 10:01:21 +02:00
Alexey Antonov 6d0b7f4d91
[TSVB] Code cleanup - remove unused file (core_plugins/metrics/public/lib/create_new_panel.js) (#33968) 2019-04-01 10:43:25 +03:00
Spencer c982856d31
[kbn/es] print headers when requests fail (#34237) 2019-03-31 18:17:12 -07:00
spalger d7b2889b28 [packer_cache] make packer_cache idempotent
When issues arise while building the packer_cache, like the ongoing es snapshot download errors, the cache scripts
are retried (up to 5 attempts). In order for this to work the script needs to be idempotent, but `mkdir` is failing
if the .chromedriver or .geckodriver directory already exists because they were not using the -p option.
2019-03-31 18:13:10 -07:00
Spencer 7202398c01
[geckodriver] use cached archive if it matches the dep (#34214)
We've seen a good number of geckodriver download failures recently, so we should treat it the same way as chromedriver and cache the download in the packer cache and reuse it when possible.

See https://github.com/vladikoff/node-geckodriver/pull/62
2019-03-31 15:29:36 -07:00
Liza Katz 3fc15bd8f7
New platform cleanup autoload - step 2 (#33807)
* Explicit dependencies to doc_title

* Explicit dependencies to
    - kbn_top_nav
    - saved_object_save_as_checkbox

* Explicit dependencies to filter_bar

* Explicit dependency to query_bar

* Removed modules from autoloades that never
used implicitly:
- bound_to_config_obj
- debounce
- filter_manager
- index_patterns
- parse_query
- persisted_log
- timefilter

* Removed modules from autoload (never used implicitly)
- events

* Explicit dependency to bind + typo fix

* Explicit dependency to fancy_forms

* Explicit dependency to $listen

* Explicit dependency to timepicker

* Moved kbn-infinite-scroll directive to doc_table

* Explicit dependency on directives
- css truncate
- inequality

* Explicit dependecy to input_focus directive

* Explicit dependency to json-input directive

* Explicit dependency on directives:
 - input_focus
 - paginate

* Explicit dependency on paginated-selectable-list directive

* Explicit dependency on saved-object-finder directive

* Moved validate_json directive into agg_types

* Don't include directives implicitly

* Moved comma list
Explicitly included sort_prefix_first filter

* Deleted unused filter unique

* Deleted unused filter startFrom

* Removed unused filter matchAny

* Moved filter trustAsHtml to kbn_doc_views
Added explicit import to uriescape

* Moved markdown filter to notify

* Explicitly import label filter

* Remove implicit autoload of filters
2019-03-31 11:55:55 +03:00
Alexey Antonov 852b6e9b1a
x-pack/test/saved_object_api_integration/common/suites/find.ts Fix broken build (#34224) 2019-03-30 20:23:50 +03:00
Alexey Antonov ed57d3b4d3
Visual builder: percentile ranks should allow multiple values (#33642)
* Visual builder: percentile ranks should allow multiple values

Fix: #33144

* Visual builder: percentile ranks should allow multiple values - fix translation

Fix: #33144

* Visual builder: percentile ranks should allow multiple values - fix translation

Fix: #33144

* Visual builder: percentile ranks should allow multiple values  - add migration script

* Visual builder: percentile ranks should allow multiple values  - fix tests

* Visual builder: percentile ranks should allow multiple values  - add executeMigrations function

* Visual builder: percentile ranks should allow multiple values  - fix table view label

* Visual builder: percentile ranks should allow multiple values  - fix comments

* Visual builder: percentile ranks should allow multiple values  -add multi value row

* Visual builder: percentile ranks should allow multiple values  -add multi value row

* Visual builder: percentile ranks should allow multiple values   fix review comments

* Visual builder: percentile ranks should allow multiple values   fix review comments

* [TSVB] Code cleanup - remove unused file (core_plugins/metrics/public/lib/create_new_panel.js)
2019-03-30 17:41:35 +03:00
Spencer 41e49cf93f
[yarn] upgrade geckodriver (#34216) 2019-03-29 21:05:24 -07:00
spalger dbb80992ab skip failing suite 2019-03-29 18:07:55 -07:00
spalger 8ccd4334aa fix cp command syntax 2019-03-29 15:55:19 -07:00
CJ Cenizal 8d262bded5
Rename user_action telemetry app to ui_metric (#33904)
* Rename internal references to user actions to UI metrics in Index Management, ILM, and Rollups.
2019-03-29 15:26:31 -07:00