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] Fix overall stats for saved search on the Data Visualizer page #57312

Merged
merged 2 commits into from
Feb 11, 2020

Conversation

darnautov
Copy link
Contributor

Summary

Fixes incorrect overall stats fetched and rendered for Saved Searches in Data Visualizer. The problem caused by useEffect hook not taking into account the asynchronous extracting of a search query from the saved search object.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@darnautov darnautov changed the title [ML] fix overall stats fetch with a saved search [ML] Fix overall stats for saved search on the Data Visualizer page Feb 11, 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

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

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

LGTM ⚡️

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@darnautov darnautov merged commit 733f602 into elastic:master Feb 11, 2020
@darnautov darnautov deleted the ML-fix-data-viz-saved-search branch February 11, 2020 16:04
darnautov added a commit to darnautov/kibana that referenced this pull request Feb 11, 2020
…lastic#57312)

* [ML] fix overall stats fetch with a saved search

* [ML] refactor
darnautov added a commit to darnautov/kibana that referenced this pull request Feb 11, 2020
…lastic#57312)

* [ML] fix overall stats fetch with a saved search

* [ML] refactor
darnautov added a commit that referenced this pull request Feb 11, 2020
…57312) (#57333)

* [ML] fix overall stats fetch with a saved search

* [ML] refactor
gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 11, 2020
* master: (27 commits)
  Include actions new platform plugin for codeowners (elastic#57252)
  [APM][docs] 7.6 documentation updates (elastic#57124)
  Expressions refactor (elastic#54342)
  [ML] New Platform server shim: update annotation routes to use new platform router  (elastic#57067)
  Remove injected ui app vars from Canvas (elastic#56190)
  update max_anomaly_score route schema to handle possible undefined values (elastic#57339)
  [Add panel flyout] Moving create new to the top of SavedObjectFinder (elastic#56428)
  Add mock of a legacy ui api to re-enable Canvas storybook (elastic#56673)
  [monitoring] Removes noisy event received log (elastic#57275)
  Remove use of copied MANAGEMENT_BREADCRUMBS and use `setBreadcrumbs` from management section's mount (elastic#57324)
  Advanced Settings management app to kibana platform plugin (elastic#56931)
  [ML] New Platform server shim: update recognize modules routes to use new platform router (elastic#57206)
  [ML] Fix overall stats for saved search on the Data Visualizer page (elastic#57312)
  [ML] [NP] Removing ui imports (elastic#56358)
  [SIEM] Fixes failing Cypress tests (elastic#57202)
  Create observability CODEOWNERS reference (elastic#57109)
  fix results service schema (elastic#57217)
  don't register a wrapper if browser side function exists. (elastic#57196)
  Ui Actions explorer example (elastic#57006)
  Fix update alert API to still work when AAD is out of sync (elastic#57039)
  ...
darnautov added a commit that referenced this pull request Feb 11, 2020
…57312) (#57362)

* [ML] fix overall stats fetch with a saved search

* [ML] refactor
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.

6 participants