From 5926f64492dc0c8018a0ac63bf57b0b03d38b0cd Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Wed, 7 Aug 2024 13:05:46 +0200 Subject: [PATCH] [Obs ai assistant][ES|QL] Initial render of the ES|QL table in a more compact format (#190027) ## Summary Nothing super crucial, it has to do with the initial render of the ES|QL datable. In order to be aligned with the table we render in the flyout and minimize the space it takes, we initialize in single row. The users can still change the row height from the settings. It is actually this: image instead of: image The users can always adapt the settings: image --- .../public/functions/visualize_esql.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant_app/public/functions/visualize_esql.tsx b/x-pack/plugins/observability_solution/observability_ai_assistant_app/public/functions/visualize_esql.tsx index e81e30b0beec7..404ff9e32a4db 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant_app/public/functions/visualize_esql.tsx +++ b/x-pack/plugins/observability_solution/observability_ai_assistant_app/public/functions/visualize_esql.tsx @@ -353,6 +353,7 @@ export function VisualizeESQL({ query={{ esql: query }} flyoutType="overlay" isTableView + initialRowHeight={0} /> ) : ( )}