[ResponseOps] Remove tech preview from ES query ES|QL rule type (#189568)

Resolves https://github.com/elastic/kibana/issues/189566

## Summary

This PR removes tech preview from the ES query ES|QL rule form


### To verify

- Create an ES query ES|QL rule and verify that the tech preview badge
is removed from the ui.
This commit is contained in:
Alexi Doak 2024-07-31 07:00:01 -07:00 committed by GitHub
parent 65a99a5115
commit e828f7508d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 35 deletions

View file

@ -7,7 +7,6 @@
import React, { useMemo } from 'react';
import {
EuiBetaBadge,
EuiButtonIcon,
EuiFlexGroup,
EuiFlexItem,
@ -22,24 +21,6 @@ import { i18n } from '@kbn/i18n';
import { SearchType } from '../types';
import { useTriggerUiActionServices } from '../util';
export const ExperimentalBadge = React.memo(() => (
<EuiBetaBadge
size="s"
label={i18n.translate('xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalLabel', {
defaultMessage: 'Technical preview',
})}
tooltipContent={i18n.translate(
'xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalDescription',
{
defaultMessage:
'This functionality is in technical preview and may be changed or removed completely in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.',
}
)}
tooltipPosition="bottom"
/>
));
ExperimentalBadge.displayName = 'ExperimentalBadge';
export interface QueryFormTypeProps {
searchType: SearchType | null;
onFormTypeSelect: (formType: SearchType | null) => void;
@ -119,11 +100,6 @@ export const QueryFormTypeChooser: React.FC<QueryFormTypeProps> = ({
<h5>{activeFormTypeItem?.label}</h5>
</EuiTitle>
</EuiFlexItem>
{activeFormTypeItem?.formType === SearchType.esqlQuery && (
<EuiFlexItem>
<ExperimentalBadge />
</EuiFlexItem>
)}
</EuiFlexGroup>
</EuiFlexItem>
<EuiFlexItem grow={false}>
@ -172,11 +148,6 @@ export const QueryFormTypeChooser: React.FC<QueryFormTypeProps> = ({
<EuiFlexItem grow={false}>
<strong>{item.label}</strong>
</EuiFlexItem>
{item.formType === SearchType.esqlQuery && (
<EuiFlexItem>
<ExperimentalBadge />
</EuiFlexItem>
)}
</EuiFlexGroup>
<EuiText color="subdued" size="s">
<p>{item.description}</p>

View file

@ -39706,8 +39706,6 @@
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.cancelSelectionAriaLabel": "Annuler la sélection",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeDescription": "Utiliser ES|QL pour définir une requête de type texte.",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeLabel": "ES|QL",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalDescription": "Cette fonctionnalité est en version d'évaluation technique et pourra être modifiée ou retirée complètement dans une future version. Elastic s'efforcera de corriger tout problème, mais les fonctionnalités des versions d'évaluation technique ne sont pas soumises aux SLA de support des fonctionnalités officielles en disponibilité générale.",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalLabel": "Version d'évaluation technique",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeDescription": "Utilisez KQL ou Lucene pour définir une requête de type texte.",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeLabel": "KQL ou Lucene",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.queryDslFormTypeDescription": "Utilisez Elasticsearch Query DSL pour définir une requête.",

View file

@ -39566,8 +39566,6 @@
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.cancelSelectionAriaLabel": "選択をキャンセル",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeDescription": "ES|QLを使用して、テキストベースのクエリを定義します。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeLabel": "ES|QL",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalDescription": "この機能はテクニカルプレビュー中であり、将来のリリースでは変更されたり完全に削除されたりする場合があります。Elasticはすべての問題の修正に努めますが、テクニカルプレビュー中の機能には正式なGA機能のサポートSLAが適用されません。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalLabel": "テクニカルプレビュー",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeDescription": "KQLまたはLuceneを使用して、テキストベースのクエリを定義します。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeLabel": "KQLまたはLucene",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.queryDslFormTypeDescription": "ElasticsearchクエリDSLを使用して、クエリを定義します。",

View file

@ -39751,8 +39751,6 @@
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.cancelSelectionAriaLabel": "取消选择",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeDescription": "使用 ES|QL 定义基于文本的查询。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.esqlFormTypeLabel": "ES|QL",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalDescription": "此功能处于技术预览状态在未来版本中可能会更改或完全移除。Elastic 将努力修复任何问题,但处于技术预览状态的功能不受正式 GA 功能支持 SLA 的约束。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.experimentalLabel": "技术预览",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeDescription": "使用 KQL 或 Lucene 定义基于文本的查询。",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.kqlOrLuceneFormTypeLabel": "KQL 或 Lucene",
"xpack.stackAlerts.esQuery.ui.selectQueryFormType.queryDslFormTypeDescription": "使用 Elasticsearch 查询 DSL 定义查询。",