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] Allows temporary data views in AD job wizards #170112
[ML] Allows temporary data views in AD job wizards #170112
Conversation
Pinging @elastic/ml-ui (:ml) |
...ugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts
Outdated
Show resolved
Hide resolved
@@ -238,7 +238,7 @@ export default function ({ getService }: FtrProviderContext) { | |||
await ml.testExecution.logTestStep( | |||
'job cloning clicks the clone action and displays an error toast' |
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.
We probably should update the log test step here to reflect that it is opening the wizard
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.
Updated in 5773dd2
x-pack/test/functional/apps/ml/anomaly_detection_jobs/single_metric_job.ts
Outdated
Show resolved
Hide resolved
…etric_job.ts Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
We currently disable the link from the anomalies table to Discover if no data view exists for the job? Is it possible to link to Discover in such a way that Discover can create a temporary data view? |
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 and overall looks good. Just left a comment wondering if we can link to Discover when no data view exists?
@peteharverson I've updated this here |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Code 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.
Tested latest changes with link to Discover for temporary data views, and LGTM
When creating a brand new job, temporary data views can be created and used in the wizard. When cloning a job where the data view cannot be found, a new temporary data view is created to be used in the wizard. This can happen if the data view used to create the original job has been deleted or the job was created with a temporary data view. https://github.com/elastic/kibana/assets/22172091/2b9c2125-2b0c-449d-a226-82267f64567b Also overrides the animation for the expanded rows in the AD jobs list which can cause strange behaviour when changing tabs in the expanded row. --------- Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
When creating a brand new job, temporary data views can be created and used in the wizard.
When cloning a job where the data view cannot be found, a new temporary data view is created to be used in the wizard.
This can happen if the data view used to create the original job has been deleted or the job was created with a temporary data view.
2023-10-30.11-09-20.2023-10-30.11_09_57.mp4
Also overrides the animation for the expanded rows in the AD jobs list which can cause strange behaviour when changing tabs in the expanded row.