-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expression typings: Canvas to OSS #37438
Expression typings: Canvas to OSS #37438
Conversation
@clintandrewhall @ppisljar @chrisdavies Sorry fellas, I did something strange in my merge on the original PR so had to open this new one. Nothing has changed so far other than a few updates to address the feedback from Clint. Feel free to chime in with anything else that's missing. We have both been looking at Clint's testing branch #37300 and trying to sort out the CI issues there... seems to have to do with failed module imports and (hopefully) nothing to do with the implementation itself. |
Pinging @elastic/kibana-canvas |
Pinging @elastic/kibana-app-arch |
💚 Build Succeeded |
As of now, switching the imports to |
I updated the PR so imports could be done from the top-level ( However, it seems that the build fails still when trying to resolve webpack I'm optimistic this will fix the CI failures on #37300, but it is something we should come back to fix in a subsequent PR so that webpack aliases can work properly within x-pack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this works in #37300, I can approve this on behalf of :Canvas
. Great working with you on this!
}, | ||
help: i18n.translate('interpreter.functions.esaggs.help', { defaultMessage: 'Run AggConfig aggregation' }), | ||
help: i18n.translate('interpreter.functions.esaggs.help', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to take a look at how we're enforcing i18n
in Canvas... because if you use the same methodology, we can move those types to OSS as well, (in a future PR).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Will check it out
I'll go ahead and merge so that we can get #37300 in. There are a few follow-up items we'll need to address in subsequent PRs:
|
💔 Build Failed |
Note: This PR replaces #36960, which I had to close after a botched merge. 🙄
Summary
Moves the Canvas Expression Function types that Clint worked on over to OSS so they can be exported from the interpreter for use by other plugins.
Usage / Testing