mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary
It closes #173405
This PR adds support to load Grouping components from URL parameters by
the following changes:
### Grouping package changes:
- Updated the `onChange` handler in the `useGrouping` hook to retrieve
all the selected groupByFields.
- Updated the `onChange` handler in the `useGrouping` hook to trigger
when a group is selected or unselected.
- Added check to not send Telemetry when a group is unselected (this
keeps current behavior while triggering onChange for unselected groups.)
### Cloud Security changes:
- Updated `use_cloud_security_grouping` hook to check for the `groupBy`
URL params on the initial load to update the grouping component.
- Updated `use_cloud_security_grouping` hook to update the URL params
whenever the groups changes.
## Recording
|
||
---|---|---|
.. | ||
.storybook | ||
src | ||
index.tsx | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.mdx | ||
setup_test.ts | ||
tsconfig.json |
# @kbn/securitysolution-grouping Grouping component and query. Currently only consumed by security solution alerts table.