-
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
[Maps] Update remaining client dependencies to NP #63297
[Maps] Update remaining client dependencies to NP #63297
Conversation
…ng-client-dependencies
…ng-client-dependencies
…ng-client-dependencies
…ng-client-dependencies
Pinging @elastic/kibana-gis (Team:Geo) |
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.
lgtm
code review
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! One suggestion to remove unused (if I got that right) code.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Routes dependencies updated (except for routes itself) * Replace all chrome deps except map controller * Replace npSetup and npStart with normal plugin init logic. Some clean up * Bind kibana services in map controller * Use kibana services in map controller * Convert remaining deps that aren't critical to legacy operation * Remove last angular bindings to gis map saved object loader * Consolidate kibana services in NP * Some fixes. Remove console logs * Fix type errors * Fix jest test path refs * Accomodate legacy 'hacks' and init services for vis type alias * Review feedback. Remove/update unused declarations * getFileUpload actually just needed Component tacked on the end * Handle visibility of toolbars for full screen mode using new core chrome. Should fix test * Import source types in getInitialLayers to ensure registry
This PR removes all remaining Maps legacy client dependencies with the following exceptions:
map_controller
In addition to legacy dependency replacement, this PR sets up the Maps client for migration (w/ the exception of routing) over to NP. The following changes/updates were made:
'gisMapSavedObjectLoader'
is deangularized and is now the functiongetMapsSavedObjectLoader
that returns an NP saved object loader (required for embeddables)kibana_services
to support plugin operations