-
Notifications
You must be signed in to change notification settings - Fork 64
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
Compatibility with 7.15 #236
Conversation
Sync master with latest changes
Sync with upstream
Hi @cpiment, Thanks again for your devotion! As you notice, I change "build" task. That said, you can still build the package using standard Kibana tool, using this task: So to resume: |
I just did a complete test session and everything works well! I also tried the same package for Kibana 7.16, but unfortunately, it doesn't work. So I will create a new 1.12.2 release with Kibana 7.15 support. Thanks again for your great work! |
Thanks @fbaligand! I think that 7.16 is going to be tricky since they have removed the legacy data table plugin in this version from the Kibana codebase... I'll give it a try when I have some time :) |
Ouch… As you say, it can be really tricky… |
Concerning Kibana 7.16 support, I think that the best way is to copy/paste "AngularJS integration code" from Kibana 7.15 branch to Enhanced Table code. |
Hi @fbaligand I have had some time to review this. I have seen that all 7.16 versions have this PR merged: I think that means that the Angular dependency is removed from the project, so I think it should be included in the package.json of your plugin, is that right? What do you think? |
Well, if it is necessary, yes. |
Partially solves #197
I have successfully built the plugin and deployed it in a Kibana 7.15.2 instance. I have noticed that you have rolled back the "build" task of
package.json
to use../../node_modules/.bin/plugin-helpers
. That script doesn't exist in my environment so I have used../../scripts/plugins_helpers.js
to build the plugin. How can I do to use the same script as you to build so I don't have to modify thepackage.json
?Regarding the PR, it just changes the way that Angular is initialized inside the plugin. Kibana team has created a
loadAngularBootstrap()
function that has to be called fromvis_controller.ts
.I hope this helps! If I can do some tests to help you test the plugin please let me know.