Commit graph

16021 commits

Author SHA1 Message Date
Felix Stürmer
47db80d6f8 [docs] Add css style guide section on open/closed principle (#12276) 2017-08-07 18:04:25 +02:00
Søren Louv-Jansen
8cfbb82cfb Mock out static files when running in Jest (#13315) 2017-08-07 17:35:59 +02:00
Stacey Gammon
161b07ab4a Fix full screen toggle button when panel is expanded (#13320)
* Add failing tests

* Fix style issues with full screen toggle
2017-08-07 09:14:33 -04:00
Spencer
8ee85f8fed Add some testSubject helpers (#13305)
* [testSubjects] add getVisibleTextAll() helper

* [testSubjects] add isSelected() and isSelectedAll() helpers

* [testSubjects/setValue] support wrappers around inputs

* [testSubjects] add isEnabled() helper

* fix typo
2017-08-04 18:49:12 -07:00
Matt Bargar
a4b72f2ad7 Add documentation link to query bar when Kuery is selected (#13300)
* Add doc link to kuery bar
2017-08-04 14:54:16 -04:00
Matt Bargar
3dfcf5dc98 Remove simple_query_string hack now that multi_match supports * (#13285) 2017-08-04 14:45:21 -04:00
Peter Pisljar
3e3b0cb8ba resize was not detected correctly (#13239) 2017-08-04 08:10:32 +02:00
Lukas Olson
14c9b7e06a Use ui-select for agg selector (#13292)
* Use ui-select for agg selector

* Fix functional tests

* Fix functional tests

* Fix test

* Fix visualize page object

* Use sortPrefixFirst in agg selector

* Fix unit tests

* Fix unit test

* Use not(.ng-hide) rather than last-child
2017-08-03 13:46:18 -07:00
Thomas Neirynck
8a1cdf1983 fix typo 2017-08-03 14:52:34 -04:00
Thomas Neirynck
5fe682dfc2 Improve region map documentation (#13319) 2017-08-03 14:46:16 -04:00
Tim Sullivan
6648335d51 [Accessibilty] Make kbn_accessible_click part of autoload/all (#13299)
* [Accessibility] Ensure kbn-accessible-click is part of autoload/all

* remove unecessary kbn_accessible_click imports

* use an index.js file to expose inner directives
2017-08-03 10:00:16 -07:00
Jonathan Budzenski
7e28e984bd [visualize spy] Pull index title instead of id (#13254)
* [visualize spy] Pull index title instead of id

* [visualize spy] Check for existence of index before pulling params
2017-08-03 11:31:43 -05:00
Stacey Gammon
4f5313a088 Make sure no one can show the chrome if the default setting is hidden. (#13250)
* Make sure no one can show the chrome if the default setting is hidden.

add tests

Fixes https://github.com/elastic/kibana/issues/13040

* Improve variable and function names and fix tests
2017-08-03 11:25:38 -04:00
Thomas Neirynck
e57c4fb5bb Visualization accessibility issues (#13226) 2017-08-03 11:23:43 -04:00
CJ Cenizal
b670baeeec Add AirBnB linting rules for React best practices. Bump to v0.10.0. (#13259) 2017-08-03 08:18:08 -07:00
Spencer
c68c0d6588 [ui/routes] clone defaults before apply (#13295)
* [ui/routes] add failing tests

* [ui/routes] clone defaults before applying them

* Mention issue in related tests
2017-08-02 13:25:53 -07:00
Matt Bargar
f78bb5dc11 Add Kuery docs and break search page into subsections (#13074)
* Add Kuery docs and break search page into subsections
2017-08-02 15:16:00 -04:00
ytzlax
10280e8f9c Add Kibana API plugin (#13206) 2017-08-02 11:46:50 -04:00
Spencer
0aa4206d2c [npm] upgrade postcss-loader (#13279)
Needed to get a version that included https://github.com/postcss/postcss-loader/pull/174
2017-08-01 18:33:39 -07:00
Court Ewing
c33ac752eb Revert "override version until elastic/elasticsearch#25876 is merged" (#13196)
This reverts commit ce8333b70f.
2017-08-01 17:43:42 -07:00
Thomas Neirynck
3838fa5ae2 ensure we are working with data-series (#13266)
This fixes a regression introduced by https://github.com/elastic/kibana/pull/13217.
2017-08-01 17:29:48 -04:00
CJ Cenizal
08719cd863 [UI Framework] Spawn compileCss as a child process to prevent a node-sass fatal error from killing the watch process (#13222)
* Spawn compileCss as a child process to prevent a node-sass fatal error from killing the watch process.
* Document tasks.
2017-08-01 14:11:23 -07:00
Tim Sullivan
f37eab9b44 [Framework/Accessibility] Add kuiScreenReaderOnly class (#13133)
* [Framework/Accessibility] Add kuiScreenReaderOnly class

* fix typo

* use GuideLink

* add screen_reader react component and tests

* export KuiScreenReaderOnly

* --wip-- [skip ci]

* fix lint rule

* remove obsolete snapshots
2017-08-01 13:31:51 -07:00
Matt Bargar
9057937ff2 Send map filters through so it get picked up by both kuery and lucene (#13251) 2017-08-01 13:49:16 -04:00
Thomas Neirynck
0353735f27 Exclude stacktrace from error response of Timelion backend (#12973) 2017-08-01 11:23:51 -04:00
Peter Pisljar
5703ffc9de in percentage mode tooltip should also show percentages (#13217) 2017-08-01 10:06:59 +02:00
Peter Pisljar
baabbdfa10 removes :filters from label (#12962) 2017-08-01 10:02:59 +02:00
Jonathan Budzenski
99a991b783 [docs] Add docker-compose version to example (#13006) 2017-08-01 15:47:21 +10:00
Matt Bargar
18f8455711 Add some functional tests for query language switching (#13036)
* Add some functional tests for query language switching
2017-07-31 18:24:46 -04:00
Kim Joar Bekkelund
5772f56d7a Remove @elastic folder from packages/ (#13089) 2017-07-31 13:58:50 -07:00
Spencer
9389f0b71a [server/indexPatterns] expose indexPatternService getter/factory (#13012) 2017-07-31 12:44:57 -07:00
Nathan Reese
abcc055f97 update spy table headers when columns update (#13130)
* update paginated table headers with columns update

* remove unneeded sleep

* update getDataTableHeaders to preffered format

* use data-test-subj attribute for functional tests instead of CSS selectors
2017-07-31 12:45:38 -06:00
Chris Roberson
74cd8b1ac2 Update saved objects client usage to attributes instead of _source. Also, fixing an improper "safe" apply usage. (#13223) 2017-07-31 14:42:08 -04:00
Spencer
d36080bca8 [testUtils/esTestCluster] use more standard api style (#13197) 2017-07-28 15:50:15 -07:00
Chris Cowan
b678b4b46d Add Checks to Dashboard Context (#13182)
* Fixes #13181 - Check values before adding them to filter

* Adding tests

* Adding check to make sure query is never undefined
2017-07-28 13:37:19 -07:00
Spencer
7d94bb1240 [esTestConfig] fix esvm directory (#13190) 2017-07-28 11:41:10 -07:00
Thomas Neirynck
5adc2cd4c8 Should respect pinned filters (#13019) 2017-07-28 13:27:41 -04:00
Spencer
6748b22d03 Implement esTestCluster test util (#13099)
* [es/tests] remove unused module

* [testUtil/es] add utility for starting es nodes in tests

* [ftr/tests] use esTestCluster util to start es

* [es/tests/routes] use esTestCluster to start own es

* [testUtils/kbnServer] disable uiSettings unless plugins are enabled

* [testUtils/esTestCluster] use standard test es port by default

* [server/http/tests] add esTestCluster to setup

* [test/config] unify es test config into a single module

* [testUtils/esTestCluster] directory is no longer configurable

* [testUtils/esTestCluster] throw when es.start() is called again without es.stop()

* [testUtils/esTestCluster] is* checks should not mutate state
2017-07-28 09:47:41 -07:00
Felix Stürmer
2430fed459 Use version 0.9.0 of eslint-config-kibana (#13177) 2017-07-28 18:03:34 +02:00
Chris Roberson
389115cad0 Ensure conflicted fields can be searchable and/or aggregatable (#13070)
* Ensure that conflict fields can be searchable and/or aggregatable in the UI

* Use `some` instead of `reduce`

* Revert UI changes

* Attempt to convert multiple ES types to kibana types, and if they all resolve to the same kibana type, there is no conflict

* Add comma back

* Cleaner code

* Add tests

* Update failing test to handle searchable and aggregatable properly

* Add functional test to ensure similar ES types are properly merged

* Update tests

* Revert shard size
2017-07-28 10:45:43 -04:00
Tim Roes
d14da34032 Fix typos and punctuation in WMS settings (#13146) 2017-07-28 15:17:06 +02:00
Stacey Gammon
3f54e94c86 Remove try/catch for short url so the appropriate errors will be propagated to the UI (#13004)
* Remove try/catch for short url so the appropriate errors will be propagated to the UI

* Simply ensure the error is a Boom error by wrapping it, but keep the original error details.

* Boom.wrap can't handle non Error instances, as exist in some of the tests.

* Only support Error objects, and check both status and statusCode

* fix test

* Fix test errors for reals this time

* Break out status and statusCode short url error tests
2017-07-28 08:57:22 -04:00
Peter Pisljar
1e6ce8513f adding docs for goal and gauge (#13140)
* adding docs for goal and gauge
2017-07-28 14:41:39 +02:00
Peter Pisljar
fbd9fd0197 fix metric default color (#12993) 2017-07-28 14:35:34 +02:00
Felix Stürmer
3884d38913 [eslint-config-kibana] Add jest plugin and settings (#13090) 2017-07-28 14:00:19 +02:00
Thomas Neirynck
5e9a4ecaf8 Region map should respect saved center and zoom (#12883) 2017-07-27 17:04:01 -04:00
Thomas Neirynck
9b949a575b Save layer setting in the region map UI (#12956) 2017-07-27 17:03:36 -04:00
Aleh Zasypkin
2bee8bb14c Add unit tests the verify correct dataType in jQuery.ajax request when loading Console app state. (#13092) 2017-07-27 21:32:26 +02:00
Stacey Gammon
589df61e03 Stabilize and bring back flaky tests (#13034)
* Stabalize tests and bring back flaky test

* Try to fix flaky map radius visualize test

* fix flaky tile map zoom test

* Try to fix flaky zoom test by avoiding zooming in and out with spy panel open

* Remove duplicate wrapped retry around find methods

The retry was moved internally, around a check for stale elements as
well, so this should no longer be neccessary.
2017-07-27 15:26:09 -04:00
Court Ewing
8d5eac959f esvm: use branch from package.json (#13149)
Since versions are synced across the stack, the esvm config can use the
same branch configuration as Kibana itself.
2017-07-27 14:02:30 -04:00