Skip to content

[Fleet] Register Sample Data#113200

Merged
thomasneirynck merged 14 commits intoelastic:masterfrom
thomasneirynck:fleet/register_sample_data
Sep 29, 2021
Merged

[Fleet] Register Sample Data#113200
thomasneirynck merged 14 commits intoelastic:masterfrom
thomasneirynck:fleet/register_sample_data

Conversation

@thomasneirynck
Copy link
Contributor

@thomasneirynck thomasneirynck commented Sep 27, 2021

Summary

Part of #93084

Registers sample data. They now display in the Fleet integrations app.

image

This includes the addition of an svg image type, so it can be handled by the CardIcon-component. EDIT - this generated some suggestions for improvement. Will address these in separate PR.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@thomasneirynck thomasneirynck added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.16.0 v8.0.0 labels Sep 27, 2021
@thomasneirynck thomasneirynck added the Feature:Unified Integrations Unified Integrations view feature label Sep 28, 2021
@thomasneirynck thomasneirynck marked this pull request as ready for review September 28, 2021 14:20
@thomasneirynck thomasneirynck requested review from a team as code owners September 28, 2021 14:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

This reverts commit 68e286f.
Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link
Contributor

@clintandrewhall clintandrewhall left a comment

Choose a reason for hiding this comment

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

I have a few comments. I'll create a Storybook story, as well, unless you want to try to create one.

Copy link
Contributor

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just had a few thoughts

…try.test.ts

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Copy link
Contributor

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

Core changes LGTM. Be sure to run yarn build:apidocs before merging, as the new docs system will need to be updated to reflect the removal of the registerSampleDataset API.

@thomasneirynck
Copy link
Contributor Author

thomasneirynck commented Sep 29, 2021

discussed offline with @lukeelmers . The API-doc regeneration is pulling in a lot of changes unrelated to this PR. To reduce clutter here, we will revert the new API-docs from this PR, and put up a separate PR just for the new API docs.

@thomasneirynck thomasneirynck added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 29, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

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
customIntegrations 66 69 +3

Async chunks

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

id before after diff
fleet 597.8KB 597.8KB +36.0B
Unknown metric groups

API count

id before after diff
customIntegrations 66 69 +3

History

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

@thomasneirynck thomasneirynck merged commit 1090a35 into elastic:master Sep 29, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 29, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:Unified Integrations Unified Integrations view feature release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.16.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants