[Fleet] Register Sample Data#113200
Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
This reverts commit 68e286f.
x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx
Outdated
Show resolved
Hide resolved
clintandrewhall
left a comment
There was a problem hiding this comment.
I have a few comments. I'll create a Storybook story, as well, unless you want to try to create one.
lukeelmers
left a comment
There was a problem hiding this comment.
Overall LGTM, just had a few thoughts
src/plugins/home/server/services/sample_data/lib/register_with_integrations.ts
Outdated
Show resolved
Hide resolved
src/plugins/home/server/services/sample_data/sample_data_registry.ts
Outdated
Show resolved
Hide resolved
src/plugins/home/server/services/sample_data/sample_data_registry.ts
Outdated
Show resolved
Hide resolved
src/plugins/home/server/services/sample_data/sample_data_registry.test.ts
Outdated
Show resolved
Hide resolved
src/plugins/home/server/services/sample_data/sample_data_registry.ts
Outdated
Show resolved
Hide resolved
…try.test.ts Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
src/plugins/home/server/services/sample_data/lib/sample_dataset_schema.ts
Outdated
Show resolved
Hide resolved
src/plugins/home/server/services/sample_data/sample_data_registry.test.ts
Outdated
Show resolved
Hide resolved
lukeelmers
left a comment
There was a problem hiding this comment.
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.
src/plugins/home/server/services/sample_data/sample_data_registry.test.ts
Outdated
Show resolved
Hide resolved
This reverts commit 063f881.
|
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. |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Summary
Part of #93084
Registers sample data. They now display in the Fleet integrations app.
This includes the addition of an
svgimage type, so it can be handled by theCardIcon-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