* Adds dev dependency on opn for opening browsers and other things.
* Adds a --open option to cli to open browser window.
* Removes unused variable in index.
* Adds opn types to dev dependencies from definitely typed.
* Adds open to the cliArgs type to allow for consistency.
* Updates snapshots that require valid cliArgs types.
* Moves opn to direct dependency since its used in cli.
* [cli] move --open handling to cluster manager
* Adds support for running --open with --no-base-path
* Add sleeps so tests will pass
* removed a space in a comment
* replaced some sleeps with waiting for loading indicator
* Removed context page object calls from filter_bar and doc_table services
* 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
Started digging into an issue where compressing library didn't include empty
directories, which tar/zip should. After investigating the issue I feel it's
best to use a more established project.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Resolves a race condition where ES is technically up, but the Kibana
index is not.
Closes#25027
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* [ML] Restore missing job timepicker modal.
* [ML] Added a karma/mocha test to verify dependencies are loaded correctly for new_job_controller.
* [ML] Use consistent import style.
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.
* Refactor service colors
* Calculate duration from full waterfall
* Ensure timeline label is not truncated
* Adjust child if it starts after parent has ended
* Add mark for traceRootDuration instead of xMax
* Fix tests
* Move fieldsFetch logic into the vis editor
* Add annotations index pattern change detection
* Fix async update of state. Add functional test
* Add missing data archive
* Force fetch when component mount the first time
* Fix parameters naming
* Refactoring indexPatterns to fetch
* Add observables and pipe data updates to markdown panel config
* Fix jest test
* refact(NA): make canvas common lib ready for static analysis.
* refact(NA): change export named to export all on canvas commmon lib datatable.
* tes(NA): fix isValid http url function name.
* refact(NA): rename parse to parseDataUrl
* display error messages for failed checks vs disableing plugin
* update text
* change order of check
* tweak security check
* re-disable on invalid license, update text
* update text
* tweaks
* tweak text