* fix: switch to new CustomEvent
new Event is not supported in IE11
* fix: skip element.scrollTo when not available
that method doesn't exist on elements in IE11
* Create common routines for PDF and PNG report processing
* REmove Blacklisted headers not needed
* Changes for issues with PDF and PNG testing
As per Joel Griffith suggestion I added removal of toast notifications after each click download report. And removed setting of image density to 300.
* removed uneccesary image compare routine
* Moved server from property on job to passed in parameter.
* consolidated PDF and PNG testing
Moved test code from PDF and PNG index.test.js into a common index.test.js that now tests the common functions.
* Typescripted the common functions and broke out tests to individual test files
* Create a common create mock server function that all new tests call
* Removed unnecessary exception check and removed test include from index.ts
* Adds icon and tooltip for dropped spans
* Adds callout and style in transaction flyout instead of timeline for dropped spans message
* Review tweaks and linting fixes
Fixes https://github.com/elastic/kibana/issues/23552
Extends the webpack config used to pre-build `x-pack/plugins/canvas/canvas_plugins_src` so that it does a couple things:
- use the "browser" and "main" fields when defined by packages, this allows the already transpiled output of packages like `@elastic/eui` to be used rather than rebuilding from source
- use the `@kbn/babel-preset/webpack_preset` for babel-loader
- include all errors in the log output when an error occurs
* chore(19834): upgraded yargs dependency to 4.8.1 in order to remove pkg-conf dependency license conflict.
* chore(19834): override xmldom to one of the allowed licenses (MIT).
* chore(19834): added some overrides and whitelistenig for Apache2.
* chore(19834): correct overides for some apache2 licenses.
* chore(NA): updated specific dependency needs.
* chore(19834): added some more info on updated licenses.
* chore(19834): small note on dependencies use versions.
* feat(NA): add the ability to white list licenses only valid for dev only dependencies.
* chore(NA): update yarn lock files to include integrity check.
* fix(NA): yarn lock file for kbn ui framework.
* docs(NA): fix uncompleted comment left on the code.
* Fix gap in timeline
* Show fallback when traceroot is unavailable
* Fix test
* Fix rendering issues with styled-components
* Remove `parentTransactionSkew `
* Minor test fixes
* [APM] Fix Rison issues
* Fix CI
* Removed abstractions (and broke tests)
* Slight rework and small bugfix for query param handling
* Removed typo used for visibility testing oops
* Removes unused dep because linting doesnt work apparently
* fix: proptype error
* fix: correct proptype checking
* fix: add assets placeholder to initial state
* chore: add history formatting function
* fix: load workpad assets when ids change
this causes the correct assets to be used
Current regexp was disallowing schema part of the URL (https://), so
https hosts couldn't be configured.
I opted for fully relaxing the reg exp here, as Beat will check it
anyway, and report errors in case it's wrong.
* Allow for config based override of default user role
* [beats-cm] convert xpack.beats.defaultUserRole to array of roles
* [beats-cm] keep this context in #checkLicense
Closes https://github.com/elastic/kibana/issues/25154
Canvas' threading code uses babel-register for the runtime, much like Kibana does, so we can execute code that uses newer syntax (mostly es modules at this point...). The default configuration of babel-register ignores `node_modules`, and since x-pack is built into `node_modules`, this worked fine in dev mode and not at all in the build.
There was also an issue where Kibana's build step removes all bablerc files, which meant Canvas' threaded runtime also wasn't getting any of the settings.
This PR pulls in the configuration from Kibana, which has an exception for transpiling x-pack code, and allows the runtime to operate correctly in the build.
Huge thanks to @jbudz for helping me sort out the issue!
@spalger ~~know more about babel than I do, if we can just use `@kbn/babel-preset/node_preset` directly instead, that seems less likely to break going forward. I meant to try it but ran out of time yesterday to make another build.~~ Works! PR updated.