Commit graph

6 commits

Author SHA1 Message Date
Joe Fleming
f07987e663
[interpreter/loadPlugins] avoid deleting globals added by plugins (#27171) (#27851)
Plugins loaded by the `@kbn/interpreter` can sometimes setup global values while loading, like the regeneratorRuntime for instance, but the current plugin loading code is deleting every global that was added during plugin load. This changes the logic to only cleanup the `canvas` global after loading the canvas plugins.

resolves https://github.com/elastic/kibana/issues/27162
2018-12-28 15:23:35 -07:00
Tiago Costa
42102bad0e
[6.x] Create vendor dll for the client modules (#22618) (#26707)
* chore(NA): merge and solve conflicts with 6.x when backporting.

* chore(NA): updated kbn pm file.
2018-12-05 19:48:33 +00:00
Spencer
e618cf43da
[6.x] [@kbn/interpreter] improve build/packaging (#26096) (#26136)
* [@kbn/interpreter] improve build/packaging (#26096)

Summary of changes:

 - move all build artifacts under `target` directory
 - run babel and webpack in parallel
 - support optional watch and sourcemaps in build
 - expose /common /public /plugin /server sub-exports as index.js
 - avoid importing deeply from `@kbn/interpreter`
 - move a couple missed dependencies from x-pack to kibana
 - remove custom babel-register implementation

* fix bad conflict resolution
2018-11-24 12:26:07 -07:00
Peter Pisljar
40f0b8fdf7
Ref/canvas interpreter2 oss take5 (#26068) (#26107) 2018-11-23 10:20:23 +01:00
Joe Fleming
26fc0a9fb4
[6.x] Test: canvas functional smoke test (#25262) (#26047)
* chore: revert #25921 / d76c0ae

* Test: canvas functional smoke test (#25262)

~~Blocked by https://github.com/elastic/kibana/issues/23046 (pending https://github.com/elastic/kibana/pull/25828)~~ merged

Adds functional smoke tests for Canvas. 

- Loads and checks the list of workpads
- Loads the first workpad and checks that elements render

This is the simple workpad it's testing

![screenshot 2018-11-19 12 37 07](https://user-images.githubusercontent.com/404731/48730518-da7ee980-ebf7-11e8-9abb-cf294079bb5f.png)

* test: add ci group tags

backport of #26046

* chore: shot in the dark beforeAll fix

* chore: add some debug logging

in the beforeAll hook, to see where it's getting stuck

* [canvas/archive] remove _1 from .kibana archives to avoid lockup
2018-11-21 20:46:44 -07:00
Peter Pisljar
d76c0aeb11
[6.x] move canvas interpreter to OSS (#25711) (#25921) 2018-11-20 20:17:17 +01:00