Commit graph

15398 commits

Author SHA1 Message Date
Kim Joar Bekkelund
6c3fc81ea9 Upgrade to Jest 20 (#11642) 2017-05-18 13:53:44 +01:00
Felix Stürmer
bc64b9a3aa [context view] Apply filters to the context query (#11466)
This adds the ability to display a filter bar in the Context view and to apply those filters to the queries. It also modifies the link from the Discover view to the Context view to copy the currently defined filters when switching. New filters can be added from within the Context view using the icons in the expanded detail rows.
2017-05-18 12:05:38 +02:00
Felix Stürmer
8a765a3769 [UI Framework] Add several kuiLocalNav-related components (#11725)
This adds several `LocalNav`-related React components and converts their usage in the docs to React:

* `KuiLocalNav`
* `KuiLocalNavRow`
* `KuiLocalNavRowSection`
* `KuiLocalNavTab`
* `KuiLocalNavTabs`
* `KuiLocalNavTitle`
2017-05-18 10:07:17 +02:00
Spencer
d3ba428796 [ftr] make room for more projects (#11848)
Squashed commit of the following:

commit 659ea986fdeb9a5ff2ca1fa5360cccb01c671ede
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 09:19:22 2017 -0700

    [test/*/fixtures] rename es_archives to es_archiver

commit d3667457c78e88e2d6974f3c38dd0fe61b846b91
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 08:22:03 2017 -0700

    [ftr/config] fix default directory value functions

commit 9a6a2cc0b295e2281e83da04fcea40e9d6f00781
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 07:30:52 2017 -0700

    fix import paths

commit fcb65a877d54b5b1d36b8c81f1264b36845e826e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 21:39:57 2017 -0700

    [grunt/ftr] use named exports for configs

commit 7d7f38c7615cdbf8eb0119efc0f2a5188bca8792
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:50:04 2017 -0700

    [test] remove unnecessary directory definitions

commit 0c28984669768482f0a2ee7fc2800d5bcaf49025
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:46:29 2017 -0700

    [ftr/config] make default directories relative to config path

commit cd2f33612624cacffec138797f3fc0f4ecb46cca
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:32:12 2017 -0700

    [test/common] put server config into common

commit 7851ed811a236576c63bd20850b3ef2099be2a4e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:18:20 2017 -0700

    [grunt] "deprecate" test:api:runner task

commit b2ac4c26593a1947c94f0168191fe8123ff74122
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:15:41 2017 -0700

    [ftr] accept the project name as an unnamed arg

commit 47e292894fc70c0a04883403c50c5d2ae0738d76
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:56:34 2017 -0700

    [ftr/grunt] convert ftr task to multi-task with config

commit 83375855f88e5e7b3fa8b6a1c5d24a9f54766ce5
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:54:54 2017 -0700

    [test/functional] move fixtures into test/functional project

commit 05994e9c92cf134c58f831c285b3b522a801acbc
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:02:51 2017 -0700

    [src/test_utils] merge with test/utils directory

commit c77ee5ed36b8b7eadf876cb6d9482a49dfc92b66
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:53:00 2017 -0700

    [test/api_integration] migrate api tests to functional test runner

commit ca328c34648dd7e07f70e1844e07cfc392e41103
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:50:12 2017 -0700

    [esArchiver] refresh modified indices after load

commit cde74a540850fd97578f441d6dccaefd1444e656
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:46:48 2017 -0700

    [test/functional] move shared services into test/common

commit 0ea2646aea5817f6d1595e6ae0d356c426f138f0
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:51:23 2017 -0700

    [scripts/mocha] run _mocha script when debugging

commit 1cc80600d90e318d4738920aa557d124075a4570
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:48:12 2017 -0700

    [ftr/config] allow child config files to have no testFiles config

commit 2bb6c957443b18cebc419baa6f9db301c8f4dc4f
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 21:52:26 2017 -0700

    [ftr] move screenshots into test/functional
2017-05-17 18:53:45 -07:00
Matt Bargar
39eb457e5e Only use day, month, year provided by datepicker (#11773)
* Only use day, month, year provided by datepicker instead of moment in time
2017-05-17 18:27:26 -04:00
CJ Cenizal
e7d5fc79ea Fix bug with UI Framework background height not expanding to fit content. (#11880) 2017-05-17 13:07:50 -07:00
CJ Cenizal
2513616c31 Update UI Framework build task to not compile source maps. (#11868) 2017-05-17 11:23:32 -07:00
CJ Cenizal
27af46f8d0 Update Notice sandbox to use correct classes. (#11869) 2017-05-17 11:16:10 -07:00
Chris Cowan
9c9cad344e Show bucket size for Time Series Visual Builder on X-Axis (#11639)
* Adding seconds to the timeseries tooltip

* Adding x-axis label to show the bucket size
2017-05-17 12:08:15 -04:00
Stacey Gammon
a9ee082660 Fix modals in react (#11714)
* fix focused button not being set

Need to do it in a timeout because ng-react hasn’t loaded the react
code yet, so it can’t find the buttons.

* add a test

that would have caught the issue, and also change the default focused
button for the listing delete page since it’s a destructive action.

* Add a comment

* Push focusing of default button into react code

* Push ESC key handling into react as well

* Remove ESC tests in angular form

They don’t pass, I’m guessing because of the way it’s triggered, but
these test cases should now be handled in jest.  Also confirmed it
works as expected with the modal.

* Address code review comments

* Use autoFocus
2017-05-17 09:48:26 -04:00
CJ Cenizal
f5f056c701 Remove unnecessary use of kbn-accessible-click from heatmap options. (#11833) 2017-05-16 16:54:53 -07:00
Thomas Neirynck
c1e09d5b0e Add aggregation size to Advanced Settings (#11818)
The discover:aggs:terms:size config value was never added to the default values, so when the trash-button is clicked it removes the config completely and causes discover to send an empty size param to visualize.
2017-05-16 16:50:32 -04:00
CJ Cenizal
dcc6b42548 Improve Visualize sidebar accessibility. (#11754)
* Make Visualize sidebar tabs keyboard accssible.
* Make Visualize Heatmap sidebar options keyboard accessible.
* Remove unnecessary kbn-accessible-click from Visualize reset button.
* Make Visualize Point Series sidebar options keyboard accessible.
2017-05-16 12:48:06 -07:00
CJ Cenizal
91e525e99d Remove ng-scope from markup. (#11755) 2017-05-16 12:45:13 -07:00
Tim Sullivan
f6683cb2ca Fix React Warning in Demo Site (#11822) 2017-05-16 11:38:50 -07:00
Brandon Kobel
27ccda84ec Upgrading elasticsearch dependency to 13.0.1 (#11784) 2017-05-16 14:05:10 -04:00
Bhavya RM
a3a642cef1 Changing shakespeare bulk upload command for 6.0 (#11795)
* Changing shakespeare bulk upload command for 6.0

* file path and mapping change

changing the file path for shakespeare and the mapping type from default to doc

* removing underscore for doc and changing file name

* removing extra spaces in the map shakespeare command

* removing  spaces before the colon

* removing extra spaces
2017-05-16 13:49:54 -04:00
Chris Roberson
c2319d5d07 [Index pattern creation] Move the error message to below the input field (#11801)
* Move the error message to below the input field, resolves #11410

* Update to match HTML styleguide
2017-05-16 11:42:26 -04:00
trevan
0f8729587b heatNormalizeData is true/false, not a float (#11799)
this also removes the variable, as it was unused.
2017-05-16 11:11:39 -04:00
Stéphane Campinas
efc621826b disable save button if visualization is dirty (#11576) 2017-05-16 09:47:46 -04:00
Nathan Reese
54b4fce8ca Tooltip gets cutoff when tooltip is larger than chart container (#11769)
* Tooltip overflows both sides of smaller container

* add tests

* clean up comments

* better clarity in test case

* add space at start of comment
2017-05-16 07:32:38 -06:00
Spencer
882079c4f8 [npm] upgrade karma (#11806) 2017-05-15 16:46:52 -07:00
Spencer
419f3132b8 [tests/functional] stop setting the default test timeout everywhere (#11777) 2017-05-15 16:46:04 -07:00
Spencer
12e56b8b4c [indexedArray] es6-ify (#11800) 2017-05-15 14:38:08 -07:00
Spencer
31fed421ff Implement/timestamps in log (#11781)
* [utils/streams] add createMapStream()

* [utils/toolingLog] make tooling log operate in object mode

* [ci/ftr] log the time before each log message
2017-05-15 14:28:14 -07:00
Shaunak Kashyap
32eff371f2 Getting Started page (#11805)
* Getting Started page (#11673)

* Initial code

* Renaming files/folders

* Notes and changes from HTML/CSS review

* CSS changes

* Fixing transform units

* Fleshing out logo circle

* Adding logos

* Un-nesting styles

* Adding kuiText class on <p> elements

* Making shield icon 404 go away

* Using trustAsHtml filter; using registry

* Adding code for registry

* Adding images

* Hooking up the opt-out link

* Fixing linter issues

* Fix issue with refresh bringing back nav

* Removing load_default module

* Use GETTING_STARTED_ROUTE constant

* Allow topMessage to be a directive

* Adding kuiLink CSS class to anchor elements

* Adding alt text to images

* Replace getters with regular methods

* Remove leftover comment

* Removing unnecessary comment

* Fixing typo in comment

* Adding comments for message properties

* Fixing typo in method name

* Defining custom CSS class

* Fixing method call

* Creating custom CSS classes

* Adding documentation links

* Use a instead of button for demo link

* Allow directives in manage and monitor messages

* Refactoring shared code into single ui/public/getting_started folder

* Adding README

* Fixing whitespace in/around links

* Trim messages before setting them

* Decorate in-app links with opt-out attribute

* Opt out of the Getting Started page if the user already has index patterns

* Adding more commentary around expectations of setTopMessage use

* Using ng-src and ng-href attributes where attr values are angular expressions

* Importing the directive before using it

* Using ui/registry for message registries

* Renaming service => helpers to clarify intent

* Adding explanatory comment

* Adding "or"

* Fixing div id

* Breaks out the inject logic into another directive

* Adding Getting Started page object for functional tests

* Consolidate into one registry

* Fixes incorrect classes

* Changes how styles are applied to injected-items items

* Modifying class name per CSS style guide

* Adding getting started doc link

* Removing unused import

* Attempting to fix breaking build

Apparently the Getting Started page is preventing access to Console (Dev Tools, really) so the functional tests for Console are failing. This commit opts the user out of the Getting Started page before attempting to navigate to Console.

* Cleanup on aisle testbed! (#11765)

* Navigate to getting started page so we can opt out of it
2017-05-15 14:04:16 -07:00
Spencer
866bf5d520 [server/validate] respond with all validation errors (#11776)
* [server/validate] respond with all validation errors

* [server/config] fail with all validation errors
2017-05-15 13:18:51 -07:00
Chris Roberson
d23fa3689b Remove legacy npm script that is no longer used or supported (#11796) 2017-05-15 14:56:23 -04:00
Chris Roberson
b03128da83 Update contributing guidelines due to recent npm script changes (#11794)
* [docs] update contributing guidelines to account for recent changes to makelogs and mocha script execution

* Update for changes to test:ui:runner

* Remove unnecessary command prefix
2017-05-15 14:06:23 -04:00
Court Ewing
b09d131b80 Revert "Getting Started page (#11673)" (#11788)
This reverts commit 211b3d4c1c.

This was breaking builds, so we revert until we figure out why.
2017-05-15 09:59:35 -04:00
Chris Cowan
8b31d55579 Removing HTML support from Markdown in Time Series Visual Builder (#11770) 2017-05-15 08:50:44 -04:00
Rashid Khan
01e54022ad Add support for date math in Timelion's .movingaverage() (#11555)
* Add support for date math to movingaverage

* Fix excess phase shift and dropped point in .movingaverage()

* Change help language, use if() instead of self executing function
2017-05-12 14:43:11 -07:00
Thomas Neirynck
11581ae136 remove default WMS settings (#11573)
These are just an example configuration, and not strictly speaking necessary. The added advantage is that we remove an implicit dependency on a 3rd party service.
2017-05-12 17:16:45 -04:00
Brandon Kobel
46f1bcfd76 Adding WTFPL OR ISC to the list of valid licenses (#11768) 2017-05-12 16:23:27 -04:00
Shaunak Kashyap
7af34041ca Add a space instead of an &nbsp; (#11767)
That way, a single block-level element before the space does not cause a new line in the UI
2017-05-12 13:06:15 -07:00
Shaunak Kashyap
ab0cfb3edc Cleanup on aisle testbed! (#11765) 2017-05-12 11:56:53 -07:00
Shaunak Kashyap
211b3d4c1c Getting Started page (#11673)
* Initial code

* Renaming files/folders

* Notes and changes from HTML/CSS review

* CSS changes

* Fixing transform units

* Fleshing out logo circle

* Adding logos

* Un-nesting styles

* Adding kuiText class on <p> elements

* Making shield icon 404 go away

* Using trustAsHtml filter; using registry

* Adding code for registry

* Adding images

* Hooking up the opt-out link

* Fixing linter issues

* Fix issue with refresh bringing back nav

* Removing load_default module

* Use GETTING_STARTED_ROUTE constant

* Allow topMessage to be a directive

* Adding kuiLink CSS class to anchor elements

* Adding alt text to images

* Replace getters with regular methods

* Remove leftover comment

* Removing unnecessary comment

* Fixing typo in comment

* Adding comments for message properties

* Fixing typo in method name

* Defining custom CSS class

* Fixing method call

* Creating custom CSS classes

* Adding documentation links

* Use a instead of button for demo link

* Allow directives in manage and monitor messages

* Refactoring shared code into single ui/public/getting_started folder

* Adding README

* Fixing whitespace in/around links

* Trim messages before setting them

* Decorate in-app links with opt-out attribute

* Opt out of the Getting Started page if the user already has index patterns

* Adding more commentary around expectations of setTopMessage use

* Using ng-src and ng-href attributes where attr values are angular expressions

* Importing the directive before using it

* Using ui/registry for message registries

* Renaming service => helpers to clarify intent

* Adding explanatory comment

* Adding "or"

* Fixing div id

* Breaks out the inject logic into another directive

* Adding Getting Started page object for functional tests

* Consolidate into one registry

* Fixes incorrect classes

* Changes how styles are applied to injected-items items

* Modifying class name per CSS style guide

* Adding getting started doc link

* Removing unused import
2017-05-12 11:35:01 -07:00
Rashid Khan
f593eb3d06 Add .aggregate() function (#11556) 2017-05-12 11:08:55 -07:00
JacobBrandt
99266fca67 Call out latitude/longitue in map tooltip (#11718) 2017-05-12 12:04:01 -04:00
Bhavya RM
d7ce1038e7 Update tutorial-load-dataset.asciidoc (#11703)
Changing the tutorial to update it according to the new ES mappings and adding console tested commands.
2017-05-12 08:44:46 -04:00
Spencer
34c33f3895 [metricVis] Fix html support (#11008)
* [metricVis] Fix html support

* [metric_vis] add test to verify 42d11b021

* [ui/vis] fix import
2017-05-12 01:46:20 -07:00
CJ Cenizal
059071e623 Update CardGroup component example to exhibit stacking on smaller screens. (#11751) 2017-05-11 15:10:15 -07:00
CJ Cenizal
3cb51f4c04 Improve Visualize screen-reader accessibility: (#11599)
- Add aria-label to Tile Map visualization's 'Fit Data Bounds' button.
- Add aria-label for Visualize Editor sidebar index pattern.
- Add aria-label to Time Series Visual Builder Annotation icon options.
- Add aria-label for Time Series Visual Builder AggSelectOption.
- Add aria-label to Time Series Visual Builder Annotation selected icon option.
- Adjust aria-labels for Heatmap visualization options.
- Adjust aria-labels for ValueAxes add and remove buttons.
2017-05-11 15:02:12 -07:00
CJ Cenizal
871b16d6be [UI Framework] Wrap Cards within a non-united CardGroup. (#11704)
* Wrap Cards within a non-united CardGroup.
2017-05-11 14:58:43 -07:00
CJ Cenizal
f7ae779b6b [UI Framework] Display React logo next to React components in the nav. (#11746)
* Display React logo next to React components in the nav.

* Fade background as the nav opens and closes.
2017-05-11 13:24:49 -07:00
Spencer
ca049508c2 [ci] only build kibana once (#11717) 2017-05-11 13:12:30 -07:00
CJ Cenizal
c1b714e853 Improve accessibility by adding alternative text for screen-readers. (#11548)
* Ensure img elements have alt text where necessary (none do).
- Add aria-hidden to global nav icon.

* Remove unused title attribute from SavedObjectFinder.
2017-05-11 12:46:04 -07:00
CJ Cenizal
880648c9e3 Improve Console screen-reader accessibility: (#11602)
- Add aria-label for Console History entries.
- Add aria-label and aria-labelledby to Console Request 'wrench' menu.
2017-05-11 12:42:39 -07:00
Spencer
2e7fed87fd [ftr] take screenshots on failure (#11709)
* [tests/functional] move screenshots to their own service

* [ftr] add testFailure and testHookFailure lifecycle hooks

* [tests/functional/screenshots] cleanup old screenshots at startup

* [test/functional/screenshots] take screenshots when tests fail

* [cli_plugin/install] fix test

* [ui/scanner] fix test
2017-05-11 12:07:23 -07:00
Stacey Gammon
56fdebb853 Fix bug in dashboard Add panel pager where it always said x of x (#11617)
* pagination fixed

* pagination label changed

* Variations on the pager implementation

* Add a safety check since this relies on inherited scope.

* Don't use noop function

It’s possible a parent could mess with the function after we set it to
a noop (maybe delete it)?
2017-05-11 14:39:53 -04:00