-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Vega] Shim new platform - cleanup vega_visualization dependencies #53605
Conversation
80353f4
to
0c7ec96
Compare
0c7ec96
to
160806a
Compare
Pinging @elastic/kibana-app-arch (Team:AppArch) |
💚 Build SucceededTo update your PR or re-run it, just comment with: |
@elasticmachine merge upstream |
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.
Code LGTM
export const [getNotifications, setNotifications] = createGetterSetter<NotificationsStart>( | ||
'Notifications' | ||
); | ||
|
||
export const [getSavedObjects, setSavedObjects] = createGetterSetter<SavedObjectsStart>( | ||
'SavedObjects' |
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.
Maybe you could use createKibanaUtilsCore
from kibana_utils
here.
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.
I think I'd make an official best practice out of either option
src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js
Outdated
Show resolved
Hide resolved
💚 Build SucceededTo update your PR or re-run it, just comment with: |
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
src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js
Outdated
Show resolved
Hide resolved
💚 Build SucceededTo update your PR or re-run it, just comment with: |
…lastic#53605) * Cleanup Vega Vis * fix PR comments Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…le-saved-objects * 'master' of github.com:elastic/kibana: (250 commits) Allow chromeless applications to render via non-/app routes (elastic#51527) Add server rendering service to enable standalone route rendering (elastic#52161) Possibility to filter when testing scripted fields (elastic#35379) (elastic#44220) Update maps telemetry mappings to account for recent updates (elastic#53803) [Maps] Only show legend when layer is visible (elastic#53781) remove use of experimental fs.promises api (elastic#53346) [APM] Add log statements for flaky test (elastic#53775) [APM] Transaction page throws unhandled exception if transactions doesn't have `http.request` (elastic#53760) Licensing plugin functional tests (elastic#53580) [Lens] Disable saving visualization until there are no changes to the document (elastic#52982) [Monitoring] Added safeguard for some EUI components (elastic#53318) [Vega] Shim new platform - cleanup vega_visualization dependencies (elastic#53605) Display changed field formats without requiring hard page refresh. (elastic#53746) Upgrade EUI to v17.3.1 (elastic#53655) [APM] Fix missing apm indicies (elastic#53541) Disable inspector for timelion (elastic#53747) Clean up search servie (elastic#53701) [Dashboard] Grid: removing double handler (elastic#53707) Remove SavedObjectRegistryProvider from codebase (elastic#53455) Move ui/courier into data shim plugin (elastic#52359) ...
…lastic#53605) * Cleanup Vega Vis * fix PR comments Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Part of #38247
Summary
What was done in this PR:
vega_visualization.js
vega_request_handler.ts
ui/timefilter
dependencyservices.ts
file was created to pass Start dependencies intoVega
visualizationChecklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers