Skip to content
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

Shim getFormat function correctly #60032

Merged
merged 9 commits into from
Mar 25, 2020

Conversation

flash1293
Copy link
Contributor

In a bunch of places in shimmed visualizations the getFormat function was used via legacy import. Since this has been migrated as a stateful API, this PR moves it into the shim by passing it through the plugin class.

This is preparing the visualizations to get moved to the new platform once the visualizations plugin is ready.

@flash1293 flash1293 mentioned this pull request Mar 13, 2020
69 tasks
@flash1293
Copy link
Contributor Author

@elasticmachine merge upstream

@flash1293 flash1293 marked this pull request as ready for review March 16, 2020 06:55
@flash1293 flash1293 requested a review from a team March 16, 2020 06:55
@flash1293 flash1293 added Feature:NP Migration Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 16, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293 flash1293 added release_note:skip Skip the PR/issue when compiling release notes v7.8.0 v8.0.0 labels Mar 23, 2020
@flash1293 flash1293 requested a review from kertal March 24, 2020 07:36
Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM 👍 , tested locally in Chrome, works as expected!

@@ -26,7 +26,7 @@ function tableResponseHandler(table, dimensions) {
if (split) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: I think we can further cleanup the discover part, since it doesn't use splitColumn, splitRow

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

however, doesn't need to be in this PR, just loud thinking :)

@flash1293
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@flash1293 flash1293 merged commit d170b37 into elastic:master Mar 25, 2020
@flash1293 flash1293 deleted the migrate-get-format branch March 25, 2020 15:16
flash1293 added a commit to flash1293/kibana that referenced this pull request Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants