-
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
Update to new version of EMS #26511
Update to new version of EMS #26511
Conversation
Pinging @elastic/kibana-gis |
💔 Build Failed |
💔 Build Failed |
f560f12
to
480c887
Compare
💚 Build Succeeded |
💔 Build Failed |
@nickpeihl this needs work still (failing tests/some broken UI), but this might already be useful for a first look. I extracted the ems-client to https://github.com/elastic/kibana/pull/26511/files#diff-600060cb1ee51e89577bdadc0d6014f5 for v6.6. We can use that module in the GIS app too, both server-side and on the client. I backfilled serviceSettings (the old EMS-code) so it continues to work (or at least, the test-suite continues to pass). I'll be looking at UI/loose ends next. |
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.
So far it looks good. Just a few things I've noticed.
Also the Preview EMS Hotlink
link bad, but I can't figure out where that happens.
} | ||
|
||
getHTMLAttribution() { | ||
return this._emsClient.sanitizeMarkdown(this._config.attribution); |
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.
There are slight differences in the TMS and Vector file attributions which causes duplicate attributions in the maps. This must be addressed in the upstream tile service rather than in kibana. But I thought I would point it out.
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.
thx, yeah, we can look at this. we still need to remove dupes client-side, I'll work on that...
💔 Build Failed |
💔 Build Failed |
This reverts commit ef85651.
💔 Build Failed |
@nickpeihl I believe I addressed all outstanding issues.
|
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
💚 Build Succeeded |
Backports: |
This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client. This backport required manual edits due to differences in the schema.js diff.
This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client. This backport required manual edits due to differences in the schema.js diff.
* Update to new version of EMS (#26511) This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client. This backport required manual edits due to differences in the schema.js diff. * [GIS] Add Maps Plugin (#24804) This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (#19582). This is added as a new Stack Feature, requiring a basic license.
DO NOT MERGE.
Closes #26290.
Needs double check
Summary
This PR needs to upgrade the EMS client code to match the new upcoming version. It also needs to make the code more reusable, so it can be used in the upcoming GIS-app plugin.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Any text added follows EUI's writing guidelines, uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)Documentation was added for features that require explanation or tutorialsFor maintainers