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] Anomaly Detection: ensure 'Category examples' tab in the expanded table row can be seen #70241

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jun 29, 2020

Summary

Fix for the 'Category examples' tab in the expanded table row showing a blank page and console error.
The EuiTabbedContent component no longer works with tabs objects with id's that have a space.

Before:

catexampleserror

After:

image

Checklist

Delete any items that are not applicable to this PR.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link

@erick-leao erick-leao left a comment

Choose a reason for hiding this comment

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

I recommend that the name of id not be a partner camel and yes with trace

@@ -279,7 +279,7 @@ export class AnomalyDetails extends Component {
),
},
{
id: 'Category examples',
id: 'categoryExamples',

Choose a reason for hiding this comment

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

Suggested change
id: 'categoryExamples',
id: 'category-examples',

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 31f72d5

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

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

@qn895
Copy link
Member

qn895 commented Jun 30, 2020

LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit 233d261 into elastic:master Jun 30, 2020
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jun 30, 2020
…d table row can be seen (elastic#70241)

* remove space from tab id

* update test
@alvarezmelissa87 alvarezmelissa87 deleted the ml-list-category-examples branch June 30, 2020 14:11
alvarezmelissa87 added a commit that referenced this pull request Jun 30, 2020
…d table row can be seen (#70241) (#70323)

* remove space from tab id

* update test
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 1, 2020
* master:
  [ML] Modifies page title to Create job (elastic#70191)
  [APM] Add API test for service maps (elastic#70185)
  [DOCS] Adds glossary to documentation (elastic#69721)
  [Usage Collection] Report nodes feature usage (elastic#70108)
  chore: improve support for mjs file extension (elastic#70186)
  [ML] Anomaly Detection: ensure  'Category examples' tab in the expanded table row can be seen (elastic#70241)
  [Maps] Add maps telemetry saved object in with mappings disabled (elastic#69995)
  Fix typo in bootstrap command (elastic#69976)
  [code coverage] ingest correct coveredFilePath for mocha (elastic#70215)
  [Dashboard] Add visualization by value to dashboard (elastic#69898)
  updates wording in Cases connectors (elastic#70298)
  [ML] Fix license subscription race condition. (elastic#70074)
  [Logs UI] [Alerting] "Group by" functionality (elastic#68250)
Bamieh pushed a commit to Bamieh/kibana that referenced this pull request Jul 1, 2020
…d table row can be seen (elastic#70241)

* remove space from tab id

* update test
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