Commit graph

13608 commits

Author SHA1 Message Date
CJ Cenizal 962f036f42 Merge pull request #7723 from cjcenizal/7467/pin-sidebar-functionality
[7467] Add "Collapse/Expand" button to sidebar.
2016-08-18 12:52:35 -07:00
Tim Sullivan 1c7153c613 Merge pull request #7978 from tsullivan/notifications-render-directive
notifications: add directive notification type
2016-08-18 12:07:58 -07:00
CJ Cenizal 1b49ab9db3 Add tests for Notifiation directive. 2016-08-18 11:45:33 -07:00
Timothy Sullivan 143cedb453 notification/directive: rewrite unit test 2016-08-18 11:45:33 -07:00
Timothy Sullivan 3871a2a401 notifications: toaster.html cleanup
- break long lines
- fix incorrect slash with opening kbn-truncate tag
2016-08-18 11:45:33 -07:00
Timothy Sullivan 953666dea0 notifications: internal method rename 2016-08-18 11:45:33 -07:00
Timothy Sullivan 945fd16433 notifications/directive: initial unit test 2016-08-18 11:45:33 -07:00
Timothy Sullivan ab3af7c050 notifications/directive: add directive notification type 2016-08-18 11:45:33 -07:00
Spencer d6f17cfde7 Merge pull request #8020 from spalger/rename/StubBrowserStorage
[test_utils] move StubBrowserStorage to a more central location
2016-08-17 20:40:24 -07:00
spalger 59c84f0fe8 [test_utils] move StubBrowserStorage to a more central location 2016-08-17 19:48:37 -07:00
Thomas Neirynck feb790a504 Merge pull request #8005 from thomasneirynck/chore/7986
Use docvalue_fields iso fielddata_fields
2016-08-17 20:06:19 -04:00
Matt Bargar 56b2695255 Merge pull request #7950 from ck-lee/better-csv-import-errors-messages
Fix #7722 Improved header validation on CSV import
2016-08-17 19:17:32 -04:00
Chao Koon Lee 49c4d7bb86 Experiment with grouping errors in array
Fix eslint

Comment on code

Separate validation logic to lib
Unit tests

Code formatting

Use const for immutables and arrays
Multiline condition statement with brackets
Fix whitespace

Added unit tests for argument validations

Simplify validateHeaders by using lodash reduce

Fix formatting after code review

Use arrow function

Removed redundant unit tests.
Added jsdoc
Removed argument validations.

