From a7b3b7c50473a4a1a0d4ad4e98dedd52e98d806e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Mon, 21 Feb 2022 11:24:33 +0100 Subject: [PATCH] [ResponseOps] Adds tooltip to time window selector in ES query rule flyout (#125764) --- .../alert_types/es_query/expression.tsx | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/stack_alerts/public/alert_types/es_query/expression.tsx b/x-pack/plugins/stack_alerts/public/alert_types/es_query/expression.tsx index 1dd31939dc089b..7370cffd5e5e53 100644 --- a/x-pack/plugins/stack_alerts/public/alert_types/es_query/expression.tsx +++ b/x-pack/plugins/stack_alerts/public/alert_types/es_query/expression.tsx @@ -13,6 +13,8 @@ import 'brace/theme/github'; import { XJsonMode } from '@kbn/ace'; import { + EuiFlexGroup, + EuiFlexItem, EuiButtonEmpty, EuiCodeEditor, EuiSpacer, @@ -21,6 +23,7 @@ import { EuiText, EuiTitle, EuiLink, + EuiIconTip, } from '@elastic/eui'; import { DocLinksStart, HttpSetup } from 'kibana/public'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; @@ -348,14 +351,31 @@ export const EsQueryAlertTypeExpression: React.FunctionComponent< )} - -
- + + +
+ +
+
+
+ + -
-
+ +