Commit graph

14 commits

Author SHA1 Message Date
Joe Fleming c6d9781b37
Feat: Cast datatable to pointseries (#28872) (#28959)
* feat: allow casting datatable to pointseries

* fix: use correct column type for pointseries

columns are an object, not an array
2019-01-17 15:16:53 -07:00
Peter Pisljar 66632e228e
moving state out of kbn-interpreter (#27317) (#28897)
# Conflicts:
#	packages/kbn-interpreter/src/public/index.js
#	packages/kbn-interpreter/src/public/interpreter.js
#	packages/kbn-interpreter/src/server/server_registries.js
#	src/legacy/core_plugins/interpreter/public/functions_registry.js
#	src/ui/public/visualize/loader/pipeline_helpers/run_pipeline.ts
#	x-pack/plugins/canvas/public/components/app/index.js
2019-01-17 11:04:05 +01:00
Joe Fleming 7f16e36956
Fix: Interpreter plugin dir loading (#27638) (#28125)
* chore: refactor directory filtering

* fix: filter out directories

the intention was to only load files at the root anyway, not direcories
2019-01-04 17:26:08 -07:00
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
Larry Gregory b786f08781
[6.x] Prevents dynamic import/require statements (#27515) (#27701)
Backports the following commits to 6.x:
 - Prevents dynamic import/require statements  (#27515)
2018-12-21 12:00:00 -05:00
Catherine Liu 39aca6ffd2
[6.x] Feat: Workpad Templates (#23966) (#26980)
* Feat: Workpad Templates (#23966)

* Added workpad manager which contains workpad_loader and workpad_templates

* Fixed term filter in workpad_templates

* design changes

* Removed console logs

Closes workpad manager modal after cloning template

Fixed filtering workpad templates

Removed console log

Added sample templates

Added more templates to test with

Removed cloneDeep

* case insensitive template search

* Case insensitive tag order in popover

* added descriptions and tags to sample data workpads

* refine list of initial templates

* remove sample data templates, make buttons bigger

* Added template and tag registries

* Fixed workpad loader resizing issue on home page

* Moved tags to ui folder

* Fixed template class

* Fixed properties in templates to match workpad

* fix lint errors (#26985)
2018-12-11 16:12:32 -07:00
Peter Pisljar 9ee2172ebc
fixing interpreter socket error (#26870) (#26939) 2018-12-11 08:02:06 +01: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
Peter Pisljar cdc5825838
back to canvas way of loading plugins (#26463) (#26676) 2018-12-05 07:31:55 +01:00
Peter Pisljar 24be3c6211
kbn-interpreter package should not import from ui (#26161) (#26320) 2018-11-28 07:37:20 +01: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