-
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
[Cases] Refactor: AllCasesList component in selection mode should only select #128915
[Cases] Refactor: AllCasesList component in selection mode should only select #128915
Conversation
ffc6d22
to
3183d44
Compare
…tcomment-from-allcases-list
…tcomment-from-allcases-list
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
...ses/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx
Outdated
Show resolved
Hide resolved
...ses/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx
Outdated
Show resolved
Hide resolved
…tcomment-from-allcases-list
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.
Tested and LGTM
@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.
Tested and LGTM!
💛 Build succeeded, but was flakyTest Failures
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled in files
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @academo |
Summary
Partially refactors the
AllCasesList
component to not accept attachments. This PR doesn't touch any business logic or change any UX or UI.This will keep the component as a listing and selection only component with no side effects.
The logic before available inside the component was moved to the existing hook to select and attach to a case.
In addition it removes a deprecated prop
alertData
and unused propupdateCase
It also fixes: #128723
Checklist
Delete any items that are not applicable to this PR.