From ba35b4ebb05faeca7d66ed3ebc2b89bb90fc991e Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Thu, 19 Dec 2024 11:16:48 +0100 Subject: [PATCH] [Discover] Make Copy action visible on cell hover (#204744) - Closes https://github.com/elastic/kibana/issues/203550 ## Summary This PR increases the default visible actions number from 2 to 3 so Copy action is also included now on cell hover. Before: Screenshot 2024-12-18 at 13 29 11 After: Screenshot 2024-12-18 at 13 28 57 --- .../discover/public/components/discover_grid/discover_grid.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/discover/public/components/discover_grid/discover_grid.tsx b/src/plugins/discover/public/components/discover_grid/discover_grid.tsx index e909d3e256d22..b14da8c2d4836 100644 --- a/src/plugins/discover/public/components/discover_grid/discover_grid.tsx +++ b/src/plugins/discover/public/components/discover_grid/discover_grid.tsx @@ -63,6 +63,7 @@ export const DiscoverGrid: React.FC = ({ renderCustomToolbar={renderCustomToolbar} getRowIndicator={getRowIndicator} rowAdditionalLeadingControls={rowAdditionalLeadingControls} + visibleCellActions={3} // this allows to show up to 3 actions on cell hover if available (filter in, filter out, and copy) {...props} /> );