Commit graph

15278 commits

Author SHA1 Message Date
Thomas Neirynck
d4c5372267 Visualization doc updates (#11426) 2017-04-28 15:49:48 -04:00
Matt Bargar
5db50dec17 Report shard failures in the field_capabilities response (#11450) 2017-04-28 15:37:12 -04:00
Lee Drengenberg
5ba57f7c62 Change expected data to match change in table UI (#11495)
* Change expected data to match change in table UI

* fix more expected results for data UI change

* Revert one previous change and fix one other test

* fix last issues

* missed splitting the last array element

* missed splitting the last array element
2017-04-28 13:41:45 -05:00
Joe Fleming
fcb3707e9f Update tutorial-define-index.asciidoc (#11498)
The steps to add a new index were referring to <5.X KB.

Reported here - https://discuss.elastic.co/t/kibana-5-2-1-documentation-mismatch/73112
2017-04-28 10:31:58 -07:00
Shaunak Kashyap
7b2874d518 Adding autocomplete rules for reindex API to Console (#10150)
* Adding autocomplete rules for reindex API

* Fixing defaults to match spec

* Adding the slices parameter

* Moving pipeline to it's rightful place
2017-04-28 09:56:06 -07:00
Tyler Smalley
f94859857e Refactors metrics into a class (#11206)
* Refactors metrics into a class

Test randomization was marking cgroups as unavailable so subsequent tests would fail. In lieu of exposing a reset method, I felt it would be better to refactor out into a class and use an instance method to track when cgroups is unavailable.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-04-28 08:45:51 -07:00
Thomas Neirynck
96ab4a97c3 Do not keep dangling references to layer after destroying map (#11487) 2017-04-28 09:24:07 -04:00
ppisljar
144cf70cdb Revert "fixing heatmap black squares (#11121) (#11191)"
This reverts commit da327af5f5.
2017-04-28 10:12:55 +02:00
Peter Pisljar
35fbe2308f showing error when cyclic metric definition happens (#11438) 2017-04-28 09:01:29 +02:00
Peter Pisljar
a3bfc2b6e8 allows more flexible timelion queries (#10961)
* allows more flexible timelion queries

* removing semi colon, adding support for new lines

* Allow for newlines

This make commas requires between arguments and series, but optional at end of either. It would be simple to drop the ','? at the end of each of `arg_list` and `series` if you wanted to require the commas *not* be present.

* adding tests

* updating tests

* using bluebird Promise

* Series now returns an array, don't need this +

* fixing tests to only test parseSheet

* adding test for whitespace chars (newline and return)

* improving readability
2017-04-28 08:51:11 +02:00
CJ Cenizal
1b308cb69a Fix missing border of PaginatedTable rows in Firefox (#11452)
* Refactor PaginatedTable row directive for clarity.
* Fix Firefox bug that didn't show row borders in PaginatedTable.
2017-04-27 11:52:28 -07:00
CJ Cenizal
1f76e7508e [UI Framework] Add uiFramework:build task. (#11402)
* Add uiFramework:build task.
2017-04-27 11:41:36 -07:00
Spencer
36ccbc1465 Tweaks needed for integrating with the functional test runner (#11469)
* [git] ignore the entire root optimize directory

* [ftr] fix readConfigFile export

* [ftr/config] set default hostname and protocols for urls

* [chrome] make top-level chrome a test-subject

* [ftr/CommonPage] only auto-login when not navigating to the login page
2017-04-27 09:01:54 -07:00
Thomas Neirynck
73f2ff513a Make lon/lat comparison less strict in selenium test (#11464)
Make comparison on location less strict. Depending on the browser, the location might be slightly off after the decimal point.
2017-04-27 11:32:52 -04:00
debadair
fcf1f5089a [DOCS] Fixed cross doc link issues. 2017-04-26 21:45:31 -07:00
Shaunak Kashyap
02787e3df5 Removes the "Index contains time-based events" checkbox (#11409)
* Removing "Index contains time-based events" checkbox

* Rename label

* Adding "No Time Filter field" to time field select list

* Using translation for i18n and consistency with label on create form

* More useful verbiage

* Updating copy

* Adding help block below select for added clarity

* Removing functional tests that used time-based events checkbox

* s/INDEX/INDICES/ to be reflect reality

* Fixing logic error

* Updating functional test to match new behavior

* Use controller property instead of inline expression

* More readable variable name
2017-04-26 16:25:00 -07:00
Alex F
c30d8ea38c [DOCS] Timelion Getting Started Guide (#11065)
* timelion docs rough draft 1

* timelion docs rough draft updates

* timelion docs rough draft typo

* timelion docs rough draft typo

* tanya feedback

* nbsp after images, made getting started a chapter with sections, removed inclusive we

* minor updates

* feedback from Bohyun
2017-04-26 16:11:03 -07:00
CJ Cenizal
ec984473cf Convert ScriptedFieldsTable and SourceFiltersTable to UI Framework components. (#11401)
* Convert ScriptedFieldsTable and SourceFiltersTable to UI Framework components.
* Remove unused Bootstrap input-group-btn class.
* Fix bug that prevented 'Create Index Pattern' button text from showing up.
2017-04-26 13:45:26 -07:00
Jim Unger
857eb3aaf6 Adds toggle_button, and toggle_panel components (#11254)
Adds toggle_panel angular component and ui framework styles
2017-04-26 14:00:21 -05:00
CJ Cenizal
0b285fca04 [kbnUrl] describe relationship between kbnUrl and $location (#11446)
* [kbnUrl] describe relationship between kbnUrl and $location
2017-04-26 07:47:03 -07:00
Stacey Gammon
5984a4a40b React search box tool bar (#10821)
* Add a react tool bar search box

Create basic react toolbar elements and update uiframework docs

* Package.json: put back ngreact (edits got overwritten)

* Add jest tests

* Combine basic tests into one, eliminate helper functions

* Address code review comments

- move tool_bar_footer into it’s own file.
- some stylistic html changes
- comments

* Remove toolbar_with_search_only

It isn’t being used in kibana currently, so we probably don’t need to
support it in our ui_Framework, and the need for the custom
“className="kuiToolBar--searchOnly”” indicates we should resdesign it
if we do need it some day.

* Fix issue with default to named conversion merge

* rename commonHtmlProps = requiredProps
2017-04-26 09:36:46 -04:00
Jonathan Budzenski
2803fd333a [contributing.md] Remove appSuites (#11369) 2017-04-26 09:02:37 -04:00
Peter Pisljar
8694acb9e4 disable editor play button if there are errors in the config (#11383) 2017-04-26 09:01:08 +02:00
Thomas Neirynck
984aaa80cf Align zoom level settings (#11399)
- allow 0-level for WMS services
- use zoom level 2, centered at 0,0 as new default when tilemap viz opens
2017-04-25 23:02:39 -04:00
CJ Cenizal
55ba578a1e Add example of spinner Icon. (#11424) 2017-04-25 14:54:31 -07:00
Jonathan Budzenski
ea7bfcc19b Disable dynamic/Implement static mappings (#10638)
* Disable dynamic mappings

* Disable automatic type creation

* Centralize .kibana mappings

* Use dynamic strict instead of false

* Register mappings per plugin

* Check for registered mapping conflicts

* Expose mappings on server scope instead of module

* Stub elasticsearch mappings class

* Add tests for KibanaMappings class

* [mappings tests] to.an -> to.be.an

* Return on mapping conflict and include plugin id if provided

* [uiExports] Add mappings uiExport type

* Use uiExports config in mappings tests

* Clean up ui_mappings test

* Revert plugin require ordering

* Pull uiExports mappings from kibana object isntead of kbnServer
2017-04-25 13:12:31 -04:00
CJ Cenizal
3b4d0b26e1 Update angular-bootstrap DatePicker with UI Framework classes. (#11378)
* Add DatePicker component to UI Framework.
- Update angular-bootstrap date-picker to use these classes.
2017-04-25 10:04:22 -07:00
Court Ewing
363bdaf22e readme: remove descriptions of P labels
We removed P labels from the repo entirely, so there's no need to
document them.
2017-04-25 11:01:05 -04:00
Peter Pisljar
b79cb08a28 updating visualize aggregations docs (#11034)
* updating visualize aggregations docs

* fixing based on review
2017-04-25 08:01:02 +02:00
CJ Cenizal
4209774dde Deprecate Bootstrap buttons (#11352)
* Migrate Console to kuiButton.

* Convert angular-bootstrap Timepicker and Tabs components to use kuiButtons.

* Convert Timelion to use kuiButtons.

* Convert Visualize and visTypes to use kuiButtons.
- Convert Heatmap vistype to use kuiButtons.
- Convert Visualize editor, AggTypes controls, and Heatmap options to use kuiButtons.
- Convert VisType control rows_or_columns to kuiButton.
- Adjust formatting of kuiButtons in AggTypes controls and Heatmap options.
- Convert Visualization save prompt to use kuiButtons.
- Convert visualize legend to use kuiButtons.
- Convert Visualize Spy to use kuiSelect instead of Bootstrap buttons.

* Convert Notify to use kuiButtons.
- Fix appearance of Notifier countdown.

* - Convert Dashboard to use kuiButtons and kuiMenuButtons.
- Convert Dashboard save panel to use KuiButtons.

* Convert Discover sidebar to use kuiButtons, and have an improved UX and accessibility.
- Convert Discover field chooser to use kuiButtons.
- Convert Discover no-results to use kuiButtons.
- Convert Discover save panel to use KuiButtons.

* Convert filter bar to use kuiButtons.

* Convert fatal splash screen to use UI Framework components.

* Convert number list to use kuiButtons.

* Convert stringify color editor to use kuiButtons.

* Convert timepicker directive to use kuiButtons.

* Convert Index Pattern Management to use kuiButtons.
- Convert Index Pattern Management field editor to use kuiButtons.
- Remove unnecessary ng-class from Create Index Pattern submit button.

* Remove unused global_config.html partial.

* Fix functional tests.
- Rename discover-save-search-btn test subject selector to discoverSaveSearchButton.
- Convert Notifier tests to use kuiButtons.
- Convert functional tests to use test subject selectors instead of relying on btn classes.
- Update HeaderPage and VisualizePage page objects to refer to timePickerGoButton.
- Fix broken functional tests for Discover, Visualize, and Settings.
- Fix failing Discover scripted fields tests.

* Fix visual bugs with FieldChooser string, Notifier buttons, and NumberList.

* Fix Number List so the 'remove' buttons are small.

* Fix FieldEditor to have space between Popularity input and dec/increment buttons.

* Update FieldChooser string partial to have padding around 'Visualize' button.
2017-04-24 16:35:58 -07:00
Matt Bargar
b5269cff10 Fix jpg encoding issue causing weird colors in Chrome (#11367) 2017-04-24 16:22:11 -04:00
CJ Cenizal
b5d1df929a Refactor and document Visualize, Visualize Editor, and Visualization Spy. (#11359)
* Refactor and document Visualize, Visualize Editor, and Visualization Spy.
2017-04-24 12:58:15 -07:00
Thomas Neirynck
00d11ea07f Fix map center and zoom persistence (#11299)
Previously, we would listen to the generic moveend event to listen to map changes. However, when the panels of "save" and "reporting" would slide open, it would cause minor jitters to the map-center (in the order of the 5th decimal digit), due to the map being slightly nudged down and back up. Now, we listen to drag and zoom events specifically, and no longer the catch-all moveend event.

This commit also improves the initialization of the map/zoom-settings by applying them at map-construction. It also now correctly uses the default settings.
2017-04-24 14:12:19 -04:00
Stacey Gammon
82b05c4199 Finish loading a dashboard even if some visualizations throw errors (#11324)
Dashboard listens for ‘ready:vis’ to be broadcast, but if an error is
thrown when loading the panel, it wasn’t being sent, so dashboard was
sitting there waiting for pendingVisCount to be 0 before fetching the
data.
2017-04-24 11:01:47 -04:00
Chris Cowan
788e6c650e Fixes #11232 - Add option for panel and global filters to annotations for TSVB (#11260)
* Fixes #11232 - Add option for panel and global filters

* Changing logic to use ignore instead of include
2017-04-24 13:41:12 +02:00
Felix Stürmer
9317574a3e [docs] Add documentation for the context view (#11222)
Add documentation for the context view

fixes #11216
2017-04-24 12:22:57 +02:00
Thomas Neirynck
bb40d5084f Add geocentroid doc (#11368) 2017-04-22 15:23:31 -04:00
Lukas Olson
d83fa10cb6 Add small text input to UI framework (#11354)
* Add small text input to UI Framework

* Undo accidental changes
2017-04-21 16:34:34 -07:00
CJ Cenizal
8ab5aad846 Vertical align children in a FieldGroup. (#11374) 2017-04-21 15:30:00 -07:00
Jonathan Budzenski
5a6766bb50 [test/dashboard] Retry filter check (#11372)
* [test/dashboard] Retry filter check

* [test/dashboard] Use await on getFilters
2017-04-21 16:01:35 -05:00
CJ Cenizal
d183d9ed71 Add kuiButton--fullWidth and kuiButton--small modifiers. (#11365)
- Add kuiButtonGroup--fullWidth modifier.
2017-04-21 13:45:03 -07:00
Brandon Kobel
f72e7269dc Removing the destructuring and const from webpackShims (#11370) 2017-04-21 15:48:10 -04:00
archana
476031b4ea Run tests against an actual Kibana build (#11237)
* build before running selenium

* change directory into built snapshot

* WIP: what is in the build dir

* WIP: skip unit tests

* run selenium on build

* [functional tests on build] Derive version

* [functional tests on build] Missing folder name prefix

* WIP: debug on ubuntu VM

* WIP: double kibana stabilize timeout

* WIP: remove ubuntu VM debug change

* WIP: add logs for docParams

* WIP: add logs for es

* build release version without -SNAPSHOT-

* [functional test release] Cleanup
2017-04-21 11:08:36 -05:00
Chris Cowan
b756eb0f8c Fixes #11289 - Change top_n to not use split colors (#11342) 2017-04-21 09:07:38 +02:00
CJ Cenizal
bd1f63d0aa [UI Framework] Add AssistedInput. (#11343)
* Add AssistedInput component.
* Add missing .kuiLocalSearchSelect class. Add AssistedInput to LocalNav example.
2017-04-20 19:47:35 -07:00
Stacey Gammon
9c37e6c4c1 Remaining default to named conversions in ui/public (#11323)
* use named ui-modules

* x-pack conversion is checked in so no need for the default uiModules export

* Final removal of all export default in ui/public

And turned on the eslint rule for that folder.

* Moe import to top of file
2017-04-20 14:10:06 -04:00
CJ Cenizal
439901971d Add support for dark theme links. (#11344) 2017-04-20 10:55:32 -07:00
CJ Cenizal
c643c3ac71 Add example of disabled kuiSelect. (#11345) 2017-04-20 10:51:47 -07:00
Stéphane Campinas
bfaaf1585c do not use the jquery submit method since it makes a page reload and … (#11100)
* do not use the jquery submit method since it makes a page reload and breaks the flow
* pass the method to execute on select of an item to the typeahead directive instead of finding it via jqlite
2017-04-20 11:02:35 -04:00
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