Commit graph

15229 commits

Author SHA1 Message Date
Chris Cowan
c092c4d288 Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder (#11245)
* Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder

* Added Math.floor() to bucket calculation; changed error message; changed option description
2017-04-20 05:45:12 -07:00
Chris Cowan
e320bec8e3 Fixes #11152 - Time Series Visual Builder - calculateIndices() should return pattern if no indices are found. (#11241)
* Fixes #11152 - calcualteIndices should return index pattern for missing indices

* Refactoring handleResponse to handle empty results and updated tests
2017-04-20 05:39:56 -07:00
Chris Cowan
3a8d086143 Fixing the fields for the numbers for percentile aggs (#11169) 2017-04-20 00:41:07 -07:00
Chris Cowan
123d45e80b Adding label templates to legend keys for TSVB (#11266) 2017-04-20 00:23:46 -07:00
Shinya TAKEBAYASHI
8c4ed2a1ec minimum_number_shoud_match was deprecated (#11316)
minimum_number_should_match was deprecated in ES 5.2.0(issue #22403)
but Kibana Dev Tools suggests it yet.
2017-04-19 16:34:51 -05:00
Jonathan Budzenski
b6b6e8be62 [plugin installer] Look for forward or back slashes (#11332)
* [plugin installer] Look for forward or back slashes when checking for directory

* [plugin installer] Test more file paths for directory check
2017-04-19 15:52:30 -05:00
Stacey Gammon
6c2411d244 Remove showClose and onClose options in confirm modal (#11321)
The reason they were added is no longer necessary (something for view
edit mode which didn’t pan out).  It was a point of contention:

See https://github.com/elastic/kibana/issues/10104
and
https://github.com/elastic/kibana/pull/10069#pullrequestreview-18706527
for background.

Since it’s no longer needed anyway, and this is going to get moved to
react anyhow, I’m removing the unused functionality.
2017-04-19 14:13:11 -04:00
Stacey Gammon
ea45885933 remove an unused test file (#11322)
It references files that don’t exist anymore, anyhow.
2017-04-19 14:05:53 -04:00
Jonathan Budzenski
40e32f2b37 Remove .travis.yml (#11319) 2017-04-19 11:09:35 -05:00
Shaunak Kashyap
e879c86731 Adding limitations section to Kibana docs (#11296)
* Adding limitations section to Kibana docs

* Language fixes

* Remove workaround

* Wording change

* Also mention `copy_to` along with `include_in_parent`

* Adding note about searching on nested objects
2017-04-19 08:57:51 -07:00
CJ Cenizal
0c11a8b1f5 Update illegible vis type icons with legible ones. (#11317) 2017-04-19 08:55:43 -07:00
Jonathan Budzenski
80ba3a52b0 Fix architecture style guide link 2017-04-19 08:19:26 -05:00
Stacey Gammon
3eeecb7381 Default to named ui public n to z (#11221)
* notify/notifier

* Notify and uiRegistry

* Registry/*

* saved_object_registry and routes

* ui/public/state_management/*

* stringify

* ui/public/template_vis_type

* ui/public/time_buckets

* ui/public/time*

* ui/public/utils

* ui/public/vis/.

* ui/public/vis/components/tooltip

* ui/public/vis_maps/*

* ui/public/vislib/*

* Add a named export for uiModules in prep for that monolith conversion.

* Fix from merge

* address code review comments
2017-04-19 09:02:47 -04:00
Shaunak Kashyap
69c22889ab Kibana-related packages (#11308)
* Make sure package is published under @elastic org namespace

* Preparing packages/ for Kibana-related packages

* Folder structure mirrors package name

* Add note on naming consistency

* s/packages/node modules/ for removing potention confusion with Kibana system packages

* Prefixing the eslint rule with package scope (i.e. org namespace)

* Adding README

* Bumping up version for release

* Adding repository information to package.json

* Bumping up version for release

* URL-encoding repository link + bumping up version for release

* Using published version
2017-04-19 04:31:00 -07:00
CJ Cenizal
a605b7f478 Refactor Index Pattern Creation logic. (#11210)
* Reorder Create Index Pattern logic so local functions are before scope methods.
* Extract some Index Pattern Creation logic into sendCreateIndexPatternRequest and getDefaultPatternForInterval services.
* Use UI Framework typography components for Index Pattern Creation header.
* Separate user-specified variables for configuring the index pattern from controller variables, which just change the UI state.
* Rename index to newIndexPattern for clarity.
* Use controllerAs and fat arrow functions in Create Index Pattern.
2017-04-18 14:30:57 -07:00
CJ Cenizal
345b64924d [UI Framework] Add support for selects and secondary inputs to LocalNavSearch component of UI Framework. (#11287)
* Add support for selects and secondary inputs to LocalNavSearch component of UI Framework.

* Update UI Framework guidePageBody to constrain width of flex component examples, like the LocalNav.
2017-04-18 11:47:36 -07:00
Thomas Neirynck
1bec1f28b7 Adding multiple maps to Dashbaord should not cause error. (#11257)
This seems to be due to an issue with Leaflet 0.7. It does not handle the DOM-removal of controllers of the same type properly, when multiple instances of that type are created.
2017-04-18 13:41:22 -04:00
CJ Cenizal
d2c791e06e Update Settings page with UI Framework components. (#11272)
* Update Settings page with UI Framework components.
* Add examples for new primary MenuButton, SubText, TextTitle, and VerticalRhythmSmall components.
2017-04-18 10:29:12 -07:00
Thomas Neirynck
753dce8c75 Fit should not throw an error. (#11256)
This also solves the issue that the fit only fits on the data currently on screen, and not all the data. This was due to the filtering out of the data not on screen.
2017-04-18 12:14:30 -04:00
Jonathan Budzenski
3a6e68a601 Revert update pleaserun (#11304)
* Revert "Update pleaserun.js to use `--log-directory` with 0.0.28 (#11286)"

This reverts commit e96a8d8273.

* Revert "[jenkins] update call to pleaserun with --log-path (#11275)"

This reverts commit be609d9505.
2017-04-18 10:21:05 -05:00
Brandon Kobel
6d81bafe3d Adding an app for redirects when storing state in session storage (#10822)
* Adding an app for redirects when storing state in session storage

* Removing errant console.log

* Adding early return after reply().redirect

* No longer using the router

* Renaming vars to injectedVarsOverrides

* Putting uiRoutes back in so the code is only executed for this app

* Extracting hash_url to it's own module, and adding tests

* Addressing peer-review comments
2017-04-18 10:47:09 -04:00
Felix Stürmer
0be7acc0dd [context view] Use courier when querying the context (#11127)
Instead of using a separate code path for querying the anchor and
context documents, the context view actions now use a normal
`SearchSource` and thereby scripted fields, source filtering and other
features of a `SearchSource` without duplicated code.

To facilitate this the `SearchSource` gained the `searchAfter` field,
which is turned into a `search_after` clause on the request.

Additionally, the `FetchStrategyForSearch` now honors the
`timefilter.enabled` flag. When this flag is enabled, the index list
will be expanded with respect to the current time interval configured in
the `timefilter` (previous behaviour). When this flag is disabled, the
`timefilter` values will be ignored when expanding the index list.
2017-04-18 13:59:14 +02:00
Stacey Gammon
b7d11c9730 Change the way seed colors and color palette are imported (#11251)
* Change the way seed colors and color palette are imported

When you have a “provider” that doesn’t really need to be a provider,
and use it differently, you have to capitalize it differently in two
different spots. This makes it difficult to use a single name.  Since
we don’t actually need the use of Private here, just making this a
regular export and being consistent with it’s usage.

* convert mapped colors to named
2017-04-18 07:14:29 -04:00
archana
e96a8d8273 Update pleaserun.js to use --log-directory with 0.0.28 (#11286) 2017-04-17 15:19:20 -05:00
Chris Cowan
45eaee58ba Fixing legend when the label is zero (#11265) 2017-04-17 12:53:58 -07:00
CJ Cenizal
c3fc467a14 Update docs for new vis landing page (#11262)
* Update 'Visualizing your Data' doc with copy and screenshots.

* Update 'Creating a Visualization' doc with copy.
2017-04-17 09:35:33 -07:00
archana
be609d9505 [jenkins] update call to pleaserun with --log-path (#11275)
* [jenkins] update pleaserun with --log-path for 0.0.28

* [jenkins] update contributing guide pleaserun version
2017-04-17 11:08:06 -05:00
Thomas Neirynck
b5049580ed fix typo (#11261)
Fixes the minimum opacity setting of the heatmap
2017-04-17 10:47:42 -04:00
Stacey Gammon
9f33293e5c Default to named ui/public: a to m (#11200)
* Convert remaining export default's in ui/public

* Chunk 2

* Part 3

* Part 4

* Part 5

Note: Must check in https://github.com/elastic/x-pack-kibana/pull/938
first

* Part 6

* Part 6

* Part 8

* Part 9

* address code review comments
2017-04-16 07:21:36 -04:00
Spencer
0c67890bd9 [dashboard] disable toast auto-hiding (#11248)
* [dashboard] disable toast auto-hiding

* [functional/service/kibanaServer] describe disableToastAutohide() method
2017-04-15 18:08:24 -07:00
Spencer
d6e15a7a1c [visualize] allow vis types to request the time picker (#11247) 2017-04-14 18:09:43 -07:00
CJ Cenizal
a372328831 Fix missing icons in Visualize listing. (#11243)
* Fix StatusText component so that it supports image icons.

* Fix missing icons in Visualize listing. Support both icons and images.
2017-04-14 14:00:53 -07:00
Brandon Kobel
b8939ffdee Resolving issue with TSVB resizeHandler not triggering renderChart (#11259)
Previously, when viewing some time series visual builder panels on a
Dashboard and doing a hard-refresh, all the calls to flot_chart.js's
renderChart method were early returning because the resize.clientHeight
and resize.clientWidth were 0; then a call to handleResize was coming
and it wasn't triggering the initial drawing of the chart. This modifies
the logic to keep track of whether the chart has been rendered yet, and
if it hasn't calls renderChart from the resize handler.
2017-04-14 16:23:29 -04:00
Chris Cowan
76c9e0cab4 Add data-shared-item to Time Series Visual Builder editor (#10945)
* Adding attributes and prefixer to visualization elements for reporting

- adding data-shared-item attribute to visualization element
- Adding render-counter attribute
- Moving inline to reactcss for prefixing; moving inline to less files where applicable

* Fixing reactcss calls
2017-04-14 12:52:35 -07:00
Brandon Kobel
cb1aeaf3e6 Discover and visualization set appStatus.dirty before saving new (#11156)
Sharing relies upon appStatus.dirty to determine whether changes
have been made that must be saved. This wasn't being set correctly in
Discover and Visualize when the user first creates a new object and
hasn't saved it yet.
2017-04-14 12:40:02 -04:00
Stacey Gammon
945316cc15 Default to named export conversion: Courier (#11165)
* Default to named export conversion: Courier - Part 1

* Part 2
2017-04-13 16:22:42 -04:00
Peter Pisljar
9fbc39f21a fixing axis title height (#11230) 2017-04-13 22:05:28 +02:00
Spencer
811ed5b5f5 Cleanup some FunctionalTestRunner tidbits (#11211)
* [esArchiver] match functionalTestRunner --config default

* [functionalTestRunner] expose readConfigFile function

* [functionalTestRunner/mocha reporter] define undefined variable

* [functionalTests/services/remote] log tunnel output in verbose mode
2017-04-13 12:15:01 -07:00
Jonathan Budzenski
925a953338 [status] 15m load average should use the 3rd index (#11202) 2017-04-13 08:52:33 -07:00
CJ Cenizal
f6ab93f91f Refactor Index Pattern Management files into a hierarchical directory structure. (#11175)
* Move Index Pattern Creation files into create_index_pattern directory.
* Group Edit Index Pattern files in edit_index_pattern directory.
* Make import paths for refresh_kibana_index relative.
* Remove unused field_popularity.html and add_data_wizard.less files.
* Add index.js files for new directories.
* Change index.js exports to imports.
2017-04-13 08:46:50 -07:00
Peter Pisljar
17d88663e1 fixing point series chart axis titles class names (#11118) 2017-04-13 09:29:08 +02:00
Lukas Olson
03ca71ed3c Fix spelling in color rules (#11212) 2017-04-12 17:22:28 -07:00
Spencer
6b0aface7a Minor issues fixed while trying to write browser tests in plugins (#11214)
* [contributing.md] fix command for testing plugins

* [ui/chrome] add navLinkExists() method

* [mocha] expose describe.skip
2017-04-12 17:17:46 -07:00
Stacey Gammon
8c1c617161 Removing unused files and their tests (#11201) 2017-04-12 16:52:56 -04:00
Kim Joar Bekkelund
90bccde33b Update UI framework Jest docs (#11088)
* Update UI framework Jest docs

* fix more 'npm run's
2017-04-12 15:15:00 -04:00
Jim Unger
3ff7d5b6fa Adds subdirectories section to architecture style guide (#11187)
Adds subdirectories section to architecture style guide
2017-04-12 13:53:08 -05:00
Tyler Smalley
6ecdbd092a Handle undefined control group paths (#11189)
It's possible that the cgroup file is either empty or does not include the referenced cpu/cpuacct paths.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-04-12 11:13:15 -07:00
Kim Joar Bekkelund
1b1e6838e8 [test] Stricter test-matching for Jest (#11190) 2017-04-12 14:01:42 -04:00
Court Ewing
918b4181a6 cli: make dirs in correct location (#11188)
The previous behavior was writing empty directories to a separate
location when the plugin installer was being invoked from outside the
main kibana directory.
2017-04-12 12:52:18 -04:00
Peter Pisljar
766646c5be fixing heatmap black squares (#11121) 2017-04-12 18:40:58 +02:00