mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-16 19:04:16 +00:00
chore(ui): mark impala service as beta (#11252)
This commit is contained in:
parent
3498b44537
commit
f0384a6739
@ -11,8 +11,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Button, Col, Row, Select, Space } from 'antd';
|
import { Badge, Button, Col, Row, Select, Space } from 'antd';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
import { DatabaseServiceType } from 'generated/entity/data/table';
|
||||||
import { startCase } from 'lodash';
|
import { startCase } from 'lodash';
|
||||||
import React, { useEffect, useMemo, useState } from 'react';
|
import React, { useEffect, useMemo, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
@ -76,6 +77,8 @@ const SelectServiceType = ({
|
|||||||
[selectedConnectors]
|
[selectedConnectors]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log(filteredConnectors);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Row>
|
<Row>
|
||||||
<Col span={24}>
|
<Col span={24}>
|
||||||
@ -133,6 +136,15 @@ const SelectServiceType = ({
|
|||||||
</div>
|
</div>
|
||||||
<p className="break-word text-center">
|
<p className="break-word text-center">
|
||||||
{type.includes('Custom') ? startCase(type) : type}
|
{type.includes('Custom') ? startCase(type) : type}
|
||||||
|
{type === DatabaseServiceType.Impala ? (
|
||||||
|
<Badge
|
||||||
|
className="service-beta-tag"
|
||||||
|
color="#7147E8"
|
||||||
|
count={t('label.beta')}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
''
|
||||||
|
)}
|
||||||
</p>
|
</p>
|
||||||
</Space>
|
</Space>
|
||||||
</Col>
|
</Col>
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "back to login",
|
"back-to-login-lowercase": "back to login",
|
||||||
"basic-configuration": "Basic Configuration",
|
"basic-configuration": "Basic Configuration",
|
||||||
"batch-size": "Batch Size",
|
"batch-size": "Batch Size",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "Bot",
|
"bot": "Bot",
|
||||||
"bot-detail": "Bot detail",
|
"bot-detail": "Bot detail",
|
||||||
"bot-lowercase": "bot",
|
"bot-lowercase": "bot",
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "volver a iniciar sesión",
|
"back-to-login-lowercase": "volver a iniciar sesión",
|
||||||
"basic-configuration": "Configuración básica",
|
"basic-configuration": "Configuración básica",
|
||||||
"batch-size": "Tamaño del lote",
|
"batch-size": "Tamaño del lote",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "Bot",
|
"bot": "Bot",
|
||||||
"bot-detail": "Detalles del bot",
|
"bot-detail": "Detalles del bot",
|
||||||
"bot-lowercase": "bot",
|
"bot-lowercase": "bot",
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "back to login",
|
"back-to-login-lowercase": "back to login",
|
||||||
"basic-configuration": "Configuration de Base",
|
"basic-configuration": "Configuration de Base",
|
||||||
"batch-size": "Taille du Lot",
|
"batch-size": "Taille du Lot",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "Agent Numérique",
|
"bot": "Agent Numérique",
|
||||||
"bot-detail": "Bot detail",
|
"bot-detail": "Bot detail",
|
||||||
"bot-lowercase": "agent numérique",
|
"bot-lowercase": "agent numérique",
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "ログインに戻る",
|
"back-to-login-lowercase": "ログインに戻る",
|
||||||
"basic-configuration": "Basic Configuration",
|
"basic-configuration": "Basic Configuration",
|
||||||
"batch-size": "バッチサイズ",
|
"batch-size": "バッチサイズ",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "ボット",
|
"bot": "ボット",
|
||||||
"bot-detail": "ボットの詳細",
|
"bot-detail": "ボットの詳細",
|
||||||
"bot-lowercase": "ボット",
|
"bot-lowercase": "ボット",
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "voltar para login",
|
"back-to-login-lowercase": "voltar para login",
|
||||||
"basic-configuration": "Configuração básica",
|
"basic-configuration": "Configuração básica",
|
||||||
"batch-size": "Tamanho do batch",
|
"batch-size": "Tamanho do batch",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "Bot",
|
"bot": "Bot",
|
||||||
"bot-detail": "Detalhe do bot",
|
"bot-detail": "Detalhe do bot",
|
||||||
"bot-lowercase": "bot",
|
"bot-lowercase": "bot",
|
||||||
|
|||||||
@ -84,6 +84,7 @@
|
|||||||
"back-to-login-lowercase": "back to login",
|
"back-to-login-lowercase": "back to login",
|
||||||
"basic-configuration": "基本配置",
|
"basic-configuration": "基本配置",
|
||||||
"batch-size": "批大小",
|
"batch-size": "批大小",
|
||||||
|
"beta": "Beta",
|
||||||
"bot": "Bot",
|
"bot": "Bot",
|
||||||
"bot-detail": "Bot detail",
|
"bot-detail": "Bot detail",
|
||||||
"bot-lowercase": "bot",
|
"bot-lowercase": "bot",
|
||||||
|
|||||||
@ -388,3 +388,12 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// beta tag for service page
|
||||||
|
.service-beta-tag {
|
||||||
|
sup {
|
||||||
|
padding: 0 4px;
|
||||||
|
margin-left: 2px;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user