-
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
Shape data plugin into standard shim form #42238
Shape data plugin into standard shim form #42238
Conversation
Pinging @elastic/kibana-app-arch |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
Chnaged to relative imports
💔 Build Failed |
💔 Build Failed |
retest |
💔 Build Failed |
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.
Overall makes sense! Added a couple notes, all pretty minor.
In this PR, do you think you could also update the legacy / new platform chart in the migration guide to ensure it has the most accurate info based on these changes? The platform team has asked that we try to keep this up-to-date as it helps people understand where to find things.
src/legacy/core_plugins/metrics/public/components/vis_types/metric/series.test.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/metrics/public/components/vis_types/gauge/series.test.tsx
Outdated
Show resolved
Hide resolved
💚 Build Succeeded |
💚 Build Succeeded |
@lukeelmers docs updated #42338 |
💚 Build Succeeded |
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.
TSVB changes looks good to me. Thanks
💚 Build Succeeded |
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! And thanks for opening #42338!
💔 Build Failed |
Summary
Shape data plugin into standard shim form.
MIGRATION.md updated to match these changes. #42338
Dev Docs
New plugin shape
data/public/index.ts
- export types & static codedata/public/plugin.ts
- defines the plugin servicesdata/public/legacy.ts
- import any legacy dependencies we have, and shim them into our plugindata/public/setup.ts
- compatibility with 7.3 docsdata/public/shim/legacy_dependencies_plugin
data/public/shim/legacy_module
Loading plugin instance
Loading legacy directives
Moved all remaining angular directives (from the filter service, others were already deleted) into the
shim
folder.Loading react components
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers