Commit graph

15219 commits

Author SHA1 Message Date
CJ Cenizal
d8976cebca Update Notice sandbox to use correct classes. (#11869) 2017-05-17 11:16:58 -07:00
Stacey Gammon
4da3357a91 Fix modals in react (#11714) (#11862)
* 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 12:23:37 -04:00
Chris Cowan
98de700e51 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 09:09:09 -07:00
Thomas Neirynck
ee6fa6bcc9 Add aggregation size to Advanced Settings (#11818) (#11847)
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-17 01:31:42 -04:00
CJ Cenizal
7ae4021557 Remove unnecessary use of kbn-accessible-click from heatmap options. (#11833) (#11834) 2017-05-16 16:57:26 -07:00
CJ Cenizal
e4c94bcd7a Improve Visualize sidebar accessibility. (#11754) (#11827)
* 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:49:44 -07:00
CJ Cenizal
3cad0d154a Remove ng-scope from markup. (#11755) 2017-05-16 12:46:29 -07:00
Tim Sullivan
4db59972b3 Fix React Warning in Demo Site (#11822) 2017-05-16 11:40:19 -07:00
Brandon Kobel
bc443a9326 Upgrading elasticsearch dependency to 13.0.1 (#11784) 2017-05-16 14:06:28 -04:00
Thomas Neirynck
64ecbed395 heatNormalizeData is true/false, not a float (#11799) (#11820)
this also removes the variable, as it was unused.
2017-05-16 13:57:14 -04:00
Chris Roberson
09d97ba56f [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:43:22 -04:00
Thomas Neirynck
9828211dde disable save button if visualization is dirty (#11576) (#11816)
(backport: manual merge edits in test file)
2017-05-16 10:50:42 -04:00
Spencer
a65a652c0f [tests/functional] stop setting the default test timeout everywhere (#11777)
(cherry picked from commit 419f3132b8)
2017-05-15 16:46:18 -07:00
Jim Unger
77ab4ce7cf Adds toggle_button, and toggle_panel components (#11254)
Adds toggle_panel angular component and ui framework styles
2017-05-15 15:30:33 -07:00
Shaunak Kashyap
547feb1578 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:46:13 -07:00
Spencer
367babc81d [indexedArray] es6-ify (#11800)
(cherry picked from commit 12e56b8b4c)
2017-05-15 14:38:39 -07:00
Spencer
549e62411e 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

(cherry picked from commit 31fed421ff)
2017-05-15 14:28:42 -07:00
Spencer
98420976f1 [server/validate] respond with all validation errors (#11776)
* [server/validate] respond with all validation errors

* [server/config] fail with all validation errors

(cherry picked from commit 866bf5d520)
2017-05-15 13:19:08 -07:00
Chris Roberson
94a2e13c39 Remove legacy npm script that is no longer used or supported (#11796) 2017-05-15 14:59:03 -04:00
Chris Roberson
30ac1868de Update contributing guidelines due to recent npm script changes (#11794) (#11798)
* [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:20:54 -04:00
Court Ewing
c6baef840f 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:57 -04:00
Chris Cowan
6413a86c96 Removing HTML support from Markdown in Time Series Visual Builder (#11770) 2017-05-15 08:51:22 -04:00
Brandon Kobel
3cecad7b00 Adding WTFPL OR ISC to the list of valid licenses (#11768) 2017-05-12 16:24:43 -04:00
Shaunak Kashyap
122d6cfa54 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:08:54 -07:00
Stacey Gammon
00376a7b0c Fix bug in dashboard Add panel pager where it always said x of x (#11617) (#11739)
* 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-12 15:35:26 -04:00
Shaunak Kashyap
8e033ae82e Cleanup on aisle testbed! (#11765) 2017-05-12 11:58:51 -07:00
Shaunak Kashyap
65e5c09d32 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:58:31 -07:00
Rashid Khan
ed7334a103 Add .aggregate() function 2017-05-12 11:09:51 -07:00
Thomas Neirynck
28093925a8 Call out latitude/longitue in map tooltip (#11718) (#11760) 2017-05-12 14:06:12 -04:00
Bhavya RM
97bf1907f6 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 11:55:27 -04:00
Spencer
65354776a7 [metricVis] Fix html support (#11008)
* [metricVis] Fix html support

* [metric_vis] add test to verify 42d11b021

* [ui/vis] fix import

(cherry picked from commit 34c33f3895)
2017-05-12 01:48:37 -07:00
CJ Cenizal
74b0ac097f Update CardGroup component example to exhibit stacking on smaller screens. (#11751) 2017-05-11 15:10:56 -07:00
CJ Cenizal
94e37cf0db Improve Visualize screen-reader accessibility: (#11599) (#11750)
- 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:07:15 -07:00
CJ Cenizal
78cb3a822b [UI Framework] Wrap Cards within a non-united CardGroup. (#11704) (#11749)
* Wrap Cards within a non-united CardGroup.
2017-05-11 15:00:55 -07:00
CJ Cenizal
8af8b3af39 [UI Framework] Display React logo next to React components in the nav. (#11746) (#11747)
* Display React logo next to React components in the nav.

* Fade background as the nav opens and closes.
2017-05-11 13:27:13 -07:00
Spencer
fa6429ec44 [ftr] take screenshots on failure (#11709) (#11742)
* [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

(cherry picked from commit 2e7fed87fd)
2017-05-11 13:27:04 -07:00
Spencer
7344771a4b [ci] only build kibana once (#11717)
(cherry picked from commit ca049508c2)
2017-05-11 13:12:47 -07:00
CJ Cenizal
a580dbb563 Improve accessibility by adding alternative text for screen-readers. (#11548) (#11745)
* 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:48:00 -07:00
CJ Cenizal
7ab15693d8 Improve Console screen-reader accessibility: (#11602) (#11744)
- Add aria-label for Console History entries.
- Add aria-label and aria-labelledby to Console Request 'wrench' menu.
2017-05-11 12:44:32 -07:00
Thomas Neirynck
e3b604ed22 geo_centroid should not be available as a metric (#11630) (#11731) 2017-05-11 11:14:57 -04:00
Jonathan Budzenski
96cf8fbf35 [console] If using an https agent, set rejectUnauthorized in the agent (#11700) (#11733)
* [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 10:06:17 -05:00
Thomas Neirynck
bd77356e1b When using WMS, the zoom settings of the manifest should not be used (#11707) (#11729)
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 10:33:22 -04:00
CJ Cenizal
d2587a8100 Fix some flexbox errors with the UI Framework docs. (#11719) (#11720) 2017-05-10 18:01:14 -07:00
Thomas Neirynck
0c3bb057e2 should not throw error when fitting on empty data (#11620) (#11712) 2017-05-10 17:46:54 -04:00
CJ Cenizal
62a5dc63bb [UI Framework] Improve UI Framework Home Page and 404 Page. (#11715) (#11716)
* Improve usability and accessibility of UI Framework nav.

* Improve UI Framework Home Page and 404 Page.
2017-05-10 14:18:50 -07:00
Jonathan Budzenski
8eb393a5d1 [console] Properly check for existence of deprecated console configs (#11670) (#11694) 2017-05-10 13:05:25 -05:00
CJ Cenizal
3ea447380f Make Discover table keyboard accessible. (#11604) (#11705)
* Make Discover table carets tabbable.
* Make Discover table tabs tabbable.
* Make Discover table icon buttons tabbable.
2017-05-10 10:46:56 -07:00
Peter Pisljar
07916f0c2f fix duplicate chart title (#11594) (#11692)
* fix duplicate chart title

* updating el to axisWrapperElement
2017-05-10 18:32:25 +02:00
Chris Cowan
acb42de8fc 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:23:08 -07:00
Shaunak Kashyap
93fd1c5fc4 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:13:25 -07:00