Commit graph

15301 commits

Author SHA1 Message Date
Peter Pisljar
055e99eaf6 timelion breaking change doc (#11582) 2017-05-05 07:12:25 +00:00
Peter Pisljar
06debb5709 fixing heatmap black squares (#11489) 2017-05-05 06:59:08 +00:00
Spencer
e6d3beaee3 [ftr] still trying to debug random remote start failures (#11611) 2017-05-04 23:39:05 -07:00
Spencer
4c6c401576 increase chromedriver startup timout to 15 seconds (#11609) 2017-05-04 16:18:34 -07:00
CJ Cenizal
e91c99f2b2 Create CollapseButton component class to standardize appearance of this button. (#11462)
* Create CollapseButton component class to standardize appearance of this button.
* Fix positioning of LocalSearch icon.
* Update collapsible-sidebar directive and Discover page object to use test subject selector.
* Refactor 'closed' class assignment.
2017-05-04 13:58:06 -07:00
Spencer
f76bef46c0 [ftr] remove digdug, use chromedriver directly (#11558)
* [ftr] remove digdug, use chromedriver directly

why?
 - digdug is meant to be used by intern, and expects a certain lifecycle that the FTR has tried and continuously fails to mimic
 - rather than continue trying to force digdug into the stack, just spawn chromedriver ourselves. We know how to handle it
 - cleans up verbose remote logging while we're in there, since selenium-standalone-server went with digdug, which was previously doing the verbose logging
 - deprecate config.servers.webdriver
 - add config.chromedriver.url
 - if url at config.chromedriver.url points to a server that responds to http requests use it as the chromedriver instance, enables running chrome in a VM or container
 - if pings to config.chromedriver.url fail a local chromedriver is started

* address review requests
2017-05-04 13:27:18 -07:00
CJ Cenizal
e5e939f536 [UI Framework] Fix appearance of some form components in Firefox (#11589)
* Hide dotted line around focused select component in Firefox.

* Use correct font-family for TextArea component in Firefox.

* Fix gray background of StaticInput in Firefox.
2017-05-04 11:33:15 -07:00
CJ Cenizal
14e38cc6ca Refactor Timelion expression suggestion logic for clarity. (#11285)
* Refactor Timelion expression suggestion logic for clarity.
- Create timelionExpressionInput directive.
- Create timelionExpressionSuggestions directive.
- Create expression_directive_helpers service.
2017-05-04 09:30:20 -07:00
Thomas Neirynck
e6896ab19a Add polygon drawing tool to the tilemap (#11578) 2017-05-04 10:32:53 -04:00
Tyler Smalley
1494278a7e Sets ES mapping to single_type=false (#11451)
Until we are able to remove our usage of types, we need to disable this breaking change.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-05-03 09:25:54 -07:00
CJ Cenizal
114a014866 Make CardGroup split apart by default. Add kuiCardGroup--united modifier. (#11580)
- Also remove unused kuiNotice classes.
2017-05-03 07:36:49 -07:00
Stacey Gammon
8fca519a39 UiFramework: Modals in react (#11500)
* Reactify the confirmation modal

Up next: jest tests

* Add tests

- Relies on https://github.com/elastic/kibana/pull/10821 getting
checked in first for commonHtmlProps

* Don't include the overlay as part of the confirm modal component

* Use the react version of a confirmation modal

- Can’t use the modalOverlay or it would be two nested react roots, due
to the way it’s embedded in angular.

* Add snapshots

* Fix tests

* fix confirm_modal_promise tests

I have no idea why the introduction of react would cause this to fail
as it was, but for some reason, grabbing the button reference has to be
after the digest loop.

* Address code review comments

* switch over the remaining React.PropType references (in the modals dir anyway)
2017-05-03 09:44:31 -04:00
Stacey Gammon
616390da61 Fix visualize sort icon bug (#11568)
A recent refactor caused this, when the name of the function changed.
2017-05-03 06:41:07 -04:00
CJ Cenizal
eb4b22d139 Reinstate a few Bootstrap btn classes to support angular-ui-select. (#11569) 2017-05-02 15:55:59 -07:00
Stacey Gammon
c9eb101f33 Add back dashboard descriptions (#11552)
* Add back dashboard descriptions

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

* Don't make the description a link

I think it looks weird like that

* wrap long descriptions in the table

* Fix style issue

* Only show one sort icon
2017-05-02 14:07:32 -04:00
Thomas Neirynck
e227ec7828 link timelion doc (#11559) 2017-05-01 23:49:35 -04:00
Chris Cowan
216386d5c6 Time Series Visual Builder Documentation (#11411)
* Closes #11215 - Documentation for Time Series Visual Builder

* changing from third person to first

* Adding link to TSVB docs
2017-05-01 20:34:15 -05:00
Lukas Olson
2e7b202fe5 Add ignore_unmapped to geo filters to prevent exception (#11461) 2017-05-01 10:56:58 -07:00
Lukas Olson
8ef383e923 Update timepicker docs (#11458)
* Update timepicker docs

* Update docs

* Update image
2017-05-01 10:33:04 -07:00
Stacey Gammon
26a62642fb Fix for react-input-autosize bug (#11543)
* Fix for react-select bug

Description of the issue here:
https://github.com/JedWatson/react-select/issues/1694

* Can't put comments in package.json I guess
2017-05-01 10:00:52 -04:00
CJ Cenizal
01e0bb0425 Convert Index Pattern Creation form UI to use UI Framework components. (#11419)
* Convert Index Pattern Creation form UI to use UI Framework components.
* Mark matching-indices percentage InfoPanel red if there are 0% matching indices.
* Fix controller logic for extracting correct form values when nameIsPattern is changed.
* Localize 'indices do not contain time fields' warning.
* Document new form components: Label, CheckBoxLabel, large Select, and large TextInput.
2017-04-29 03:22:43 -07:00
Matt Bargar
ac84ffcf52 Remove the _source field toggle button which was accidentally reinstated (#11485)
* Remove the _source field toggle button which was accidentally reinstated

* Use ng-if instead of css class to hide Remove button on _source field list item
2017-04-28 16:06:36 -04:00
CJ Cenizal
432dc8f7f4 Remove Bootstrap btn classes. (#11353)
- Remove .button-group styles.
- Remove unused .sidebar-item-button class.
2017-04-28 12:52:35 -07:00
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