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
[Cases] Attach framework registry #134744
Conversation
7e6f4cc
to
95c284a
Compare
80f2345
to
d8b250f
Compare
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
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. Just added 1 comment.
x-pack/plugins/cases/public/client/attachment_framework/registry.ts
Outdated
Show resolved
Hide resolved
ec1abfb
to
0f515de
Compare
buildkite test this |
@elasticmachine merge upstream |
88582d5
to
dee014a
Compare
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.
🚢
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @cnasikas |
* Create external reference attachment registry * Pass externalReferenceAttachmentTypeRegistry to cases client * Better types * Show external references user action * Handle unregistered events * Add e2e tests * Fixe fixture plugin naming * Add cases fixture plugin to tsconfig * Fix types * Improvements * Fix types * Fixes * Fix bug * Add unit test
Summary
This PR creates an attachment registry for external references. Plugins can register their own external reference type and tell cases how they want to render their attachment type.
Screenshots
The attachments in the screenshots do not exist. They have been created for testing purposes.
Depends on: #134669
Checklist
Delete any items that are not applicable to this PR.
For maintainers