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

[ML] Transforms: Fixed custom KibanaContext deprecation. #59410

Merged

Conversation

walterra
Copy link
Contributor

@walterra walterra commented Mar 5, 2020

Summary

Fixed version of reverted PR #59133.

The code overall is the same as #59133, this just gets rid of some problematic jest snapshots and migrates the tests from enzyme to react-testing-library. So the only part that needs to be reviewed is in this commit: e5fea46

Checklist

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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

Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

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

LGTM, checked e5fea46

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@walterra walterra merged commit ce9e887 into elastic:master Mar 5, 2020
@walterra walterra deleted the ml-transform-kibana-context-cleanup-2 branch March 5, 2020 13:52
walterra added a commit that referenced this pull request Mar 6, 2020
…9421)

- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants