mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 03:59:12 +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.
|
||||
*/
|
||||
|
||||
import { Button, Col, Row, Select, Space } from 'antd';
|
||||
import { Badge, Button, Col, Row, Select, Space } from 'antd';
|
||||
import classNames from 'classnames';
|
||||
import { DatabaseServiceType } from 'generated/entity/data/table';
|
||||
import { startCase } from 'lodash';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@ -76,6 +77,8 @@ const SelectServiceType = ({
|
||||
[selectedConnectors]
|
||||
);
|
||||
|
||||
console.log(filteredConnectors);
|
||||
|
||||
return (
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
@ -133,6 +136,15 @@ const SelectServiceType = ({
|
||||
</div>
|
||||
<p className="break-word text-center">
|
||||
{type.includes('Custom') ? startCase(type) : type}
|
||||
{type === DatabaseServiceType.Impala ? (
|
||||
<Badge
|
||||
className="service-beta-tag"
|
||||
color="#7147E8"
|
||||
count={t('label.beta')}
|
||||
/>
|
||||
) : (
|
||||
''
|
||||
)}
|
||||
</p>
|
||||
</Space>
|
||||
</Col>
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "back to login",
|
||||
"basic-configuration": "Basic Configuration",
|
||||
"batch-size": "Batch Size",
|
||||
"beta": "Beta",
|
||||
"bot": "Bot",
|
||||
"bot-detail": "Bot detail",
|
||||
"bot-lowercase": "bot",
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "volver a iniciar sesión",
|
||||
"basic-configuration": "Configuración básica",
|
||||
"batch-size": "Tamaño del lote",
|
||||
"beta": "Beta",
|
||||
"bot": "Bot",
|
||||
"bot-detail": "Detalles del bot",
|
||||
"bot-lowercase": "bot",
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "back to login",
|
||||
"basic-configuration": "Configuration de Base",
|
||||
"batch-size": "Taille du Lot",
|
||||
"beta": "Beta",
|
||||
"bot": "Agent Numérique",
|
||||
"bot-detail": "Bot detail",
|
||||
"bot-lowercase": "agent numérique",
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "ログインに戻る",
|
||||
"basic-configuration": "Basic Configuration",
|
||||
"batch-size": "バッチサイズ",
|
||||
"beta": "Beta",
|
||||
"bot": "ボット",
|
||||
"bot-detail": "ボットの詳細",
|
||||
"bot-lowercase": "ボット",
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "voltar para login",
|
||||
"basic-configuration": "Configuração básica",
|
||||
"batch-size": "Tamanho do batch",
|
||||
"beta": "Beta",
|
||||
"bot": "Bot",
|
||||
"bot-detail": "Detalhe do bot",
|
||||
"bot-lowercase": "bot",
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
"back-to-login-lowercase": "back to login",
|
||||
"basic-configuration": "基本配置",
|
||||
"batch-size": "批大小",
|
||||
"beta": "Beta",
|
||||
"bot": "Bot",
|
||||
"bot-detail": "Bot detail",
|
||||
"bot-lowercase": "bot",
|
||||
|
||||
@ -388,3 +388,12 @@
|
||||
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