Minor comment fix.
2016-08-18 07:12:41 +12:00
Thomas Neirynck b98339b130 Merge pull request #8000 from thomasneirynck/fix/7882_zoom_precision
Change mapping from zoom levels to geohash precision
2016-08-17 14:26:47 -04:00
CJ Cenizal ee80ced114 Merge pull request #7982 from szydan/renamed-less-variable
renamed less variable
2016-08-17 09:44:46 -07:00
Jonathan Budzenski bd13644056 Merge pull request #7998 from elastic/cbuescher-kibana-doc
Don't use deprecated config key `elasticsearch_url`
2016-08-17 11:19:55 -05:00
Thomas Neirynck 6aaf31a884 Use docvalue_fields iso fielddata_fields
fielddata_fields is deprecated in 5.0
2016-08-16 18:55:32 -04:00
Thomas Neirynck 6309855f16 Improve code style 2016-08-15 20:15:08 -04:00
Thomas Neirynck 75c347b6cb Ensure precision does not exceed maxPrecision 2016-08-15 15:47:07 -04:00
CJ Cenizal eb72cb6698 In app_switcher.js, expose getTooltip on controller instead of scope. 2016-08-15 12:22:38 -07:00
CJ Cenizal 585a84cc96 Refactor kbn_chrome and app_switcher.
- Rename app_switcher -> global_nav, and rename associated services and subcomponents accordingly.
- Rename chrome.html -> kbn_chrome.html and create kbn_chrome.less.
2016-08-15 12:22:38 -07:00
CJ Cenizal 07500a033e Style the log-in screen to remain unaffected by an expanded side nav. 2016-08-15 12:22:38 -07:00
CJ Cenizal 9fbf808c93 Remove ready:vis event from kbn_chrome. Replace with appSwitcher:update event. This prevents accidentally triggering handlers that shouldn't be affected by the appSwitcher position. 2016-08-15 12:22:38 -07:00
CJ Cenizal fd2d5981fd Fix data flow to be unidirectional using appSwitcherState service and a rootScope event. 2016-08-15 12:22:38 -07:00
CJ Cenizal a8a99cd36f Remove appSwitcherLinkClasses attribute from appSwitcherLink directive and refactor styles for clarity. 2016-08-15 12:22:38 -07:00
CJ Cenizal 3ad02e4e9b Allow user to pin/unpin the sidebar, and store preference in localStorage.
- Add "Expand/Collapse" button to sidebar.
- Add appSwitcherState service.
- Add support for "classes" attribute to app-switcher-link.
- Remove animation from sidebar, and no longer expand on hover.
- Add default tooltips for sidebar items.
2016-08-15 12:22:38 -07:00
Thomas Neirynck 273b22847e Change mapping from zoom levels to geohash precision
- the precision level does not grow as quickly as previously.
This caused circles to look really small on some zoom levels. The
determination of the precision is now based on a heuristic based on the
min-width of the geohash-cell for a given zoom level
- add unit tests (previously absent)
2016-08-15 13:52:45 -04:00
Christoph Büscher 3544b66dfa Don't use deprecated config key elasticsearch_url
When following the description from the docs to set the elasticsearch url I got a warning that the key was deprecated. This updates the docs to use the non-deprecated key. I haven't checked if this needs to be updated in other parts of the documentation too.
2016-08-15 14:14:33 +02:00
markharwood 1b78afb269 Add flag to remove management link from saved-object-finder if redundant.
Closes #7980
2016-08-15 10:37:43 +01:00
Christoph Wurm 3e2fee281a Autocompletion for _nodes/stats/ingest in Console 2016-08-11 21:48:31 +02:00
Christoph Wurm 9d7133f86b Autocompletion for _nodes/ingest in Console 2016-08-11 21:44:27 +02:00
Thomas Neirynck 0c9e2af4f1 Merge pull request #7960 from thomasneirynck/fix/7945
Do not perform unnecessary round-trip to ES.
2016-08-11 14:40:51 -04:00
Thomas Neirynck ca6ce252a5 Add tests for jsonDataEquals
Also test .toJSON orders properties consistently.
2016-08-11 13:25:05 -04:00
szydan 1a03bb6eb2 renamed less variable 2016-08-11 17:56:20 +01:00
Thomas Neirynck 433c842b65 Only refresh when Data-tab has changed
The below is a more clear way to express what needs to happen.
This also avoids a bug when there is no re-fetch when there are both
changes in the Options and Data tab.
2016-08-10 18:25:07 -04:00
Spencer 7b1ac9884d Merge pull request #7976 from tsullivan/render-directive-controller-context
render directive: add controller context
2016-08-10 13:19:02 -07:00
Thomas Neirynck a33b36416a Merge pull request #7935 from thomasneirynck/fix/7898
Add Boolean field formatter
2016-08-10 15:24:20 -04:00
Timothy Sullivan da95f35283 render directive: add controller context 2016-08-10 12:22:13 -07:00
Peter Pisljar adfcf06151 Merge pull request #7953 from ppisljar/fix-4725
fixes #4725 - plugins without init function shouldn't show statuses
2016-08-10 08:38:21 +02:00
ppisljar e471e5a338 fixes #4725 - plugins without init function shouldn't show statuses 2016-08-10 07:55:13 +02:00
Thomas Neirynck 0c9e30c6bf Merge pull request #7939 from thomasneirynck/fix/5708
Add logarithmic scale for bar charts
2016-08-09 18:33:43 -04:00
Thomas Neirynck 3f59e3823d Do not perform unnecessary round-trip to ES.
If the visualization parameters change, but the query stays intact, we
should not fetch a new query.
2016-08-09 18:31:49 -04:00
Shaunak Kashyap af3558c02b Merge pull request #7966 from ycombinator/console/fix-content-type-header
Set content-type header to application/json
2016-08-09 15:19:18 -07:00
Shaunak Kashyap 8cbe46f375
Set content-type based on whether body exists and is JSON 2016-08-09 15:03:50 -07:00
Shaunak Kashyap 7a7414a4b3
Set content-type header to application/json 2016-08-09 14:45:53 -07:00
Thomas Neirynck f606dd0ac1 linter refactor 2016-08-09 16:54:55 -04:00
Thomas Neirynck 3e3354cc05 Disable non-linear scaling for stacked charts.
Still allow non-linear scaling for side-by-side displays of columns.

Included small refactor to reduce some of the error handling footprint.
2016-08-09 16:54:55 -04:00
Thomas Neirynck 6d70e44da6 Add logarithmic scale for bar charts.
The bar chart visualization already seemed to support it, but the UI-form
was not included in the template.

Also applied some linter corrections.
2016-08-09 16:54:55 -04:00
Court Ewing 33df96fc6a Merge pull request #7959 from jbudz/ingest-object-based
[ingest] update pipeline tests to grab id from object keys
2016-08-09 13:00:10 -04:00
Jonathan Budzenski b3c6a13bad
[api tests] update pipeline tests to grab id from object keys instead of array index 2016-08-09 11:36:51 -05:00