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

[6.x] [ML] Deprecates the use of jQuery for rendering Anomaly Explorer Swimlanes (#23000) #23193

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

walterra
Copy link
Contributor

Backports the following commits to 6.x:

…lanes (elastic#23000)

- This refactor gets rid of jQuery as a requirement for the Anomaly Explorer Swimlanes. All the DOM manipulation previously done by jQuery is now done by d3.
- The primary aim here is to replace jQuery with d3. To avoid refactoring regressions, this PR sticks as much as possible to the original structure. Overall, this could be done in a more "d3"-way, but it's a good start.
- The resulting DOM is a bit different: The structure is exactly the same, just how we use certain data-attributes changed.
- Instead of using jQuery's data-feature for storing click event data, that data is now directly stored on DOM nodes. Again, this could be done in a more "d3"-way but would require quite some further refactoring.
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@walterra walterra merged commit 677f749 into elastic:6.x Sep 17, 2018
@walterra walterra self-assigned this Sep 17, 2018
@walterra walterra added :ml Feature:ml-results legacy - do not use labels Sep 17, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@walterra walterra deleted the backport/6.x/pr-23000 branch September 17, 2018 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants