Closed mgiota closed 2 years ago
This commit https://github.com/elastic/kibana/pull/130958/commits/bd0042ee5da3e042c67cb265163d5701390ff72c adds case bulk actions in o11y. According to Response Ops their open PR (where I pushed the fix) will be merged end of this week / latest beginning next week. They are waiting for another feature, the alerts table, to be merged first, before they merge the bulk actions
https://user-images.githubusercontent.com/2852703/168565011-3564c192-e9a1-4b64-bcbd-01aa0d072549.mov
Relates to https://github.com/elastic/kibana/issues/131122
📝 Summary
This PR adds bulk actions for cases in the timelines and security plugins. Currently in o11y Alerts page checkboxes and bulk actions are completely hidden.
Acceptance criteria
Enable checkboxes in Alerts table by removing showCheckboxes prop
Disable status bulk actions. Enabling checkboxes in Step 1 above will make
Mark as Acknowledged
andMark as Closed
options enabled by default. This PR introduces a new flag to turn status bulk actions off. Pass this prop to the tGrid tablecustomBulkActions
prop that was introduced as part of this PRSuggestion
As a next step we could make
add to new case
andadd to existing case
bulk actions appear by default in the timelines plugin since both consumers,security_solution
andobservability
, want to show these bulk actions by default. We could add a new flag to switch them off similar to how status bulk actions are built:This is the code that needs be moved inside the timelines plugin if we want to follow this approach. The introduction of
customBulkActions
could be used in case a consumer wants to add extra bulk actions.