Skip to content

[ML] Fixes error on first tooltip hover in Single Metric Viewer.#50300

Merged
peteharverson merged 11 commits intoelastic:7.5from
walterra:ml-fix-chart-tooltip-error
Nov 13, 2019
Merged

[ML] Fixes error on first tooltip hover in Single Metric Viewer.#50300
peteharverson merged 11 commits intoelastic:7.5from
walterra:ml-fix-chart-tooltip-error

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Summary

Fixes #50154. In 7.5 only tooltips for the single metric viewer chart were broken, the first hover would trigger an error, the tooltip would stay and not disappear, a second tooltip would appear when hovering other elements.

Turns out the <ChartTooltip /> component was moved in the JSX structure in a PR that went only into 7.6. The follow up PR for fixing tooltip positioning was backported to 7.5 again. The backport didn't complain but duplicated the <ChartTooltip /> instead of moving it, resulting in the bug.

@walterra walterra added bug Fixes for quality problems that affect the customer experience regression :ml Feature:Anomaly Detection ML anomaly detection release_note:skip Skip the PR/issue when compiling release notes v7.5.0 labels Nov 12, 2019
@walterra walterra self-assigned this Nov 12, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@walterra walterra changed the title [ML] Removes ChartTooltip component, artefact from backport gone wrong. [ML] Fixes error on first tooltip hover in Single Metric Viewer. Nov 12, 2019
Copy link
Copy Markdown
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! Sorry my PR messed up the chart tooltip 😬

Copy link
Copy Markdown
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

Copy link
Copy Markdown
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

Copy link
Copy Markdown
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

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

Tested locally and the issue didn't occur any more. LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

Copy link
Copy Markdown
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 ⚡️

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@walterra
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@pheyos
Copy link
Copy Markdown
Member

pheyos commented Nov 13, 2019

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@pheyos
Copy link
Copy Markdown
Member

pheyos commented Nov 13, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@pheyos
Copy link
Copy Markdown
Member

pheyos commented Nov 13, 2019

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@peteharverson peteharverson merged commit e2b6ca7 into elastic:7.5 Nov 13, 2019
joelgriffith pushed a commit that referenced this pull request Nov 13, 2019
…ssaging (#50189) (#50430)

* [Telemetry] Remove telemetry splash page and add conditional messaging (#50189)

* Removing tel splash page in UI layer

* Removing more components

* New disclaimer text

* Removing telemetry i18n text

* More i18n text removals

* Snapshot updates

* Snapshot tests + quick links for tel opt-out when possible

* Fixing TS issues in test

* Fixing broken telemetry updates

* [ML] Removes ChartTooltip component, artefact from backport gone wrong. (#50300)

* [7.5] [ML] Skip advanced wizard categorization test (#50141) (#50156)

* [ML] Skip advanced wizard categorization test (#50141)
* Re-enable other advanced tests

* [DOCS] Adds link to 7.5 breaking changes doc (#50496)

* Fixing mock interface in jest
@walterra walterra deleted the ml-fix-chart-tooltip-error branch November 19, 2019 17:37
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 :ml regression release_note:skip Skip the PR/issue when compiling release notes v7.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants