Commit graph

15166 commits

Author SHA1 Message Date
Tyler Smalley
006fae00f7 Fetches control group resource information (#10402)
Adds control group data to status API and kbnServer.metrics
2017-04-11 10:20:30 -07:00
Tyler Smalley
38f6cc876c Fixes URL image formatters for basePath (#11082)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-04-11 10:05:14 -07:00
Stacey Gammon
8eb17b330e Refactor table sort properties (#11073)
* Refactor sorting capabilities

* clean up and comments

* Move to ui_framework/services

- add tests
- address code review feedback
- Include new folders in build output.

* Rename to sortableProperties

Require initial sorted property name.

* fix a refactor miss
2017-04-11 12:47:33 -04:00
Court Ewing
a2053b3731 docs: curl content-type for getting-started (#11154) 2017-04-11 11:36:42 -04:00
Spencer
ca3d3e03af [storeUrlInSession] only check for url overflows when not storing state in session (#10878) 2017-04-10 20:34:13 -07:00
Jonathan Budzenski
6d254a3cc9 [functional tests] Wait for url to update when removing all filters (#11108)
* [functional tests] Wait for url to update when removing all filters

* [functional tests] waitUntilUrlFound -> waitUntilUrlIncludes
2017-04-10 16:00:44 -05:00
Jonathan Budzenski
2b24b5c488 Bump node to 6.10.2 (#11039) 2017-04-10 15:26:16 -05:00
Joe Fleming
fb7be6229f Fail early on import, and don't prompt to overwrite when failing (#11059)
* stop importing if JSON parsing fails

* fail early if improper JSON

we expect to get an array of objects, so show an error message if we find something that is not an array

* clarify import error message
2017-04-10 11:39:09 -07:00
CJ Cenizal
2a0d3428ac Fix focus states of Buttons inside of the ToolBar. (#11129) 2017-04-10 10:18:48 -07:00
trevan
74641d7d85 Format the totals row (#10414)
* Format the totals row

* Add tests and format count results

* Handle the new metrics better

* Rename variable to isFieldNumeric and isFieldDate

* Add pipeline tests

* Fix timezone issues in tests
2017-04-10 18:10:04 +02:00
Chris Cowan
c13e786e10 Fix Drilldown URL for Top N in Time Series Visual Builder (#11092)
* Implimenting drilldown feature

* Use the label not the id
2017-04-10 08:48:30 -07:00
Brandon Kobel
00da1341ac Reordering and modifying asserts for reloading the logging config (#11050)
There's an intermittent failure that is occurring with our CI that this
will hopefully let us diagnose
2017-04-10 11:15:57 -04:00
Brandon Kobel
10c79d90de Fixing bug where an error is displayed when saving a new scripted field (#10820)
* Fixing bug where an error is displayed when saving a new scripted field

When a new scripted field is saved, there is a moment where a mapping
error validation message is displayed because there's a field with the
same name. Added a `saving` flag that is used to no longer show the
validation message in this situation.

* Switching approach to copying fieldNames on instantiation
2017-04-10 11:13:50 -04:00
Peter Pisljar
67a6d29606 fixes sorting by metric on terms agg (#11097)
* rejectAgg should match whole name

* adding tests
2017-04-10 14:19:48 +02:00
Stacey Gammon
4a35d59b09 Fix the save as warning (#11107)
It was removed with view/edit mode.

TODO: tests.
2017-04-10 07:08:27 -04:00
Peter Pisljar
1f75cd5e2b adding line width option to point series (#10583)
* adding line width option

* making circle size related to line width

* extracting magic number to variable
2017-04-10 12:15:18 +02:00
Lukas Olson
cea1b39b60 Fix auto-select in agg type selection (#11105)
* Fix auto-select in agg type selection
This commit moves the $scope.$watch in the agg type selector to AFTER the code that watches for changes. This matters because in some cases, the agg type can be automatically selected, and if the $watch starts AFTER the agg type is automatically selected, the watch is triggered with the same old/new values, which means the params won't be correctly initialized.

* Move to functions and add explanation
2017-04-07 16:47:39 -07:00
CJ Cenizal
3fc88df670 Fix visual bugs with SavedObjectFinder UI. (#11029)
* Convert Saved Object Finder search box to use UI Framework components.
* Add dark theme styles for basic Button, TextInput, SearchInput, TextArea, and Select components.
* Fix appearance of SavedObjectFinder in Visualize Wizard.
* Make appearance of PaginatedSelectableList consistent with SavedObjectFinder.
* Remove unused LESS.
2017-04-07 11:32:39 -07:00
Chris Cowan
22f8176e43 Closes #2394 - Allow relative from and to (#10990)
* Closes #2394 - Allow relative from and to

* Closes #6732 - Adding support future realtive for time picker
2017-04-07 10:52:31 -07:00
Lukas Olson
aa579ab73a Don't add 2668hashKey to filter objects (#11064) 2017-04-07 10:34:54 -07:00
Lukas Olson
d70e17c1a7 Fix highlight request module (#11087)
* Fix highlight request module
This fixes the highlight request module so that it doesn't add the "all_fields" parameter if the user has specified a "default_field", because these two don't work in conjunction.

* Check for fields too
2017-04-07 10:23:03 -07:00
Chris Cowan
2f1afca063 Fixes #10923 - changed Timelion dependices to use relative paths (#10931) 2017-04-07 05:49:50 -07:00
Chris Cowan
b76a871790 Add "Positive Only" agg to Time Series Visual Builder (#11051)
* Adding positive only aggregation

* Fixing tests and adding a missing file from original commit.
2017-04-07 05:46:32 -07:00
Stacey Gammon
30676a4a95 Remove unused file + tests (#11052) 2017-04-07 08:34:09 -04:00
Brandon Kobel
f398dd2368 Fixing docs reference from elasticsearch.ssl.cert to certificate (#11037)
* Fixing docs reference from elasticsearch.ssl.cert to certificate

* Fixing elasticsearch.tribe.ssl doc sections
2017-04-07 07:59:10 -04:00
Brandon Kobel
888973cbcf Resolving bug with the maps_renderbot firing the renderComplete event (#11086) 2017-04-07 07:34:21 -04:00
Jay Greenberg
ed2a0085b5 Would like to add Transform Vis to known plugins (#11018)
Add Transform Vis to known plugins
2017-04-07 11:51:54 +02:00
Spencer
06da1becec [dashboard] fix "edit" button on empty dashboard (#11031) 2017-04-06 18:45:34 -07:00
Joe Fleming
546804f40c Indicate if index is time-based or not (#10790)
* indicate if index is time-based

also display the time field if it is

* switch indicator to a label

use a tooltip to explain what it being shown

* update text, remove tooltip
2017-04-06 10:15:11 -07:00
CJ Cenizal
7c8f2e64eb Make local breadcrumb links look like Links. (#11058) 2017-04-06 09:23:51 -07:00
Thomas Neirynck
b1a7f22be3 add the functional tilemap test (#10992)
Since the unit-tests now verify all colors and sizing as well, this integration test is mainly relevant for verifying the zooming behavior.
2017-04-06 12:08:33 -04:00
CJ Cenizal
9da5079bc6 Fix incorrect Gallery component variable names. (#11067) 2017-04-06 09:00:06 -07:00
Stacey Gammon
a08f0dbb5a Indicate search results are limited to the sample size in a saved search on dashboard (#10827)
* Indicate results are limited to 500 in a saved search on dashboard

Showing the message only on the last page, at the bottom of the search
results.

* Put warning on top, not on bottom, separate styles

* Use landing page style pager buttons and show the correct total hit count

* Move back to the right, shorten error message, lighten text

* swap order of pager buttons and numbers

* Address code review comments

* Code review comments part 2
2017-04-06 09:02:39 -04:00
Kim Joar Bekkelund
90be7e882f Move Jest test setup to root (#10963) 2017-04-05 21:24:01 -04:00
dave.snider@gmail.com
c6da5f67d6 [WIP] KUI sass variable namespacing / rework (#11033)
* more specific namespacing and structure for sass variables

* variable scoping at the component level

* more sass variable scoping

* more sass variable scoping

* more specific namespacing and structure for sass variables

variable scoping at the component level

more sass variable scoping

more sass variable scoping

* fix font weight sass vars
2017-04-05 15:56:16 -07:00
Stacey Gammon
b3eb25d648 Put share link back in edit mode (#11003)
* Put share link back in edit mode

See https://github.com/elastic/kibana/issues/10951 for background and
reasoning

* Preserve backward compatibility with pre 5.3 dashboard links

* Fix paths so create and edit use landing page as a substring

Apparently it has to be this way for the chrome nav to handle app
navigation the right way.

* Replace more strings with constants

* Update tests to point to new default dashboard url landing page

* [utils] move encodeQueryComponent into shared utils

* [uiNavLink] allow specifying subUrl pattern

* [dashboards] use dashboard urls that are more like before 5.3

* update comments

* Remove one comment, add another

* Remove failing toJSON test since the function was removed

Submitting now, but pending feedback that toJSON was removed
intentionally.

* Fix tests that need subUrlBase set manually

* fix bad markup in breadcrumbs

* Preserve 5.3 create dashboard links!

* add a comment
2017-04-05 17:03:48 -04:00
CJ Cenizal
14ed2e55e6 Re-implement Visualize Wizard using Gallery component for selecting visualization type (#10972)
* Add Gallery and GalleryButton components to UI Framework.
* Re-implement Visualize Wizard using Gallery component for selecting visualization type.
2017-04-05 12:39:35 -07:00
Joe Fleming
7ac2d72591 Allow message on IndexPatternMissingIndices errors, show on invalid mapping update (#10788)
* use template strings for interpolation

* append message on missing indices error

* use notifier to show error on mapping refresh

* modify signature of getFieldsForIndexPattern

* allow getFieldsForIndexPattern notificaitons to be silenced

* add truthy check for message

* move error notify to caller
2017-04-05 11:16:31 -07:00
Lee Drengenberg
62774e608c Log Kibana URL when a test fails (#10979)
* Log Kibana URL when a test fails

* minor syntax fix - (thanks @cjcenizal )
2017-04-05 11:52:20 -05:00
CJ Cenizal
4fb0149347 [UI Framework] Rename all UI Framework jsx files to js. (#11022)
* Rename all UI Framework jsx files to js.

* Disallow use of JSX files in UI Framework.

* Remove unused vars in UI Framework examples.
2017-04-05 08:48:13 -07:00
CJ Cenizal
f0b1327957 Fix typos in UI Framework README. (#11043) 2017-04-05 08:41:33 -07:00
CJ Cenizal
7a42633668 Fix incorrect references to tasks in UI Framework README. (#11041) 2017-04-05 08:32:17 -07:00
Brandon Kobel
36f676cc2d Adding the data- prefix to the shared-item HTMLElements (#10888) 2017-04-05 08:03:46 -04:00
Stacey Gammon
c09b69e432 Revert "Hide pinned filter state in embed mode (#10816)" (#11025)
This reverts commit d41042a507.
2017-04-05 06:54:22 -04:00
Kim Joar Bekkelund
b1d65b19ff Upgrade eslint config to disallow 'context' (#11021) 2017-04-04 13:53:24 -04:00
Stacey Gammon
1486188d08 Convert default to named exports - errors (#10986)
* Convert default to named exports - errors

* Make all error classes use class syntax and extends

add tests

* Extending Error apparently doesn't work

* Merge PR #11004 to try to fix test failures
2017-04-04 08:47:33 -04:00
Kim Joar Bekkelund
76c0b01c9d [test] Move from 'context' to 'describe' (#10991) 2017-04-03 20:59:00 -04:00
CJ Cenizal
3ac12830b7 Remove unused initial_load.gif. (#11007) 2017-04-03 13:12:29 -07:00
Chris Cowan
d6363e93c0 Remove refresh-hack from Timelion and Time Series Visual Builder (#10971)
* Remove refresh-hack from Timelion and Time Series Visual Builder

* Fix div typo

* Adding fetch even to editor refresh call

* Changing strategy so it doesn't use courier
2017-04-03 12:12:38 -07:00
Lukas Olson
88a2f4a56d Fix auto-select-if-only-one directive (#10921)
* Fix auto select if only one directive

* Add test for mutating array
2017-04-03 10:12:16 -07:00