Commit graph

18272 commits

Author SHA1 Message Date
Spencer
141a97d93c
[TypeScript] add type-check script (#19325)
* [TypeScript] add type-check script

* [ci] run scripts/type_check after linting

* [ts] improve filterProjectsByFlag readability

* fix typo

* simplify type signature
2018-08-09 17:19:24 -07:00
Nathan Reese
78e1c8b147
add section about running API tests in functional test documentation (#21738)
* add section about running API tests in functional test documentation

* list valid configs under more section
2018-08-09 15:54:24 -06:00
spalger
cc6e5db602 [kbn-pm] update build 2018-08-09 14:47:01 -07:00
Nathan Reese
803a3f1c2d
Move /shorten to /api/shorten_url (#21808)
* Move /shorten to /api/shorten_url

* better API test assertions

* add API documenation

* use async await

* import dependencies instead of pass in
2018-08-09 15:05:16 -06:00
Court Ewing
d32a65230b
[kbn-pm] remove lodash from test fixtures (#21848) 2018-08-09 16:41:55 -04:00
Josh Dover
33c6ade756
Convert status page to EUI (#21491)
* Convert the status_page plugin to EUI

* Fix uiColor for disabled state
2018-08-09 12:26:17 -05:00
dave.snider@gmail.com
6af72b7d58
IE11 centering issue in dashboard list (#21841)
Fixes a display regression with internet explorer.
2018-08-09 10:19:25 -07:00
Matt Bargar
e0fba828c9
Make query bar autocomplete screen reader accessible (#20740)
Fixes https://github.com/elastic/kibana/issues/20099

I made the changes described by Tim at https://github.com/elastic/kibana/issues/20099 and everything seems to be working. I tried to update the typeahead in such a way that it can be made accessible anywhere it is used, even if there are multiple typeahead instances on a single page.

> (optional) an aria-label on the individual suggestions that should be read out to screen reader. By default the content will be used, and that should be fine (unless you figure out there is too much "noise" elements in it.

I did not do this bit since the text that is read seems reasonable to me, but I'm open to changing it if others feel differently.
2018-08-09 11:23:02 -04:00
Lee Drengenberg
da1268d322
Fix es unzip (#21817)
* Rebuild modulePath correctly if on Windows

* fix it so we create empty dirs like /logs/
2018-08-09 09:08:33 -05:00
CJ Cenizal
e78113c2c1
Make Watcher table width 100% of the view (#21803)
* Show more of the name column in the Watcher watch table by making the table 100% width of the page, and by increasing the column width to 25%.
* Convert all title attributes to kbnTooltip.
* Add title attributes for columns which have tooltip content different from cell content.
2018-08-09 05:57:38 -07:00
Aleh Zasypkin
4cd9699108
Introduce schema.any (#21775) 2018-08-09 11:07:34 +02:00
Maryia Lapata
474714a6e4 Guideline for i18n engine (#20620)
* Add Guideline for i18n engine

* Update Guideline according to changes in i18n engine.

* Update examples in Guideline

* typo

* improve i18n guideline: add table for better view, use single quotes for js strings, fix description for testing, use uniq "message id" name

* fix readme description for guideline

Co-authored-by: maryia-lapata "mary.lopato@gmail.com"
2018-08-09 11:38:38 +03:00
Tiago Costa
06f76ccf6c Upgrade uglifyJS webpack plugin, disabling compress and enabling parallel (#21809) 2018-08-08 16:00:14 -07:00
James Gowdy
1de4523878
[ML] Adding group selector to jobs management (#21780)
* [ML] [WIP] Adding group selector to jobs management

* adding group name validation

* removing comment

* adding keyboard events

* moving new group input to its own component

* changes based on review

* adding tooltip

* adding better error reporting
2018-08-08 22:27:58 +01:00
Nathan Reese
ba47de5273
add "now" query parameter to sample data install endpoint (#20678)
* add now query parameter to sample data install endpoint

* joi returns date, so no need to create a new one

* add API functional tests for now parameter
2018-08-08 09:13:05 -06:00
Stacey Gammon
f76d996f99
Typescriptify dashboard panel actions (#21740)
* Typescriptify dashboard panel actions

Doesn't include build_context_menu because that has some eui dependencies, will tackle in another PR.

* early exit
2018-08-08 10:36:37 -04:00
Chris Roberson
dd40ac3dc2
[Monitoring] Address multiple accessibility issues (#20619)
* Add screen reader only text for monitoring charts

* Add aria label for completed recoveries

* Ensure we have aria label coverage for monitoring chart tooltips

* Ensure table rows are tabbable and include the number of results at the top

* Use EuiScreenReaderOnly

* Updated copy

* Use EUI

* Remove kui usage

* Use an id instead of aria-label

* Show results in the table footer

* Revert "Show results in the table footer"

This reverts commit d622eb7eb4.

* Show total row count within the monitoring table

* PR feedback

* PR feedback

* Ensure all charts show an interval in the tooltip

* Fix padding issue with the cluster status
2018-08-08 10:35:10 -04:00
Pete Harverson
cdc4ab6f67
[ML] Adds Jest tests for the Filter List Settings components (#21782) 2018-08-08 15:22:02 +01:00
Bill McConaghy
f08f92a673
fixing index pattern import (#21743) 2018-08-08 09:52:20 -04:00
Jonathan Budzenski
857e69f93c
[kbn-pm] Add optimize dir to kbn clean (#20945)
* [kbn-pm] Add optimize dir to kbn clean

* update snapshot
2018-08-08 07:39:15 -05:00
Jonathan Budzenski
759024cfc2
[dashboard/test] fix type errors (#21769) 2018-08-08 07:36:53 -05:00
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