Commit graph

18051 commits

Author SHA1 Message Date
Casper Hübertz
92026c3db8
[DOCS] APM UI docs for ML and query bar features (#21727)
Adding content for Machine Learning integration and query bar UI in the Using the APM UI docs.
2018-08-08 11:54:17 +02:00
sun
42634bdc46 Swap Watcher 'create action' tooltips (#21717) 2018-08-07 20:58:58 -07:00
CJ Cenizal
494c267cd9
Remove Notifier's directive and banner methods (#20870)
* Convert xpack license check to use banners service.
* Remove notifier directive method.
* Remove notifier banner directive.
* Simplify pullMessageFromUrl and move it into its own appRedirect module.
2018-08-07 16:44:08 -07:00
Spencer
1a99df72ba
[new platform] render legacy platform into a container (#21248)
* [core/public/legacyPlatform] render into a child of the rootDomElement

* [kbn-chrome] use #kibana-body selector for ensuring root height

* after feedback in #20752, clear elements by setting textContent

* [browserTests] mount CoreSystem in a child, we require stuff in <body>

* [core/public] ensure the rootDomElement is full-screen

* add some comments tieing together root style rules

* use `readonly` for unchanged properties

* avoid unnecessary recreation of default param

* comment about why coreSystem is not rendered into body in the tests

* use more destructuring

* rename argument in callback type signature

* fix typo

* [core/public/styles] switch from less to css
2018-08-07 15:33:32 -07:00
Matt Bargar
5e5b2ce7e2
Fix available fields option toggle (#21730)
a36b87a#diff-aff92ff718af4b68d02f030d8a438754 added an ng-if around the available fields button element. ng-if creates a child scope. The ng-click on the button directly modifies scope state. As a result, when the ng-if was added, that ng-click began modifying the ng-if's child scope instead of the parent scope.

The best solution would be to update the discFieldChooser directive to use the controllerAs property so its scope variables are namespaced. However, this is a bit risky because I'd need to make sure to update every single scope variable reference in the template, and it's a relatively large template. Since we'd like to backport this to 6.4 I've taken the less risky route of adding $parent to the scope reference inside the ng-if block.
2018-08-07 16:53:33 -04:00
Nathan Reese
5fc22e1291
EUIify dashboard options top nav (#21510)
* trying new EuiWrappingPopover

* allow button press to close popover

* fix button styling

* start options panel with darkTheme option

* add other options

* remove old options html

* get dashboar state functional test working
2018-08-07 13:19:13 -06:00
Stacey Gammon
9d9c6c808a
Make visualization.waitForRender more generic and put in an embeddable class (#21688)
* Make visualization.waitForRender more generic and put in an embeddable class.

* embeddable -> renderable

* missed a reference
2018-08-07 14:24:25 -04:00
Chris Roberson
94be31981d
Use empty strings to avoid EUI warnings (#21726) 2018-08-07 13:37:35 -04:00
Chris Roberson
871d283ead
[Monitoring] Kibana settings api (#21100)
* Kibana settings api

* Use different version of this utility

* Adding settings api test

* Fix these tests

* Update test
2018-08-07 13:12:51 -04:00
Chris Roberson
2f4dd53dd7
[Monitoring] Convert info button to EUI (#20828)
* Convert info button and the rest of the page to EUI

* Update other overview pages

* Use Page directive

* Give the tooltip some more space

* Add page body to a couple places

* PR feedback
2018-08-07 11:25:09 -04:00
Casper Hübertz
a80e51e658
[APM] Override EUI chart default styles for gridlines (#21723)
Reverting to APM style override for chart gridlines
2018-08-07 16:35:11 +02:00
Tim Roes
dc0b7074d4
Add proper aria-label for close inspector (#21719) 2018-08-07 15:11:55 +02:00
James Gowdy
ae0f49658a
[ML] Fixing issue with historical job audit messages (#21718) 2018-08-07 14:11:08 +01:00
Spencer
8ccafd073b
[dashboard/fullScreen] override z-index override (#21704) 2018-08-06 16:43:09 -07:00
Chris Roberson
0d8c9d3577
[Monitoring] Convert beats overview page to use EUI components (#20765)
* Convert beats overview page to use EUI components

* More UI components for beats overview

* Set background color to white

* Update snapshots

* Add PageBody wrapper

* Update snapshots

* Use panels

* PR feedback

* Update snapshots
2018-08-06 15:51:01 -04:00
Stacey Gammon
3aa2f6c1f1
Turn reporting snapshot tests back on with new baselines (#21441)
* Turn reporting snapshot tests back on with new baselines

* Use snapshots generated from chromium.  Bump the threshold so phantom comparisons pass

* Increase timeouts because of chromium functional tests.

* remove accidentally checked in session snapshots

* add a better vis baseline, run once through at 0 to check expected threshold

* turn on verbose logs

* Use threshold, turn debug mode on in jenkins

* Wrap both convert pages in the retry

* Update baselines

Preserve layout one got messed up - it was actually a print layout.

* bump threshold even more
2018-08-06 12:29:16 -04:00
Tim Roes
a5cbe2d945
Improve filterBar.addFilter performance (#21560)
* use SavedObjectsClientProvider to provide SavedObjectLoader with an angular wrapped saved object client

* Improve filterBar.addFilter performance

* Add better documentation

* Ease logic of addFilter and add better docs

* Fix old addFilter calls
2018-08-06 18:03:35 +02:00
Pete Harverson
2f7c400448
[ML] Adds Jest tests for the rules editor flyout components (#21636) 2018-08-06 11:38:15 +01:00
Tim Roes
cb8fcdca16
Update destroy documentation of vis loader (#21649) 2018-08-06 12:02:23 +02:00
Caroline Horn
435b85070c
Fixed layout issue with Sample Data list in IE (#21619) 2018-08-03 12:05:13 -04:00
Søren Louv-Jansen
23d8d6a022
Update beta color and remove search button (#21643) 2018-08-03 17:40:56 +02:00
Nathan Reese
28a764934f
remove mergePanelData from dashboard redux reducers (#21607)
* remove mergePanelData from dashboard redux reducers

* add jest test to verify state can be updated with array with removed items
2018-08-03 09:10:21 -06:00
Marco Vettorello
5f52df034f Skip scale tick tests because of possible flakyness (#21641) 2018-08-03 15:44:21 +02:00
Jonathan Budzenski
9760923f20
[bin/windows] Remove title (#21567) 2018-08-03 06:53:54 -05:00
Peter Pisljar
d380b480c7
fixes pinned filters in visualize and dashboard (#21463) 2018-08-03 10:09:38 +02:00
Spencer
4f0d2ade1e
[kbn-test] convert kibana-install-dir flag to installDir option (#21317)
* [kbn-test] convert kibana-install-dir flag to installDir option

* [kbn-test] replicate kibana-install-dir handling to startServers

* [ftr] try running functional tests in production in CI

* Revert "[ftr] try running functional tests in production in CI"

This reverts commit e5b94aa024.

* [core/public/legacyPlatform] exclude ui/test_harness from the distributable

* [optimizer] fix `process.env.IS_KIBANA_DISTRIBUTABLE` definition

* [optimizer] only define `process.env.IS_KIBANA_DISTRIBUTABLE` when needed

Adding a `webpack.DefinePlugin` slows down the optimizer a small amount,
so only apply it when it is necessary, and skip it if it is going to
be defined as "false".

* [kbn-test/startServer] don't run in --dev mode if running from dist

* [ftr/kibanaServer/version] attach `-SNAPSHOT` suffix to version if running build_snapshot
2018-08-02 17:23:34 -07:00
CJ Cenizal
a207d97ce3
Fix Saved Objects item count and table filtering (#21574)
* Remove implementation detail assertion from objects table test.
* Reset selection state when table state or query state changes.
* Remove total count from title.
2018-08-02 16:18:01 -07:00
DeDe Morton
0939151c38
[Docs] Light edit to docker content (#21240) 2018-08-02 15:53:22 -07:00
CJ Cenizal
188d0709bc
Fix bug in Discover no results screen caused by shard failure reason property being an object (#21601) 2018-08-02 11:11:19 -07:00
Nathan Reese
a0634c42d6
Range control - handle response when readonly user does not have index permission (#21557)
* handle response when readonly user does not have index permission

* better test description name
2018-08-02 10:21:23 -06:00
James Gowdy
7659cc2489
[ML] Fixing jobs list refresh interval issue (#21593) 2018-08-02 17:16:34 +01:00
Marco Vettorello
6aaddb9488
Fix hidden ticks when using log scale (#21507)
* Add support for vertical axis

The vertical axis scale has an inverted range (max, min) and we need to compute the absolute scale width instead.

* Add functional test for Y axis scale type  switching

* Remove unnecessary waitUntilLoadingHasFinished
2018-08-02 16:13:02 +02:00
CJ Cenizal
e92240a9c6
Show user feedback and block them from interacting with the UI while saved objects are being deleted. (#21575) 2018-08-02 06:32:22 -07:00
Bill McConaghy
a7f3cc99ce
accounting for angular delay in disabling input to fix test (#21530) 2018-08-02 08:09:11 -04:00
Aliaksandr Yankouski
9f3e36b170
Set kibana locale in kibana.yml config (#21201)
* set kibana locale in kibana.yml config

* remove accept-language-parser

* remove unnecessary tests

* fix readme description, fix description for locale in kibana.yml

* add point, that i18n.locale option should have exact match

* update kbn/i18n README

* Update README.md

* use getUiTranslations in render_mixin, remove i18n_mixin

* move registering translation files to mixin function
2018-08-02 14:43:22 +03:00
Chris Davies
f43ffbc252
Remove shouldComponentUpdate from MarkdownVisComponent, as it is causing (#21501) 2018-08-02 07:11:09 -04:00
CJ Cenizal
1b9063b510
Disable flaky Shard Allocation Per Index test. (#21577) 2018-08-01 17:31:59 -07:00
Jen Huang
4bd7b74e99
Fix flaky context filters tests (#21511) 2018-08-01 12:22:07 -07:00
Stacey Gammon
93f9251418
comment out flaky tests. (#21538) 2018-08-01 14:13:00 -04:00
Nathan Reese
a66cb68bda
use SavedObjectsClientProvider to provide SavedObjectLoader with an angular wrapped saved object client (#21541) 2018-08-01 10:09:40 -06:00
Leanid Shutau
d787b6478f
Add tests for default messages extraction tool (#21036)
* Add tests for default messages extraction tool

* Update tests

* Switch from Jade to PugJS

* Resolve some issues

* Fix bugs and refactor tests

* Refactor utils.js tests

* Change error messages style
2018-08-01 18:52:20 +03:00
Stacey Gammon
7f2a64335a
Skip flaky tests (#21439) 2018-08-01 11:30:22 -04:00
Lukas Olson
9cc95aa21d
fix: do not require kuery_autocomplete in APM (#21539) 2018-08-01 08:03:41 -07:00
Nathan Reese
f256748eaa
set pause to 'true' when refresh interval is zero (#21498)
* set pause to 'true' when refresh interval is zero

* keep original assertion

* fix expect message in functional tests now that pause is set to true

* fix executorProvider mocha test
2018-08-01 09:00:41 -06:00
Nathan Reese
8f9bf6a3f6
add if check around using async handler object in VisEditorVisualization (#21454)
* add if check around using async loaded object in VisEditorVisualization

* immediatly call _handler.update when handler is loaded and update has occured

* add jest test

* lint fixes

* remove sinon
2018-08-01 08:57:11 -06:00
Nathan Reese
ef559d3199
Global time range in URL overwritten in certain situations. (#21440)
* move global state update from kbn_global_timepicker to timefilter

* add functional test

* update time and refreshInterval when either update

* use same function name from kbn_global_timepicker

* call globalState.save in context of a digest cycle

* ensure callers of registerTimefilterWithGlobalState pass in
2018-08-01 08:42:25 -06:00
Walter Rafelsberger
aabe4f13d2
[ML] Support for the rare detector for charts in anomaly explorer and singe metric viewer (#21524)
- Enables support for the rare detector for the charts in Anomaly Explorer and Single Metric Viewer.
- The charts use a count aggregation. The anomaly records for rare detectors include actual/typical values, but they don't refer to values we have for other detectors. actual is always 1 and doesn't refer to the actual count. typical has the probability as its value. To avoid confusing users by displaying these values as actual/typical in the tooltip, just the value of count of the aggregation will be shown.
- This enables the existing charts to be able to visualize rare detectors. A follow-up to this PR will introduce a specific chart for rare detectors.
2018-08-01 16:38:50 +02:00
Søren Louv-Jansen
2ad265b73f
[APM] Document APM config settings (#21492)
* [APM] Document APM config settings

* Don’t discern between OSS and xpack config options

* Change to apm_oss

* Reword docs
2018-08-01 15:24:34 +02:00
Søren Louv-Jansen
13598bed5a
[APM] Fix column widths in EUI tables (#21490) 2018-08-01 11:25:26 +02:00
Tim Roes
295c5a93de
Revert "Point issue links to new choose page (#19042)" (#21519)
This reverts commit 62badc5e10.
2018-08-01 11:05:36 +02:00