Commit graph

18604 commits

Author SHA1 Message Date
Catherine Liu
2f7797b7b1
Moved squel from devDependencies to dependencies (#23849) (#24025) 2018-10-15 12:18:17 -04:00
Catherine Liu
03fd3316b5
fix: Router can render function or class components (#23372) (#23964)
* fix: router can render function or class components

* fix: correctly define state

and change the first load detection, since this.state is always set now

* chore: DRY up navigation code

* tests: disable listener cleanup test

there's no way to know when the listener is going to get cleaned up anymore :(
2018-10-12 01:45:26 +01:00
Catherine Liu
b7a00606ff
Adds super select to font picker (#23855) (#23928)
* Adds super select to font picker. Removes fauxSelect component

* Removed import for font_picker.scss
2018-10-11 09:08:11 +01:00
Lukas Olson
598aab23a7
Fix missing field message 2018-10-10 14:14:38 +01:00
Ryan Keairns
52835b0439
removes unused less styles (#23759) (#23927) 2018-10-10 06:53:01 -05:00
Walter Rafelsberger
fcaa28783d
[ML] Makes mlExplorerDashboardService independent of angularjs (#23874) (#23884)
This is a refactor of mlExplorerDashboardService to make it available via import instead of angularjs dependency injection. This way it's also not necessary anymore to pass it on as a prop to ExplorerSwimlane, the component can now import the service by itself.
2018-10-10 09:54:26 +02:00
Catherine Liu
780dcd57ed
fixes early return condition in dom_preview (#23894) (#23908) 2018-10-09 06:12:45 +01:00
Josh Dover
2031b1e2df
Prevent header popovers from scrolling with page content (#23850) (#23900) 2018-10-08 04:45:36 -05:00
Walter Rafelsberger
e21da24ad5
[ML] Anomaly Explorer Rare/Population Charts (#23423) (#23879)
This PR introduces custom charts for detectors that use a rare function (Event Distribution Chart) as well as detectors that use an over field (Population Distribution Chart).
2018-10-07 11:26:29 +02:00
Chris Roberson
f178d6092b
[6.x] [Monitoring] CCR UI (#23013) (#23873)
* [Monitoring] CCR UI (#23013)

* Initial version of CCR monitoring UI

* Adding missing files

* Use icons

* Use new column header text

* Update tests

* Basic of shard detail page

* Do these in parallel

* Disable time picker on ccr page

* Remove summary for now

* Remove unnecessary code here

* Fix a few things on the shard page

* Only send down what we need

* update snapshot

* Handle no ccr_stats documents

* Ensure we fetch the latest

* Updates

* Format the time

* Add api integration tests

* Adding pagination and sorting

* Updated query logic

* Change this back

* Add specific information about the follower and leader lag ops

* Update tests

* UI updates

* Address PR issues

* Fix tests

* Update shapshots

* Add timestamp

* Update tests

* Add a few snapshot tests

* Use timezone formatter

* Fix tests

* Fix aligment of shard table

* PR feedback

* Update snapshots

* Update snapshot

* Fix tests for #23013 (#23883)
2018-10-06 13:56:09 -04:00
Brandon Kobel
7b639ca77d
Fixing the behavior when scrolling of the spaces popover (#23851) (#23886) 2018-10-05 11:45:07 -07:00
Catherine Liu
887ad26367
Change single select combo box to plain text in esdocs (#23853) (#23877) 2018-10-05 11:14:16 -07:00
Melissa Alvarez
932faba615
[ML] Ensure Calendar creation navigation tabs are keyboard/screen reader accessible (#23832) (#23870)
* Calendar nav links keyboard accessible

* Prevent default click behavior

* use event default value

* remove unnecessary default param
2018-10-05 15:28:10 +01:00
Ryan Keairns
6efa089bb9
Reporting SASS - Remove less styles (#23782) (#23871)
* remove less styles

* remove less import
2018-10-05 09:24:22 -05:00
pavel06081991
3c7646e131
i18n remove extra span tags (#23529) (#23864)
remove extra span tags generated by FormattedMessage component

translate missed labels
2018-10-05 11:53:56 +03:00
dave.snider@gmail.com
6a8a653327
Management core Less to Sass (#23596) (#23861)
Converts management's less to sass. Makes minor adjustments to those pages for some design cleanup.
2018-10-05 00:41:17 -07:00
Ryan Keairns
74f1bae873
change progress element titles to sentence casing (#23820) (#23846) 2018-10-04 20:15:34 -05:00
Stacey Gammon
4cdfc9a526
Tests: Wait for dashboard save button to be enabled before clicking. (#23539) (#23838)
* Fixes #21446

An attempt to fix the above by making sure the click only happens when the button is enabled.

* Fix wrong function name

* Fix mistakes
2018-10-04 17:22:29 -04:00
dave.snider@gmail.com
cb4dd5569f
Eui 4.4.1 (#23790) (#23835)
Updates EUI to 4.4.1 and includes some minor homepage changes around icons.
2018-10-04 14:18:12 -07:00
Brandon Kobel
d3cd9d4056
Reenable X-Pack Functional Tests (#23836) (#23843)
* Make saved object client error while Kibana index is migrating

* Tidy up a bit, and refactor the way the `isMigrated` check is accessed

* Remove unused interface declaration

* Remove default migrator from saved objects repository constructor

* Fix repository migrator isComplete check

* Wrap callCluster and delay it until migrations have completed...

* Fix inaccurate comment

* Ensure migrations wait for elasticsearch to go green prior to running

* Reenabling tests

* Add tests for callCluster being wrapped in the repository, fix
the es_archiver's call to migrate index.

* Fixing esArchiver's usage of migrations

* Disabling spaces for the phanton api BWC tests

* don't throw if authorization mode is already initialized

* Adding spaces to the reporting historical archives

* Loading empty_kibana for grok debugger tests

* Enabling reporting tests

* Altering the method in which we logout users to be more fault tolerant

* Actually doing what I said before...

* Skipping Dashboard Preserve Layout, it likes to fail a lot

* Skipping dashboard view mode tests

* Putting logout back how it was, trying to make the security tests run
properly when we don't have dashboard mode tests

* Running subsection of tests that are failing

* Don't bail, run them all

* Disabling canvas, breaks logout

* Fixing spaces create legacy error assertion

* Putting comment about why we're disabling spaces for the functional
tests
2018-10-04 13:39:09 -07:00
lcawl
37580cab55 [DOCS] Fixes broken link in monitoring page 2018-10-04 13:14:17 -07:00
Lisa Cawley
6de150a1f5 [DOCS] Update Kibana monitoring tasks (#23736) 2018-10-04 11:38:39 -07:00
Chris Roberson
67c5fbf833
[Monitoring] Ensure we use the provided node id in the query (#23715) (#23775)
* Ensure we use the right parameter name

* Update test fixture to use second node
2018-10-04 13:40:59 -04:00
Chris Roberson
bc1405b7d6
Backport #22998 (#23689) 2018-10-04 13:36:51 -04:00
Jonathan Budzenski
e2ec868588
[tests/browser] generate css before testsBundle, include css (#23794) 2018-10-04 11:11:04 -05:00
Luke Elmers
1f13ee6421
Remove deprecation notice from ascending sort for terms (#23421) (#23503) 2018-10-04 09:25:41 -06:00
Ryan Keairns
76da440962
misc ui bug fixes (#23629) (#23773) 2018-10-04 10:16:54 -05:00
Leanid Shutau
5bf648f039
[I18n] Add HOC injecting i18n provider (#23683) (#23804)
* add injectI18nProvider HOC

* Fix propTypes typo

* Typescriptify wrapper

* Add tests

* Fix tests

* Resolve comments
2018-10-04 13:43:00 +03:00
Leanid Shutau
6e6dd48409
[I18n] Update TS types in i18n engine (#23754) (#23805)
* [I18n] Export i18n service type

* Add InjectedIntl export and context type
2018-10-04 13:35:17 +03:00
Leanid Shutau
8b24893334
[I18n] Fix types paths for kbn-i18n package (#23744) (#23803)
* [I18n] Fix types paths for kbn-i18n package

* Remove module field from package.json
2018-10-04 12:07:21 +03:00
Aleh Zasypkin
d758441fab
[6.x] Expose core config schema validation system as @kbn/config-schema package. (#23802) 2018-10-04 11:06:01 +02:00
Pete Harverson
f90cb803de
[ML] Indicate multi-bucket anomalies in results dashboards (#23746) (#23765) 2018-10-04 09:26:58 +01:00
Brandon Kobel
c798d1a52c
don't throw if authorization mode is already initialized (#23791) (#23798) 2018-10-03 19:12:08 -07:00
Brandon Kobel
08d0fb916d
Make saved object client await migrations prior to calling Elasticsearch (#23709) (#23795)
* Make saved object client error while Kibana index is migrating

* Tidy up a bit, and refactor the way the `isMigrated` check is accessed

* Remove unused interface declaration

* Remove default migrator from saved objects repository constructor

* Fix repository migrator isComplete check

* Wrap callCluster and delay it until migrations have completed...

* Fix inaccurate comment

* Ensure migrations wait for elasticsearch to go green prior to running

* Add tests for callCluster being wrapped in the repository, fix
the es_archiver's call to migrate index.

* Fix es_archiver's kbnServer mock
2018-10-03 16:09:22 -07:00
Shaunak Kashyap
5c021afc5d
Relax check to account for metricbeat-indexed doc format (#23730) (#23792)
With Metricbeat shipping Elasticsearch monitoring data (instead of internal collection by Elasticsearch), there are some subtle changes to the format of monitoring docs that are indexed into `.monitoring-es-6-*`. One such change is that metricbeat won't index fields with `null` values; instead it simply doesn't index such fields at all.

As a result, in the context of Elasticsearch monitoring docs, when it comes to docs with `type` = `shards` representing unassigned shards, the `shard.node` field was being indexed as `null` by internal Elasticearch collection, whereas the field was absent when the doc was indexed by Metricbeat.

Since both cases represent the same case — the shard being unassigned — this PR relaxes the check in the UI code to look for either case.

### Sample `shards` document indexed by internal ES collection

```js
{
   "_index":".monitoring-es-6-2018.10.02",
   "_type":"doc",
   "_id":"WUf_htOeSXOJQmiesyF5Bw:_na:metricbeat-7.0.0-alpha1-2018.10.01:0:r",
   "_source":{
      "cluster_uuid":"zXO1GjA6SJGsrPnCPkOoyA",
      "timestamp":"2018-10-02T03:54:43.364Z",
      "interval_ms":10000,
      "type":"shards",
      "source_node":null,
      "state_uuid":"WUf_htOeSXOJQmiesyF5Bw",
      "shard":{
         "state":"UNASSIGNED",
         "primary":false,
         "node":null,
         "relocating_node":null,
         "shard":0,
         "index":"metricbeat-7.0.0-alpha1-2018.10.01"
      }
   }
}
```

### Sample `shards` document indexed by Metricbeat collection

```js
{
   "_index":".monitoring-es-6-mb-2018.10.02",
   "_type":"doc",
   "_id":"FhDRTPjkQJqsgawYbxjQzw:_na:metricbeat-7.0.0-alpha1-2018.10.01:0:r",
   "_source":{
      "@timestamp":"2018-10-02T04:00:03.361Z",
      "interval_ms":10000,
      "shard":{
         "state":"UNASSIGNED",
         "primary":false,
         "index":"metricbeat-7.0.0-alpha1-2018.10.01",
         "shard":0
      },
      "state_uuid":"FhDRTPjkQJqsgawYbxjQzw",
      "beat":{
         "hostname":"Shaunaks-MBP-2",
         "version":"7.0.0-alpha1",
         "name":"Shaunaks-MBP-2"
      },
      "timestamp":"2018-10-02T04:00:03.375Z",
      "type":"shards",
      "metricset":{
         "name":"shard",
         "module":"elasticsearch",
         "host":"localhost:9200",
         "rtt":14254,
         "namespace":"elasticsearch.shard"
      },
      "host":{
         "name":"Shaunaks-MBP-2"
      },
      "cluster_uuid":"zXO1GjA6SJGsrPnCPkOoyA"
   }
}
```
2018-10-03 15:02:41 -07:00
Brandon Kobel
d543e3f713
Limiting maximum number of Spaces (#23673) (#23774)
* Limiting the number of spaces

* Adding docs

* Adding forgotten fixture

* Fixing tslint error

* Adjusting docs

* Changing test descriptions from Boom.badRequest to bad request

* Updating error snapshots
2018-10-03 12:43:29 -07:00
Alex F
8a442ac4a7
eCommerce Sample Data (#23214) (#23788)
:shipit:
2018-10-03 15:38:08 -04:00
Larry Gregory
e45921e449
Handle case where space name is made entirely of whitespace (#23691) (#23783)
* handle case where space name is made entirely of whitespace

* update space name validation
2018-10-03 14:24:01 -04:00
Catherine Liu
b893aa76f4
Added checks in dom_preview to fix style null bug (#23706) (#23781)
* Added checks in dom_preview to fix style null bug

* Added early return in dom preview
2018-10-03 11:23:32 -07:00
Catherine Liu
1043944d02
Fixed merge conflict (#23780) 2018-10-03 11:20:23 -07:00
Ryan Keairns
a11c383919
Watcher - convert LESS to SASS (#23252) (#23772)
* convert watch less to sass

* add temp workaround for loading new styles

* use new style path
2018-10-03 12:43:46 -05:00
Catherine Liu
671e33c676
Fix: setState warnings in Canvas (#23671) (#23737)
* Added check for mounted workpad loader before setState calls

* Added check for mounted page manager before setState calls

* Added check for mounted arg form before setState calls

* Resets onmousemove and onmouseup handlers when workpad page unmounts
2018-10-03 09:29:49 -07:00
Court Ewing
f6d4fa974f
docs: note about permissions for grok debugger (#23664) (#23768) 2018-10-03 11:45:50 -04:00
Josh Dover
88fa89857d
Remove generated css file from git [ci skip] (#23728) 2018-10-03 10:32:02 -05:00
Thomas Watson
13b94ce656
chore: fix spelling of APM Server (#23729) (#23749) 2018-10-03 17:15:42 +02:00
Nathan Reese
67a685029a
do not call set state when unmounted (#23711) (#23732) 2018-10-03 07:06:01 -06:00
Melissa Alvarez
939f8791ba
[ML] Ensure charts loaded in Anomaly Explorer match swimlane selection (#23690) (#23747)
* Only consider last request.Prevent promise race condition

* Reminder for regression test
2018-10-03 13:00:58 +01:00
Robert Monfera
721bb8c96b
Feat: group resize for horizontal constituents (#23553) (#23741)
Feat: group resize for horizontal constituents
2018-10-03 09:10:01 +02:00
Robert Monfera
69bd9389d3
Fix: browser back button after workpad switch should be handled specially (#23619) (#23738) 2018-10-03 08:08:14 +02:00
Chris Davies
9edb4cc48b
Fix a bug with reindex timing out during migration of largish indices (#23397) (#23718)
Modify migrations to poll for realias completion to
avoid a timeout on larger indices
2018-10-02 20:41:35 -04:00