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] Ensure Anomaly Explorer filter retained on swimlane click #33131

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Mar 13, 2019

Summary

Completes the following follow up tasks detailed in #32505

  • fixes console warning for click outside
  • Overall swimlane click should retain filter in View by swimlane update

image

  • Remove warning icon from no influencers found message

image

image

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@alvarezmelissa87 alvarezmelissa87 added enhancement New value added to drive a business result :ml Feature:ml-results legacy - do not use v7.0.1 labels Mar 13, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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.

LGTM

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 code changes LGTM, but a suggestion for an edit to the 'No influencers' warning text - one for a follow-up probably.

@@ -16,7 +16,6 @@ import { EuiEmptyPrompt } from '@elastic/eui';

export const ExplorerNoInfluencersFound = ({ swimlaneViewByFieldName, showFilterMessage = false }) => (
<EuiEmptyPrompt
iconType="alert"
Copy link
Contributor

@peteharverson peteharverson Mar 13, 2019

Choose a reason for hiding this comment

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

Not specifically related to this PR, but in the case where there are no influencers returned for the selected time and filter, but there are influencer results for the job, I wonder if we should change the warning text to something like No <fieldname> influencers found matching filter?

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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 latest edits for the 'no influencers' warning text, and all LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit 3e4d866 into elastic:master Mar 14, 2019
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Mar 14, 2019
…ic#33131)

* Remove noInfluencers warning icon. Fix clickOutside console warning

* retain filter on overall swimlane cell click

* update euiLightTheme var names to fix suggestion style

* update tests

* update noInfluencers component snapshot

* Show no influencers filter message if filter active
@alvarezmelissa87 alvarezmelissa87 deleted the ml-anomaly-exploer-filter-follow-ups branch March 14, 2019 13:49
alvarezmelissa87 added a commit that referenced this pull request Mar 14, 2019
… (#33239)

* Remove noInfluencers warning icon. Fix clickOutside console warning

* retain filter on overall swimlane cell click

* update euiLightTheme var names to fix suggestion style

* update tests

* update noInfluencers component snapshot

* Show no influencers filter message if filter active
@alvarezmelissa87 alvarezmelissa87 added the non-issue Indicates to automation that a pull request should not appear in the release notes label Mar 27, 2019
@alvarezmelissa87 alvarezmelissa87 removed the enhancement New value added to drive a business result label Mar 27, 2019
@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
Feature:Anomaly Detection ML anomaly detection Feature:ml-results legacy - do not use :ml non-issue Indicates to automation that a pull request should not appear in the release notes v7.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants