Commit graph

16547 commits

Author SHA1 Message Date
Tyler Smalley
632ff76088
Bump version to 6.3 (#16163)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-01-22 13:07:05 -08:00
Nathan Reese
ed05b80b14
Timepicker - add 'recently selected' range option (#15868) (#16204)
* store time filter history in localStorage

* allow selection of relative history

* use persisted log for storage

* display time history in quick list

* add recent timepicker panel

* set timehistory mode to recent

* add message to display when no time history exists yet

* migrate persisted_logs tests from mocha to jest

* reword text for no history

* better wording

* move logic from pretty-duration directive into its own file so logic can be shared by recent history view

* some small changes

* fix list styling

* make recent be a single column

* store quick times in history

* set default timezone for moment in pretty_duration tests
2018-01-22 11:41:28 -07:00
Nathan Reese
b89a0e43e5
add pinFilters option (#16106) (#16197) 2018-01-22 11:41:16 -07:00
Thomas Neirynck
dc65e700ae
Ensure SVG element styling rules are applied locally (#15906) (#16158)
This restricts the SVG styling rules only the visualize-component.
2018-01-22 12:15:02 -05:00
Tim Roes
8523e681da
Use textContent and jQuery to set label and title (#16178) (#16198)
* Use textContent to set tagcloud label

* Use jquery to set disabled vis title
2018-01-22 17:23:23 +01:00
Thomas Neirynck
a089dc13fc
configure Kibana with production endpoint for EMSv3 (#16108) (#16143) 2018-01-22 08:50:18 -05:00
Tim Roes
b979dd15f6
Reorder options in metrics editor (#16093) (#16186) 2018-01-22 10:14:44 +01:00
lcawley
6b542fd717 [DOCS] Updated versions file used 2018-01-19 13:26:20 -08:00
Nathan Reese
b680988401
add timefilter to controls search source instead of inheriting from root search source (#16159) (#16166) 2018-01-19 13:00:15 -07:00
Nathan Reese
fa2108b462
[6.x] Tutorial copy (#16135) (#16164)
* Tutorial copy (#16135)

* update short descriptions

* apache log updates

* apache metrics and and APM updates

* docker, mysql, and kubernetes updates

* netflow updates

* all of the rest

* remove From the installation directory, fix type Logstash modules => This modules

* add APM dashboard screenshot

* fix typo and download URL

* Adding "collects" to align with standard Netflow terminology of a collector
2018-01-19 12:59:58 -07:00
Brandon Kobel
20b879a25b
Updating datemath to 4.0.2, fixing bug with IE11 (#16167) (#16169) 2018-01-19 14:19:49 -05:00
Nathan Reese
bba5e76518
play button overlaps search box (#16146) (#16157) 2018-01-19 09:19:57 -07:00
Nathan Reese
9652db16ba
sort options list (#16145) (#16156) 2018-01-19 09:19:42 -07:00
Nathan Reese
0d494550b1
Prevent blue lines in react-select when focused (#16141) (#16155) 2018-01-19 09:19:28 -07:00
Chris Roberson
1f29f696cf
[Management] Allow wildcard anywhere in the search query (#16109) (#16154)
* Allow wildcard anywhere in the search query

* PR feedback for tests

* Update tests

* Throw exception when missing required parameter
2018-01-19 10:07:58 -05:00
Kim Joar Bekkelund
9c38fae1e2
Upgrade license checker (#16147) (#16149) 2018-01-19 09:46:46 +01:00
dave.snider@gmail.com
bbcbf31207
lowercase apm logo (#16140) (#16144)
apm logo needed to be all lowercase
2018-01-18 14:34:33 -08:00
Lukas Olson
cf22ec69dc Fix home link (#16128) 2018-01-18 15:14:22 -07:00
Yuri Astrakhan
082fb78215
Bumped Vega dependency 2.0.8->2.0.9 (#16133) (#16142) 2018-01-18 17:06:12 -05:00
Kim Joar Bekkelund
9b3524d5a7
Licenses csv overrides (#16136) (#16138)
* Actually override licenses when writing csv

* Cleaner overrides

* Remove all the unnecessary overrides
2018-01-18 22:42:44 +01:00
Kim Joar Bekkelund
4da5d6f7fe
Fail test if it 'console.error's (#16116) (#16131)
* Fail test if it 'console.error's

* oneOf -> oneOfType

* Fix react-color console.error
2018-01-18 22:42:32 +01:00
Kim Joar Bekkelund
c149f5e4ea
PropTypes -> propTypes (#16112) (#16115) 2018-01-18 18:07:51 +01:00
Nathan Reese
ce2927f071
check if field exists (#16102) (#16126) 2018-01-18 09:16:13 -07:00
CJ Cenizal
da1f6f10a3
Fix disappearing caret in time field select of Create Index Pattern wizard. (#16113) (#16114) 2018-01-17 16:40:13 -08:00
Nathan Reese
660921450e
[home] Apm tutorial cleanup (#16100) (#16104)
* 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 10:30:13 -07:00
Brandon Kobel
093743e236
Visualization specific timeranges (#15998) (#16105)
* 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:54:11 -05:00
Brandon Kobel
618f4e1474
Upgrading the datemath.parse syntax to version 4.0 (#15999) (#16094)
* 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 10:38:53 -05:00
Kim Joar Bekkelund
77c4f107bf
Upgrade react deps (#16025) (#16090)
* [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 11:13:26 +01:00
Spencer
cea56cca55 [yarn] upgrade makelogs (#16082) (#16086) 2018-01-17 10:41:58 +01:00
Nathan Reese
2b9b600477
[HOME] APM tutorial manifest (#16038) (#16088)
* 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 23:27:47 -07:00
dave.snider@gmail.com
a76f598d18
EUI 0.0.13: open sans font, along with disc bar alignment fix (#16053) (#16087)
Updates Kibana to EUI version 0.0.13
2018-01-16 20:03:03 -08:00
Tim Sullivan
a2f28ccf8f
replace kibana.svg with minified (#16081) (#16084) 2018-01-16 20:00:10 -07:00
Tudor Golubenco
fdbcaa4559 Add more Beats tutorials to Kibana Home (#16054) (#16075)
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 19:41:00 -07:00
Nathan Reese
923db442e2
sort tutorials by name (#16074) (#16078) 2018-01-16 18:40:39 -07:00
Thomas Neirynck
5737f078ba
Add topojson support / EMS v3 support (#15361) (#16076)
This adds support for the v3 endpoint of the Elastic Maps Service. This includes support for Topojson files.
2018-01-16 17:56:18 -05:00
Nathan Reese
dc9e8def07
Add "use time filter" option to input controls (#15852) (#16071)
* 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 13:55:03 -07:00
Nathan Reese
d3bc3af39b
fix data table styling (#16031) (#16070)
* fix data table styling

* remove styling from pagination buttons, fix styling on kbn-table headers
2018-01-16 13:54:16 -07:00
Yuri Astrakhan
4831cbac37
cleanup dispose, bump VegaLite dep (#16066) (#16068) 2018-01-16 14:49:15 -05:00
Tim Roes
bb5d3ecb0e
Listen to resize events in <visualize> (#16048) (#16067)
* Add enable method to ResizeChecker

* Listen in visualize for resize events

* Listen on resize event

* Fix rendering timing issue
2018-01-16 20:37:30 +01:00
Brandon Kobel
27e5c90855
Functional tests comparePngs write resized images to the session directory (#15976) (#15991) 2018-01-16 13:21:16 -05:00
Chris Roberson
0b36c0a747
[Management] Index pattern step in React! (#15936) (#16063)
* 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 13:17:02 -05:00
jimgoodwin
a8198cc3a0 Merge branch '6.x' of github.com:elastic/kibana into 6.x 2018-01-16 11:59:34 -05:00
Chris Cowan
3baed0ee59 Fixes bug with filter ratio (#16052) 2018-01-16 08:01:58 -07:00
Tim Roes
385ebe49d7
Add missing discover labels (#16030) (#16058)
* Add missing discover labels

* Add aria-pressed for column toggle
2018-01-16 11:18:07 +01:00
Kim Joar Bekkelund
139ecb3a43
Upgrade to Jest 22.0.6 (#16041) (#16057) 2018-01-16 10:36:08 +01:00
jimgoodwin
22999fa883 Release notes 6.1.2 2018-01-15 19:24:55 -05:00
Tyler Smalley
1a79309a2e
[optimizer] More aggressive chunking of common/vendor code (#15907) (#16051)
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 12:38:19 -08:00
Tim Roes
dd3a340abf
Stabilize and fix visualization rendering (#15972) (#16044)
* 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 12:45:21 +01:00
Tim Roes
9bd8f534c1
Fix some styling issues (#16023) (#16043)
* Fix border of vis view

* Fix pagination looks

* Fix functional tests
2018-01-15 11:04:18 +01:00
Yuri Astrakhan
e9ff24872f
Migrating vega_vis from plugin (#15014) (#16035)
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 16:26:07 -05:00