Commit graph

787 commits

Author SHA1 Message Date
Sébastien Loix
3717ff89f0
[Typescript]: Move elastic/eui typings to single file
* [Typescript]: Move elastic/eui typings to single file

* [Typescript]: Add typings folder to copyTask when building distributable
2018-11-23 16:36:12 +01:00
Pete Harverson
445ac2f12f
[ML] Adds support for kuery to job wizards (#26094)
* [ML] Adds support for kuery to job wizards

* [ML] Pass combined query and filters to multi metric model mem calc

* [ML] Edits following review
2018-11-23 14:45:39 +00:00
Nox911
d58addc47f Feature/translate monitoring apm and chart (#25063)
* Translate monitoring - apm

* Translate monitoring - chart

* Fix issues with apm

* Fix issues with chart

* Update snapshots
2018-11-23 12:44:37 +03:00
Nox911
f19945a7df Feature/translate monitoring server(part_2) (#25402)
* Translate monitoring -> server -> metrics

* Add monitooring path to i18nrx.json file

* Fix issues

* Remove eslint rule disabling
2018-11-23 12:39:05 +03:00
Peter Pisljar
f82d73285a
Ref/canvas interpreter2 oss take5 (#26068) 2018-11-23 06:37:25 +01:00
Lukas Olson
e36767a4b3 Move buildEsQuery to a package (#23345)
* fix: move buildEsQuery to utils

* fix: tests that I broke

* fix: add back link to the docs

* fix: don't export from ui/ and link to utils

* fix: move to a package

* fix: move error to errors.js

* fix: paths for peg task

* fix: update reference to kuery

* fix: build step for transpilation

* fix: add typescript declaration file

* fix: test

* tmp: debug individual tests

* debug: add debug stuff for reporting tests

* try to debug test

* Testing splitting reporting jobs in two

* Testing splitting each job

* Fix ci yaml

* Skipping job to check failing test

* debug - adding a catch to jobResponseHandler on report

* Testing a different job and enabling verbose mode

* Testing verbose on phantom_api skipping other CI tests

* Fix script mode

* fix: try running tests in chromium

* fix: move out of devDependencies

* fix: remove commented test

* Revert "fix: try running tests in chromium"

This reverts commit 991d46f051.

* Revert testing changes

* Fixing build for phantomjs

* Revert CI configuration to master. Remove verbose logging for tests
2018-11-22 15:24:19 +01:00
Leanid Shutau
43d4c22add
[I18n] Translate Graph (#23987)
* [I18n] Add Graph translations

* Fix typo

* Use template strings
2018-11-22 13:41:03 +03:00
Søren Louv-Jansen
acff23e810
[APM] Migrate to Typescript and refactor backend apis (#25848) 2018-11-22 10:30:25 +01:00
Spencer
bdcccfb304
[canvas/plugins] enable typescript support (#26050) 2018-11-21 18:06:10 -08:00
Joe Fleming
4f1ca7e07f
Fix: revert and enable canvas tests (#26054)
## Summary

CI was broken when enabling functional smoke tests via #25262. The problem is that the Kibana build is broken in master...

I think #25711 broke it, which was merged in between #25262 passing and it being merged (and then CI breaking). So this PR reverts that PR and enabled canvas smoke tests again to see if CI will pass.

- Revert #25711
- Revert 7ae0d28d87
2018-11-21 16:25:12 -07:00
Robert Monfera
2b6769a088
[Layout Engine] PC friendly element resize modifier keys; stuck key fix (#25935)
* keyboard fixes
* add handling for the ctrl key (PC)
* don't transmit modifier keys (no need; confuses PC)
2018-11-21 20:30:17 +01:00
Melissa Alvarez
9ea7720b50
[ML] Ensure Anomaly Explorer and Single View do not hang by fixing TypeError: finally is not a function (#25961)
* Replace finally with catch/then to fix typeError

* update error messages
2018-11-21 11:24:24 -08:00
Robert Monfera
b3ef0c4eaf
Fix: IE11 SVG elements have neither classList nor parentElement... (#26035) 2018-11-21 19:21:51 +01:00
Joe Fleming
4d7c141e66
Test: canvas functional smoke test (#25262)
~~Blocked by https://github.com/elastic/kibana/issues/23046 (pending https://github.com/elastic/kibana/pull/25828)~~ merged

Adds functional smoke tests for Canvas. 

- Loads and checks the list of workpads
- Loads the first workpad and checks that elements render

This is the simple workpad it's testing

![screenshot 2018-11-19 12 37 07](https://user-images.githubusercontent.com/404731/48730518-da7ee980-ebf7-11e8-9abb-cf294079bb5f.png)
2018-11-21 10:42:03 -07:00
Jason Rhodes
453e1f1a2d
Changes APM home page to use route-based tabs (#25891)
* Changed home page to use route based history tabs, abstracted history tabs to component with tests

* Spreads location on tab links to preserve query string etc

* Adds ts-ignore to 'fix' problem with TS not finding EuiTab and EuiTabs modules in EUI exports

* Fixes breadcrumbs and service redirect

* Removes commented code
2018-11-21 11:06:03 -05:00
Pete Harverson
1b3d6ae0b3
[ML] Ensures jobs from saved searches are cloned in advanced wizard (#26002)
* [ML] Ensures jobs from saved searches are cloned in advanced wizard

* [ML] Use useSavedSearch property for setting job created_by
2018-11-21 15:53:47 +00:00
Maryia Lapata
a3602f62bd
[i18n] Translations for Monitoring: Beats (#24976)
* Beats translations

* Fix unit tests

* Remove colon from translated label
2018-11-21 14:55:07 +03:00
Walter Rafelsberger
ac9c375662
[ML] Fix cleanup of mlAnomaliesTableService listeners in Time Series Viewer. (#25967)
- A missing call to componentWillUnmount() in the Single Series Viewer didn't properly clean up the listeners for mlAnomaliesTableService so when switching to the Anomaly Explorer the page would crash if the user hovered the Anomaly Table.
- This fixes it by calling ReactDOM.unmountComponentAtNode(element[0]); in element.on('$destroy', () => { ... }) to trigger the cleanup.
- Additionally, as a safety measure, mlChartTooltipService.show() now silently fails if target is undefined.
2018-11-21 11:32:23 +01:00
Nox911
ef4fa62f51 Feature/translate monitoring server (#25195)
* Translate monitoring server(without metrics folder)

* Fix issue

* Fix issues

* Fix issues

* Remove eslint rule disabling
2018-11-21 12:51:15 +03:00
Pete Harverson
9ca8cffb61
[ML] Fixes font size regressions following less to sass conversion (#25945) 2018-11-21 09:34:41 +00:00
Spencer
88af88ccdb
[chrome/breadcrumbs] migrate to the new platform (#25914)
* [chrome/breadcrumbs] migrate to the new platform

* expand some comments

* typo

* [apm] fix breadcrumbs tests
2018-11-20 13:54:59 -08:00
Oliver Gupte
682c50c0c2
[APM] adds telemetry to APM (#25513)
* [APM] adds telemetry to APM

* [APM] Code and readability improvements for APM Telemetry

* [APM] fixed failing tests for apm-telemetry and service routes

* [APM] fix lint issues for APM Telemetry
2018-11-20 08:23:13 -08:00
tibmt
8104a028d0
translate InfraOps visualization component (Part 1 - folder pages) (#25194)
* translate InfraOps vizualization component (Part 1 - folder pages)

* update translation of Beats Management vizualization component (Part 1 - folder components)

* Update toolbar.tsx

* update translation of Beats Management vizualization component (Part 1 - folder components)

* update translation of Infra Ops vizualization component (Part 1)

* update translation of Infra Ops vizualization component (Part 1)

* update Infra Ops Part 1 - change some ids, change i18n.translate() to intl.formatMessage() and directly wrap some classes by injectI18n()

* update Infra-I - add static to displayName, update some ids
2018-11-20 17:12:18 +03:00
Sonja Krause-Harder
40960f98ab
[Infra UI] Refactor 'capabilites' to 'metadata'. (#25580)
* Refactor 'capabilites' to 'metadata'.

* Better language in inline documentation.
2018-11-20 11:26:29 +01:00
Peter Pisljar
43b1d00128
move canvas interpreter to OSS (#25711) 2018-11-20 09:56:50 +01:00
tibmt
cf64825ff2 Translate security/roles component (#23984)
Translate security/roles component
2018-11-20 10:22:10 +03:00
Jonathan Budzenski
a3ecbde2de
Swap jstimezonedetect with moment.tz.guess (#21800)
* Swap stimezonedetect with moment.tz.guess

* fix yarn.lock

* fix merge
2018-11-19 16:24:25 -06:00
Caroline Horn
a5076b5172
Vis public UI LESS to SASS (#25333) 2018-11-19 16:05:52 -05:00
Joe Fleming
708638899f
Feat: Support url params (#25828)
Closes https://github.com/elastic/kibana/issues/23046

Switch to a hash history manager that supports pushState and replaceState. This makes the "basepath" part of the hash's concern, so anything before the hash no longer matters. This also allows undoing a bunch of hacky fixes.

This also allows the `urlparam` function to work again! ヽ(;▽;)ノ

![screenshot 2018-11-16 12 51 14 1](https://user-images.githubusercontent.com/404731/48645245-508a1300-e9a2-11e8-8959-1ede474b78dd.jpg)
2018-11-19 12:41:01 -07:00
Catherine Liu
1d7d60360b
Fixes loading component (#25819)
* Removes redux selectors from loading component. Fixes how loading accesses page background color

* Fixed props
2018-11-19 11:24:34 -07:00
Pete Harverson
cc07aa29d5
[ML] Edits to fields used in auditbeat module configurations (#25866) 2018-11-19 16:22:42 +00:00
Pete Harverson
7e30709be5
[ML] Use ml as a prefix for the ML SCSS variables (#25858) 2018-11-19 14:08:06 +00:00
Nox911
43fdd0f51a Feature/translate monitoring elasticsearch and kibana (part_ 1) (#24717)
* Translate monitoring-elasticsearch

* Fix eslint errors

* Fix errors and add provider

* Fix issues

* Fix issues

* Add empty line at the end of the file

* Update tests and enzyme_helpers

* Update snapshots

* Fix issues

* Change FormattedMessage to intl.formatMessage for title attributes

* Fix issues

* Fix unit test
2018-11-19 13:50:56 +03:00
Pete Harverson
85a6ec5977
[ML] Fixes fill of minor markers in Single Metric Viewer (#25816) 2018-11-17 10:21:52 +00:00
Jason Rhodes
d188597496
Swallows errors on ml lookups that we know might fail (#25783)
* Swallows errors on ml lookups that we know can fail

* Adjusts when we swallow ml lookup errors, fixes async test
2018-11-16 21:43:58 -05:00
Jason Rhodes
6bebea4687
Fix agent status lookup (#25557)
* Updates service overview to only do agent status check once

* TS support added for EmptyMessage and those who import it

* Fixed up tests

* Finishes TS and test updates for agent check fix

* Fixing up tests

* Fixed linting error

* Updated broken tests

* Re-typed the service list response, camelCase throughout

* Fixes broken test after data change

* Makes initial data type more specific

* Moves service list item TS interface back into server lib file
2018-11-16 21:25:35 -05:00
Melissa Alvarez
354d7cc431
[ML] Add checkbox to enable model plot in Advanced job wizard (#25468)
* Move cardinality success check to utils

* enableModelPlot checkbox base added

* Run cardinality check on add/update fields

* Handle changes made via json

* only run cardinality check if model plot enabled

* Handle model plot enabled via EditJSON tab

* show message on cardinality check error

* multi-metric + pop: show message on cardinality check error

* add test for callout component

* Fix flexitem overflow in IE11
2018-11-16 13:41:08 -08:00
Tim Sullivan
c6fece7607
[Reporting] use data-test-subj on toast to check for failure (#25482)
* [Reporting] use data-test-subj on toast to check for failure

* use header subj selector

* use toast header text

* helper function rename - checkForToastMessage
2018-11-16 12:10:27 -07:00
Jason Rhodes
9ee5d89a9e
Fixes rtl bug while maintaining dynamic right alignment (#25780)
* Fixes rtl bug while maintaining dynamic right alignment

* Adds overflow properties for wildly long transaction or span names
2018-11-16 12:36:27 -05:00
Walter Rafelsberger
2a52b4f7e2
[ML] Migrate Timeseries Chart to React (#25792)
* [ML] Reactified Singleseries Chart.
* [ML] Adds an initialization test for TimeseriesChart.
* [ML] Restore original behavior of updating focus chart only when interacting with the brush selector.
* [ML] Tweaked comments.
2018-11-16 18:09:35 +01:00
Pete Harverson
b52ddd206a
[ML] Adds auditbeat process data recognizer modules (#25716)
* [ML] Adds auditbeat process data recognizer modules

* [ML] Sorts Kibana objects by title in recognizer job wizard

* [ML] Rename auditbeat modules Kibana objects to snake_case

* [ML] Remove auditbeat docker module kibana files

* [ML] Add auditbeat docker kibana objects with lowercase names

* [ML] Remove auditbeat host module kibana files

* [ML] Add auditbeat host module files with lowercase filenames
2018-11-16 15:33:42 +00:00
Maryia Lapata
11cda77d82
[i18n] Translations for Monitoring: Cluster and Alerts (#24736)
* Translations for Cluster and Alerts

* Translations for cluster and alerts

* Translations for cluster and alerts

* Fix typos

* Update id

* Update Notification snapshot

* Translate lastEvent label

* Revert changes for untranslated label.
2018-11-16 15:03:17 +03:00
Leanid Shutau
e44609753f
[I18n] Inject Intl Polyfill to PhantomJS (#25465)
* [I18n] Inject Intl Polyfill to PhantomJS

* Refactor injection code

* Move intl to "dependencies"

* Move 'intl' to the root 'package.json'

* Fix polyfills paths

* Move intl to x-pack package.json
2018-11-16 11:06:26 +03:00
Søren Louv-Jansen
83d5a7a147
[APM] Fix agent marks (#25717)
* [APM] Fix agent marks

* Address feedback
2018-11-16 08:51:15 +01:00
Nox911
359c852c76 Feature/translate monitoring elasticsearch part 2 (#24734)
* Translate monitoring -> view -> elasticsearch

* Fix issues

* Translate monitoring - view -  elasticsearch and kibana

* Fix issues

* Fix issues

* Fix issues

* Fix placeholder value
2018-11-16 09:04:46 +03:00
Matt Apperson
c7a29aa7d2 add beta text until a beta flag is supported in management plugins (#25754) 2018-11-15 20:20:35 -05:00
Nathan Reese
30ebf9c2dc
use savedObjectsClient to get index-patterns (#25630) 2018-11-15 16:02:57 -07:00
Jason Rhodes
f926df8906
Fix hapi upgrade (#25723)
* Fixes consistent error handling in routes, adds tests for error handling

* Upgrades to failure tests per review
2018-11-15 16:01:26 -05:00
dave.snider@gmail.com
bfa852aa2b
[ML] convert Less to Scss (#25574)
Coverts ML's Less files to Sass and introduces EUI variables.
2018-11-15 07:23:29 -08:00
Pete Harverson
1a3f0cac4b
[ML] Fixes recognizer job wizard to use dedicated index setting (#25706) 2018-11-15 14:40:41 +00:00