* 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
* 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
* 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
* [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
* 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
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.
* 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
* 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
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>
* 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
* 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