-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Fix swim lane time selection with a single time point and the Watcher URL #89125
[ML] Fix swim lane time selection with a single time point and the Watcher URL #89125
Conversation
Pinging @elastic/ml-ui (:ml) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on master, and LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest changes LGTM, great to have the support for legacy params.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested latest edit to work with legacy params and LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…tcher URL (elastic#89125) * [ML] fix swim lane selected times with only start boundaries * [ML] unit test * [ML] update url variables * [ML] selectedLanes to an array type * [ML] handle legacy query params
…tcher URL (elastic#89125) * [ML] fix swim lane selected times with only start boundaries * [ML] unit test * [ML] update url variables * [ML] selectedLanes to an array type * [ML] handle legacy query params
…tcher URL (elastic#89125) * [ML] fix swim lane selected times with only start boundaries * [ML] unit test * [ML] update url variables * [ML] selectedLanes to an array type * [ML] handle legacy query params # Conflicts: # x-pack/plugins/ml/public/application/jobs/jobs_list/components/create_watch_flyout/email.html
…tcher URL (#89125) (#89326) * [ML] fix swim lane selected times with only start boundaries * [ML] unit test * [ML] update url variables * [ML] selectedLanes to an array type * [ML] handle legacy query params # Conflicts: # x-pack/plugins/ml/public/application/jobs/jobs_list/components/create_watch_flyout/email.html
Summary
During interaction with anomaly swim lane, cell selection always updates the URL state with appropriate time boundaries. But the watcher URL in the email template populate a single time point only. This PR fixes this scenario by extending the selection with a bucket span size. It also fixes the names of the URL variables used in the Watcher email template.
Checklist