mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
issue https://github.com/elastic/kibana/issues/134442 ## Summary * Remove filter actions from the cases alerts page because it has no search bar (as suggested by Sergi). * Fix the `show_top_n` action not executing from inside a table cell * Fix the `show_top_n` action not preselecting alerts on the cases alerts table Warning: `show_top_n` uses the global `timerange` but the cases page doesn't have the time range picker. |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
This package provides a uniform interface for displaying UI actions for a cell.
For the CellActions
component to work, it must be wrapped by CellActionsProvider
. Ideally, the wrapper should stay on the top of the rendering tree.
Example:
<CellActionsProvider getTriggerCompatibleActions={uiActions.getTriggerCompatibleActions}>
[...]
<CellActions mode={CellActionsMode.HOVER_DOWN} triggerId={MY_TRIGGER_ID} config={{ field: 'fieldName', value: 'fieldValue', fieldType: 'text' }}>
Hover me
</CellActions>
</CellActionsProvider>
CellActions
component will display all compatible actions registered for the trigger id.