Repository navigation
[ML] Fix zoom missing in Anomaly detection URLs - #86182
Conversation
|
Pinging @elastic/ml-ui (:ml) |
darnautov
left a comment
There was a problem hiding this comment.
LGTM, just need to update the URL generator unit tests to make sure zoom is set as expected
|
@qn895 @peteharverson I just checked the latest |
peteharverson
left a comment
There was a problem hiding this comment.
Zoom is now set correctly, but added a couple of comments of possible things to fix.
| }; | ||
| }, [mlUrlGenerator]); | ||
|
|
||
| const addToRecentlyAccessed = useCallback(() => { |
There was a problem hiding this comment.
Not related to the changes in this PR, but looks like the link added to the recently accessed list is wrong. For me it adds a link to (note vlq/app/ml is duplicated) e.g.
http://localhost:5601/vlq/app/ml/vlq/app/ml/timeseriesexplorer?_g=(ml%3A(jobIds%3A!(gallery_mean_bytes_15m))%2CrefreshInterval%3A(display%3AOff%2Cpause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A%272019-08-01T00%3A03%3A40.000Z%27%2Cmode%3Aabsolute%2Cto%3A%272020-12-16T11%3A33%3A45.000Z%27))&_a=(timeseriesexplorer%3A(mlTimeSeriesExplorer%3A(detectorIndex%3A0%2Centities%3A(method%3APOST))%2Cquery%3A(query_string%3A(query_string%3A(analyze_wildcard%3A!t%2Cquery%3A%27*%27)))))
Thanks Dima, I have created a PR for 7.10 here. |
peteharverson
left a comment
There was a problem hiding this comment.
Tested latest edits and LGTM
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
This PR fixes #86141 where the zoom time range set is missing when navigating from the Anomaly Explorer to the Single Metric Viewer. It also fixes not being able to ctrl+click/right click to open in new tab previously.
Checklist