Skip to content

[ML] decouple ML plugin from Map embeddable#182409

Merged
nreese merged 7 commits intoelastic:mainfrom
nreese:decouple_map_embeddable_from_ml
May 7, 2024
Merged

[ML] decouple ML plugin from Map embeddable#182409
nreese merged 7 commits intoelastic:mainfrom
nreese:decouple_map_embeddable_from_ml

Conversation

@nreese
Copy link
Copy Markdown
Contributor

@nreese nreese commented May 2, 2024

Part of #182020

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented May 2, 2024

/ci

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented May 2, 2024

/ci

@nreese nreese marked this pull request as ready for review May 2, 2024 20:30
@nreese nreese requested review from a team as code owners May 2, 2024 20:30
@nreese nreese added :ml Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// release_note:skip Skip the PR/issue when compiling release notes project:embeddableRebuild v8.15.0 labels May 2, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented May 3, 2024

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

code review

: `${query ? query : ''}`;

const params: any = {
const params: CreateLayerDescriptorParams = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 Nice to get rid of this any.

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented May 6, 2024

@elasticmachine merge upstream

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

This looks like it's going to be a big improvement - thanks for your work here.
Just found an issue where the anomaly point isn't showing up in the map. In the anomaly explorer for a geo job, when you click on a swimlane cell that corresponds to an anomaly, the map should show up with the corresponding anomaly like so:

image

With this change I'm getting an empty map.

@alvarezmelissa87 alvarezmelissa87 self-requested a review May 7, 2024 15:48
Copy link
Copy Markdown
Contributor

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anomaly explorer map should be showing the corresponding anomaly in the map.

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented May 7, 2024

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM ⚡

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
ml 2017 2015 -2

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
maps 276 281 +5

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 4.1MB 4.1MB -4.9KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
maps 32 31 -1
Unknown metric groups

API count

id before after diff
maps 281 286 +5

ESLint disabled line counts

id before after diff
ml 551 547 -4

Total ESLint disabled count

id before after diff
ml 554 550 -4

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@nreese nreese merged commit 8c20433 into elastic:main May 7, 2024
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting :ml project:embeddableRebuild release_note:skip Skip the PR/issue when compiling release notes Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v8.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants