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] Remove DragSelect event handlers and selectors on the swim lane unmount #72250

Merged

Conversation

darnautov
Copy link
Contributor

Summary

With the EUI upgrade, we assumed there is an issue with an input component. But it just happened by conjuncture with swim lane refactoring to support drag-select in embeddables. Thanks @chandlerprall for spotting the issue with DragSelect handlers' persistence. Presented fix teardowns DragSelect functionality on the swim lane component unmount and removes selector elements from DOM.

@darnautov darnautov added :ml v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v7.9.0 labels Jul 17, 2020
@darnautov darnautov requested a review from a team as a code owner July 17, 2020 10:52
@darnautov darnautov self-assigned this Jul 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@darnautov darnautov added the bug Fixes for quality problems that affect the customer experience label Jul 17, 2020
Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested and LGTM

Copy link
Contributor

@walterra walterra 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.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

page load bundle size

id value diff baseline
ml 4.3MB -25.0B 4.3MB

History

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

@darnautov darnautov merged commit 2ad4328 into elastic:master Jul 17, 2020
@darnautov darnautov deleted the ML-fix-swimlane-selector-persistence branch July 17, 2020 15:09
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 17, 2020
* master:
  [ML] Remove DragSelect event handlers and selectors on the swim lane unmount  (elastic#72250)
  Add a few asciidoc readmes (elastic#72082)
  re-enable tests. retry on fail (elastic#72061)
  updates advanced settings text (elastic#72249)
  [ML] Fix HTML named characters encoding (elastic#72060)
  Bump @elastic/elasticsearch to v7.9.0-rc1 (elastic#72231)
  Observability landing page title (elastic#72088)
  [QA][Code Coverage] Drop flaky integration tests (elastic#72089)
  [Ingest Manager] Fix failing test conflict error (elastic#72149)
  [Logs UI] Fix display of dataset values in anomaly and category example rows (elastic#71693)
  [SECURITY] Bug truncation on timeline (elastic#72221)
  skip flaky suite (elastic#72146)
darnautov added a commit to darnautov/kibana that referenced this pull request Jul 17, 2020
…unmount (elastic#72250)

* [ML] remove selector element on unmount

* [ML] stop handler on mount

* [ML] remove throttling
darnautov added a commit to darnautov/kibana that referenced this pull request Jul 17, 2020
…unmount (elastic#72250)

* [ML] remove selector element on unmount

* [ML] stop handler on mount

* [ML] remove throttling
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 17, 2020
…feature-privileges

* alerting/consumer-based-rbac:
  corrected consumer on enable operation
  [ML] Remove DragSelect event handlers and selectors on the swim lane unmount  (elastic#72250)
  Add a few asciidoc readmes (elastic#72082)
  re-enable tests. retry on fail (elastic#72061)
  updates advanced settings text (elastic#72249)
  [ML] Fix HTML named characters encoding (elastic#72060)
  Bump @elastic/elasticsearch to v7.9.0-rc1 (elastic#72231)
  Observability landing page title (elastic#72088)
  [QA][Code Coverage] Drop flaky integration tests (elastic#72089)
  [Ingest Manager] Fix failing test conflict error (elastic#72149)
  [Logs UI] Fix display of dataset values in anomaly and category example rows (elastic#71693)
  [SECURITY] Bug truncation on timeline (elastic#72221)
  skip flaky suite (elastic#72146)
darnautov added a commit that referenced this pull request Jul 17, 2020
…unmount (#72250) (#72296)

* [ML] remove selector element on unmount

* [ML] stop handler on mount

* [ML] remove throttling
darnautov added a commit that referenced this pull request Jul 17, 2020
…unmount (#72250) (#72294)

* [ML] remove selector element on unmount

* [ML] stop handler on mount

* [ML] remove throttling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience :ml release_note:skip Skip the PR/issue when compiling release notes v7.9.0 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants