[ML] Add tooltips in Anomalies table#97350
Conversation
|
Pinging @elastic/ml-ui (:ml) |
|
@elasticmachine merge upstream |
Yes, I think field name should be two words too. I've made that change in f7982dc |
szabosteve
left a comment
There was a problem hiding this comment.
I left one suggestion (nitpicking). Otherwise tooltip text LGTM!
| items.push({ | ||
| title: i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.timeTitle', { | ||
| defaultMessage: 'time', | ||
| defaultMessage: 'Time', |
There was a problem hiding this comment.
The original idea was that the expanded row is more of a 'raw' view of the anomaly record, which is why we didn't capitalize the field names in this section, and also went with camelCase fieldName for example rather than Field name. I prefer the camelCase field names, but maybe that is just because it is what I am used to seeing! You could also argue that the current formatting is inconsistent, as it uses job ID (rather than jobId) and multi-bucket impact.
There was a problem hiding this comment.
I can revert that change if necessary, but I think it's more consistent to use the same capitalization and formatting throughout the table.
…e/anomalies_table_columns.js Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
peteharverson
left a comment
There was a problem hiding this comment.
Happy to go with the capitalization in the expanded row fields. Thanks for adding this in. LGTM!
|
Tested and LGTM 🎉 |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>


Summary
This PR adds a tooltip for the "Severity" column in the Machine Learning > Anomaly Detection results table.
It also capitalizes each column's title in the table.