Skip to content

Comments

[ML] Fix reloading anomaly charts on resize.#22967

Merged
walterra merged 1 commit intoelastic:masterfrom
walterra:ml-fix-anomaly-charts-update-on-resize
Sep 13, 2018
Merged

[ML] Fix reloading anomaly charts on resize.#22967
walterra merged 1 commit intoelastic:masterfrom
walterra:ml-fix-anomaly-charts-update-on-resize

Conversation

@walterra
Copy link
Contributor

@walterra walterra commented Sep 12, 2018

Fixes a regression introduced in #22814. Because of the stricter checking for scope/props updates, resizing the browser window would miss updating the Anomaly Explorer Charts widths. This fixes it by adding a check to trigger anomalyDataChange in redrawOnResize().

Additionally, if only one chart is up for display, this update makes sure a single chart always spans across the full available width.

Before:

image

After:

image


Part of #18553.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

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.

LGTM

@elasticmachine
Copy link
Contributor

💔 Build Failed

@walterra
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@walterra
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@walterra walterra merged commit ff2c377 into elastic:master Sep 13, 2018
@walterra walterra deleted the ml-fix-anomaly-charts-update-on-resize branch September 13, 2018 13:53
walterra added a commit to walterra/kibana that referenced this pull request Sep 13, 2018
- Fixes a regression introduced in elastic#22814. Because of the stricter checking for scope/props updates, resizing the browser window would miss updating the Anomaly Explorer Charts widths. This fixes it by adding a check to trigger anomalyDataChange in redrawOnResize().
- Additionally, if only one chart is up for display, this update makes sure a single chart always spans across the full available width.
walterra added a commit that referenced this pull request Sep 13, 2018
- Fixes a regression introduced in #22814. Because of the stricter checking for scope/props updates, resizing the browser window would miss updating the Anomaly Explorer Charts widths. This fixes it by adding a check to trigger anomalyDataChange in redrawOnResize().
- Additionally, if only one chart is up for display, this update makes sure a single chart always spans across the full available width.
@lcawl lcawl added the bug Fixes for quality problems that affect the customer experience label Oct 29, 2018
@sophiec20 sophiec20 added the Feature:Anomaly Detection ML anomaly detection label Jun 19, 2019
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 Feature:Anomaly Detection ML anomaly detection Feature:ml-results legacy - do not use :ml regression v6.5.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants