-
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] Add Anomaly charts embeddables to Dashboard from Anomaly Explorer page #95623
[ML] Add Anomaly charts embeddables to Dashboard from Anomaly Explorer page #95623
Conversation
…able-refactor-ui-actions
.../public/application/explorer/dashboard_controls/add_anomaly_charts_to_dashboard_controls.tsx
Show resolved
Hide resolved
…ithub.com/qn895/kibana into ml-anomaly-embeddable-refactor-ui-actions
@@ -7,96 +7,65 @@ | |||
|
|||
import { isRuntimeField, isRuntimeMappings } from './runtime_field_utils'; | |||
|
|||
describe('ML runtime field utils', () => { |
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.
I suspect something went wrong with a master rebase/merge. The removed lines are actually the newer code merged as part of this PR: https://github.com/elastic/kibana/pull/95651/files#diff-02075861bae59012670e1e16f2017e22cfca82cf3d7a210eb9c66e96503252d1R10
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 here dbd5e91
(#95623)
(typeof arg.script === 'string' || | ||
(isPopulatedObject(arg.script, ['source']) && | ||
(isPopulatedObject(arg.script) && |
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.
Looks like a master rebase/merge went wrong here, the removed code is actually the newer one, see this PR again: https://github.com/elastic/kibana/pull/95651/files#diff-7dfaf266f36a691f0ea87f071af9f1915e031dffb83ad4c35281b932114deb07R16
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.
Thanks for catching that. I have updated it here dbd5e91
(#95623)
…able-refactor-ui-actions
…able-refactor-ui-actions
@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.
Code LGTM
@elasticmachine merge upstream |
…able-refactor-ui-actions
…able-refactor-ui-actions
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @qn895 |
…r page (elastic#95623) Co-authored-by: Robert Oskamp <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…r page (#95623) (#96614) Co-authored-by: Robert Oskamp <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Quynh Nguyen <[email protected]> Co-authored-by: Robert Oskamp <[email protected]>
Summary
Follow-up of #94396. Part of #94650. This PR adds an option in the anomaly explorer page to add embeddables to Kibana dashboards:
It also:
mlJobService
explorerService
in thegetAnomalyData
function which previously was used to set charts data in the explorer pageAdd to dashboard
controls that were also used to add swimlane embeddables to the dashboard.Checklist
Delete any items that are not applicable to this PR.