Commit graph

16545 commits

Author SHA1 Message Date
Yuri Astrakhan 764d1587ca
Bumped Vega dependency 2.0.8->2.0.9 (#16133) 2018-01-18 14:31:04 -05:00
Kim Joar Bekkelund 7b0b381684
Fail test if it 'console.error's (#16116)
* Fail test if it 'console.error's

* oneOf -> oneOfType

* Fix react-color console.error
2018-01-18 18:08:00 +01:00
Nathan Reese 88ed489e2a
check if field exists (#16102) 2018-01-18 08:06:51 -07:00
Kim Joar Bekkelund 7cf8461fa6
PropTypes -> propTypes (#16112) 2018-01-18 02:37:23 +01:00
CJ Cenizal 98034e5b30
Fix disappearing caret in time field select of Create Index Pattern wizard. (#16113) 2018-01-17 16:37:11 -08:00
Brandon Kobel cd5336fda6
Visualization specific timeranges (#15998)
* No longer converting the $scope.timeRange to absolute values in
visualize.js

* Now using searchSource.filter as opposed to manual approach

* Adding extensible filters and only including the first timeRange filter

* Removing the forceNow stuff, we'll deal with this in another PR

* Adding omment about removing null/undefined filters

* Adding vis.getTimeRange and using it in the Date Histogram

* Removing the test hard-coded timeRange

* Adding tests for default filter "filters"

* Adding custom filter prediate test
2018-01-17 11:52:38 -05:00
Nathan Reese fb45748fec
[home] Apm tutorial cleanup (#16100)
* render launch dashboard at end of instruction sets

* add intro to header, update 'APM Client' title to 'APM agents'

* avoid extra div element in footer
2018-01-17 09:39:42 -07:00
Brandon Kobel b6537e67c7
Upgrading the datemath.parse syntax to version 4.0 (#15999)
* Upgrading the datemath.parse syntax to version 4.0

* [@elastic/datemath] bump to version 4

* Updating yarn.lock for datemath-js@4.0

* Updating to dateamath-js@4.0.1
2018-01-17 08:15:01 -05:00
Aleh Zasypkin ac63d371b5
Make it possible to disable CSRF check for the specified list of paths. (#13904) 2018-01-17 10:25:35 +01:00
Spencer 215d9a066a Upgrade react deps (#16025)
* [yarn] upgrade react deps

* [yarn] reinstall pivotal-ui so that react dep is deduped

* [yarn] remove unused deps

* [react-ace] update snapshots to include new aria props

* [react-input-range] update snapshot with new allowSameValues prop, default is still false

* [react-select] update snapshots with new default from features added since 1.0.0-rc5
2018-01-17 10:14:12 +01:00
Nathan Reese 1712ba436a
[HOME] APM tutorial manifest (#16038)
* APM tutorial manifest

* add APM card to home page

* remove toogle when onPremElasticCloud instructions are not provided

* add rails instructions

* add rack and js instructions

* do not show tutorials without elastic cloud instructions when isCloudEnabled

* server download instructions

* add flask agent, fix agent links

* clean up APM intro

* add artifacts
2018-01-16 22:28:43 -07:00
Spencer 465bf631b8
[yarn] upgrade makelogs (#16082) 2018-01-16 17:36:56 -07:00
Tim Sullivan d856cc0cd2
replace kibana.svg with minified (#16081) 2018-01-16 17:22:04 -07:00
dave.snider@gmail.com 3cd54728fe
EUI 0.0.13: open sans font, along with disc bar alignment fix (#16053)
Updates Kibana to EUI version 0.0.13
2018-01-16 14:57:57 -08:00
Nathan Reese 16f7ff59c7
sort tutorials by name (#16074) 2018-01-16 13:55:21 -07:00
Thomas Neirynck 073f375367
Add topojson support / EMS v3 support (#15361)
This adds support for the v3 endpoint of the Elastic Maps Service. This includes support for Topojson files.
2018-01-16 15:30:52 -05:00
Tudor Golubenco 868d5422ab
Add more Beats tutorials to Kibana Home (#16054)
This adds a few more Kibana Home tutorials:

* Redis logs
* Redis metrics
* Docker metrics
* Kubernetes metrics

The instructions follow the logic and share the text with the existing modules.
2018-01-16 11:49:18 -08:00
Nathan Reese 0c907baf01
Add "use time filter" option to input controls (#15852)
* add useTimeFilter parameter to Controls visualization

* fix broken jest test

* add functional tests for useTimeFilter

* remove wrong comment

* use _.clone and _.isEqual for time comparision

* do not track time changes in vis_controller - use status.time instead
2018-01-16 12:35:17 -07:00
Nathan Reese abd70b22bd
fix data table styling (#16031)
* fix data table styling

* remove styling from pagination buttons, fix styling on kbn-table headers
2018-01-16 12:34:50 -07:00
Yuri Astrakhan 80a7340872
cleanup dispose, bump VegaLite dep (#16066) 2018-01-16 13:49:09 -05:00
Tim Roes 2116eecb8a
Listen to resize events in <visualize> (#16048)
* Add enable method to ResizeChecker

* Listen in visualize for resize events

* Listen on resize event

* Fix rendering timing issue
2018-01-16 19:47:35 +01:00
Chris Roberson bc3f36095f
[Management] Index pattern step in React! (#15936)
* Index pattern step in React!

* Remove dead lines

* Ensure this only shows up when applicable

* PR feedback

* Use pager

* Add tests for lib/

* PR feedback

* Tests and PR feedback

* More tests and PR feedback

* New jest functionality
2018-01-16 11:08:40 -05:00
Chris Cowan a169ac1093
Fixes bug with filter ratio (#16052) 2018-01-16 08:01:15 -07:00
Tim Roes a7273ee559
Add missing discover labels (#16030)
* Add missing discover labels

* Add aria-pressed for column toggle
2018-01-16 09:35:49 +01:00
Kim Joar Bekkelund 039e24f56f
Upgrade to Jest 22.0.6 (#16041) 2018-01-16 09:26:34 +01:00
Tyler Smalley 41d905309b
[optimizer] More aggressive chunking of common/vendor code (#15907)
Previously, we were not aggressive in combining common code which resulted in duplicates included in the bundles.

As an example `node_modules/elasticsearch-browser/elasticsearch.angular.js` is present in the following chunks:

* kibana.bundle.js
* dashboardViewer.bundle.js
* apm.bundle.js
* monitoring.bundle.js
* ml.bundle.js
* timelion.bundle.js
* graph.bundle.js

Vendored code (anything inside node_modules) is placed in vendors.bundle.js while everything else with more than two references is placed in commons.bundle.js.

This has a couple positive side-effects (numbers are with x-pack & canvas):

* Decreased build time. Seeing builds go from 475.76 seconds to 274.72.
* Decreased memory overhead. Uses roughly 1/3 the memory overhead.
* Decreased bundle size. A 68% reduction in overall bundle size. Going from 66.16 MB to 21.13 MB.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-01-15 08:15:28 -08:00
Kim Joar Bekkelund cae1a82140
Skip flaky CLI manager test (#16045) 2018-01-15 14:35:11 +01:00
Tim Roes 001534fcb6
Stabilize and fix visualization rendering (#15972)
* Check on uiState directly instead of broken appState check

* Remove uiState listener in visLib

This isn't needed anymore, since the encapsulating visualization or
visualize will take care of listening on uiState changes and causing a
rerender.

* Properly check for changes in visualization

* Only listen on resize events in visualization

Since we don't need to fetch new data, when a visualization is resized
we got rid of the resize listener in visualize and just use (and fix)
one in visualization

* Resize check the actual graph element (without legend)

* Remove unused parameter

* Mount editor template before compiling

* Share the observer to prevent multiple scope listeners

* Properly wait for legend to render

* Listen on visualization element again

* Remove redundant listener
2018-01-15 10:18:38 +01:00
Tim Roes c11bb351d5
Fix some styling issues (#16023)
* Fix border of vis view

* Fix pagination looks

* Fix functional tests
2018-01-15 10:13:49 +01:00
Yuri Astrakhan 1b70e7400a
Migrating vega_vis from plugin (#15014)
Large PR to migrate Vega plugin into the core.
https://github.com/nyurik/kibana-vega-vis

The code underwent a large number of changes and
reviews discussed in the PR thread:
https://github.com/elastic/kibana/pull/15014
2018-01-13 15:14:04 -05:00
dave.snider@gmail.com c5001b1f55
Homepage / index pattern design cleanup (#16005)
Rebuilds most of the homepage using EUI components. Adjusts styles to be closer to mocks.
2018-01-12 15:59:54 -08:00
Lukas Olson e6b65fc4c6
Add advanced setting to control quick ranges (#15975)
* Add advanced setting to control quick ranges

* Fix test

* Add docs for quick ranges

* Remove comment
2018-01-12 14:11:42 -07:00
Nathan Reese 6511fc264f
[home] display tutorial artifacts (#16000)
* display launch dashboard button at end of add data instructions

* add 'View exported fields' button

* view exported fields open in new tab

* use Writer to avoid modifing global Mustache object
2018-01-12 11:18:23 -07:00
Spencer 4b92c7481c
[docs/logging] document useUTC flag (#16018) 2018-01-12 10:39:24 -07:00
Peter Pisljar e65ccfa5c7
check if data hash changed instead of stringifying (#15988) 2018-01-12 17:42:28 +01:00
Court Ewing 61c7f21111
Remove angular-translate (#13066)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-12 09:13:42 -05:00
Peter Pisljar 7431ec1538
fixing boolean filters (#15927) 2018-01-12 15:00:58 +01:00
Peter Pisljar 96bedef1fa
fixing log scale error (#15984) 2018-01-12 13:26:40 +01:00
Nathan Reese 9ccc963370
[home] Add target=_blank to all markdown links (#15995)
* Add target=_blank to all markdown links

* add rel property

* fix jest test
2018-01-11 15:14:30 -07:00
spalger 5d49d52328 [functional/context] disable flaky test 2018-01-11 13:46:42 -07:00
Nathan Reese 4d331227c1
fix alignment of step headers and step content (#15994) 2018-01-11 13:13:19 -07:00
Chris Cowan aa589c800f
Create check for scaledDataFormat and dateFormat in xaxisFormatter (#15997) 2018-01-11 12:09:05 -07:00
Tim Roes 4be8b1ca16
Use euiCallOut for experimental banner (#15989) 2018-01-11 17:36:54 +01:00
Brandon Kobel 738c5e7f85
Functional tests comparePngs write resized images to the session directory (#15976) 2018-01-11 07:59:41 -05:00
Kim Joar Bekkelund 07a67916c4
Updates for kibana-extra folder (#15471)
* Update docs to handle kibana-extra

* Add info about plugin directory structure to docs
2018-01-11 09:17:04 +01:00
Jonathan Budzenski 4a06fd9e0d
Add debug script to set inspect flags (#15967)
* Add debug script to set inspect flags

* remove no-base-path flag
2018-01-10 17:12:20 -06:00
Spencer edaaadb790
[ftr/integration/withEsArchiver] assert exit code is 0 (#15867) 2018-01-10 15:41:52 -07:00
Brandon Kobel 1cfabfb317
Adding a fetch polyfill (#15968)
* Adding a `fetch` polyfill

* "globally" shimming the whatwg-fetch
2018-01-10 14:26:02 -05:00
Kim Joar Bekkelund 97df0b64d8
Download Yarn on CI (#15966) 2018-01-10 19:30:53 +01:00
Nathan Reese 2570eeb639
fix broken depenencies (#15960) 2018-01-10 08:46:45 -07:00