Commit graph

15387 commits

Author SHA1 Message Date
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
Jonathan Budzenski
563157c8c9 [console] If using an https agent, set rejectUnauthorized in the agent (#11700)
* [console] If using an https agent, set rejectUnauthorized in the agent

* [console] Update tests to expect rejectUnauthorized in agent config

* [console] Check for null and undefined when setting rejectUnauthorized
2017-05-11 09:14:55 -05:00
Thomas Neirynck
45ea866e30 geo_centroid should not be available as a metric (#11630) 2017-05-11 09:47:03 -04:00
Thomas Neirynck
c946b43f3e When using WMS, the zoom settings of the manifest should not be used (#11707)
When a user configures a WMS, we should not use the zoom-settings from the manifest. These depend on the user's license level, and are not relevant when using a 3rd party WMS service.
2017-05-11 09:32:03 -04:00
CJ Cenizal
070a8a4669 Fix some flexbox errors with the UI Framework docs. (#11719) 2017-05-10 17:59:00 -07:00
CJ Cenizal
5284b3d389 [UI Framework] Improve UI Framework Home Page and 404 Page. (#11715)
* Improve usability and accessibility of UI Framework nav.

* Improve UI Framework Home Page and 404 Page.
2017-05-10 14:17:03 -07:00
Thomas Neirynck
21f2b87676 should not throw error when fitting on empty data (#11620) 2017-05-10 14:44:05 -04:00
CJ Cenizal
c861dc2bc4 Make Discover table keyboard accessible. (#11604)
* Make Discover table carets tabbable.
* Make Discover table tabs tabbable.
* Make Discover table icon buttons tabbable.
2017-05-10 10:45:05 -07:00
Chris Cowan
fa1aa4f034 Return Boom errors directly to the browser for Time Series Visual Builder (#11656)
* Fixed #11643 - Return Boom errors directly to the browser

* Checking for 401 and boom errors instead of just boom errors

* removing the returns from the hapi routes
2017-05-10 09:16:04 -07:00
Shaunak Kashyap
e14ec930f1 Adding check-box component (#11550)
* Adding selectable-row component

* Adding example usage to testbed

* Using shorthand property name

* No need for transclusion

* Renaming selectable-row to check-box

* Resetting testbed code
2017-05-10 09:12:20 -07:00
CJ Cenizal
f56736f951 Fix suggestions in Timelion Visualization. (#11638)
* Refactor timelionExpressionInput to use ng-transclude to accept any type of form control. Fix suggestions in Timelion Visualization.
* Fix bug so that users can click on suggestions to select them.
* Fix broken reference to input element.
2017-05-10 09:09:11 -07:00
CJ Cenizal
e64ae627c7 Improve Management screen-reader accessibility. (#11601)
* Improve Management screen-reader accessibility:
- Improve description of image generated by an Image URL scripted field. Allow formatted label to be presented in lieu of default alt attribute.
- Remove unnecessary title attribute from Create Index Pattern ISO week date link.
- Add aria-label for Edit Index Pattern tabs.
- Add aria-label for Edit Saved Objects tabs.
2017-05-10 08:23:29 -07:00