mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 22:23:16 +00:00
Minor: Automator, Advanced Search Improvements and Fixes (#16084)
* Fix the schemaFields key for advanced search filters Add missing "Feature" quick filter for ml model on explore page * Update the common column filter fields label for different assets to differentiate the fields when combined list is displayed * Update localization files with new translations * Add isBeta property to LeftSidebarItem interface
This commit is contained in:
parent
818030b65d
commit
dd176b7da1
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
export interface LeftSidebarItem {
|
export interface LeftSidebarItem {
|
||||||
key: string;
|
key: string;
|
||||||
|
isBeta?: boolean;
|
||||||
label: string;
|
label: string;
|
||||||
redirect_url?: string;
|
redirect_url?: string;
|
||||||
icon: SvgComponent;
|
icon: SvgComponent;
|
||||||
|
@ -13,149 +13,157 @@
|
|||||||
|
|
||||||
import { t } from 'i18next';
|
import { t } from 'i18next';
|
||||||
import { JsonTree, Utils as QbUtils } from 'react-awesome-query-builder';
|
import { JsonTree, Utils as QbUtils } from 'react-awesome-query-builder';
|
||||||
|
import { EntityFields } from '../enums/AdvancedSearch.enum';
|
||||||
|
|
||||||
export const COMMON_DROPDOWN_ITEMS = [
|
export const COMMON_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.domain'),
|
label: t('label.domain'),
|
||||||
key: 'domain.displayName.keyword',
|
key: EntityFields.DOMAIN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.owner'),
|
label: t('label.owner'),
|
||||||
key: 'owner.displayName.keyword',
|
key: EntityFields.OWNER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tag'),
|
label: t('label.tag'),
|
||||||
key: 'tags.tagFQN',
|
key: EntityFields.TAG,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tier'),
|
label: t('label.tier'),
|
||||||
key: 'tier.tagFQN',
|
key: EntityFields.TIER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service'),
|
label: t('label.service'),
|
||||||
key: 'service.displayName.keyword',
|
key: EntityFields.SERVICE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service-type'),
|
label: t('label.service-type'),
|
||||||
key: 'serviceType',
|
key: EntityFields.SERVICE_TYPE,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const TABLE_DROPDOWN_ITEMS = [
|
export const TABLE_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.database'),
|
label: t('label.database'),
|
||||||
key: 'database.displayName.keyword',
|
key: EntityFields.DATABASE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.schema'),
|
label: t('label.schema'),
|
||||||
key: 'databaseSchema.displayName.keyword',
|
key: EntityFields.DATABASE_SCHEMA,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.column'),
|
label: t('label.column'),
|
||||||
key: 'columns.name.keyword',
|
key: EntityFields.COLUMN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.table-type'),
|
label: t('label.table-type'),
|
||||||
key: 'tableType',
|
key: EntityFields.TABLE_TYPE,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const DASHBOARD_DROPDOWN_ITEMS = [
|
export const DASHBOARD_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.data-model'),
|
label: t('label.data-model'),
|
||||||
key: 'dataModels.displayName.keyword',
|
key: EntityFields.DATA_MODEL,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.chart'),
|
label: t('label.chart'),
|
||||||
key: 'charts.displayName.keyword',
|
key: EntityFields.CHART,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.project'),
|
label: t('label.project'),
|
||||||
key: 'project.keyword',
|
key: EntityFields.PROJECT,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const DASHBOARD_DATA_MODEL_TYPE = [
|
export const DASHBOARD_DATA_MODEL_TYPE = [
|
||||||
{
|
{
|
||||||
label: t('label.data-model-type'),
|
label: t('label.data-model-type'),
|
||||||
key: 'dataModelType',
|
key: EntityFields.DATA_MODEL_TYPE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.column'),
|
label: t('label.column'),
|
||||||
key: 'columns.name.keyword',
|
key: EntityFields.COLUMN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.project'),
|
label: t('label.project'),
|
||||||
key: 'project.keyword',
|
key: EntityFields.PROJECT,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const PIPELINE_DROPDOWN_ITEMS = [
|
export const PIPELINE_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.task'),
|
label: t('label.task'),
|
||||||
key: 'tasks.displayName.keyword',
|
key: EntityFields.TASK,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const SEARCH_INDEX_DROPDOWN_ITEMS = [
|
export const SEARCH_INDEX_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.field'),
|
label: t('label.field'),
|
||||||
key: 'fields.name.keyword',
|
key: EntityFields.FIELD,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export const ML_MODEL_DROPDOWN_ITEMS = [
|
||||||
|
{
|
||||||
|
label: t('label.feature'),
|
||||||
|
key: EntityFields.FEATURE,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const TOPIC_DROPDOWN_ITEMS = [
|
export const TOPIC_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.schema-field'),
|
label: t('label.schema-field'),
|
||||||
key: 'messageSchema.schemaFields.name',
|
key: EntityFields.SCHEMA_FIELD,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const CONTAINER_DROPDOWN_ITEMS = [
|
export const CONTAINER_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.column'),
|
label: t('label.column'),
|
||||||
key: 'dataModel.columns.name.keyword',
|
key: EntityFields.CONTAINER_COLUMN,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const GLOSSARY_DROPDOWN_ITEMS = [
|
export const GLOSSARY_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.domain'),
|
label: t('label.domain'),
|
||||||
key: 'domain.displayName.keyword',
|
key: EntityFields.DOMAIN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.owner'),
|
label: t('label.owner'),
|
||||||
key: 'owner.displayName.keyword',
|
key: EntityFields.OWNER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tag'),
|
label: t('label.tag'),
|
||||||
key: 'tags.tagFQN',
|
key: EntityFields.TAG,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.glossary-plural'),
|
label: t('label.glossary-plural'),
|
||||||
key: 'glossary.name.keyword',
|
key: EntityFields.GLOSSARY,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const TAG_DROPDOWN_ITEMS = [
|
export const TAG_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.domain'),
|
label: t('label.domain'),
|
||||||
key: 'domain.displayName.keyword',
|
key: EntityFields.DOMAIN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.classification'),
|
label: t('label.classification'),
|
||||||
key: 'classification.name.keyword',
|
key: EntityFields.CLASSIFICATION,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const DATA_PRODUCT_DROPDOWN_ITEMS = [
|
export const DATA_PRODUCT_DROPDOWN_ITEMS = [
|
||||||
{
|
{
|
||||||
label: t('label.domain'),
|
label: t('label.domain'),
|
||||||
key: 'domain.displayName.keyword',
|
key: EntityFields.DOMAIN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.owner'),
|
label: t('label.owner'),
|
||||||
key: 'owner.displayName.keyword',
|
key: EntityFields.OWNER,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -164,27 +172,27 @@ export const DOMAIN_DATAPRODUCT_DROPDOWN_ITEMS = [
|
|||||||
label: t('label.entity-type-plural', {
|
label: t('label.entity-type-plural', {
|
||||||
entity: t('label.entity'),
|
entity: t('label.entity'),
|
||||||
}),
|
}),
|
||||||
key: 'entityType',
|
key: EntityFields.ENTITY_TYPE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.owner'),
|
label: t('label.owner'),
|
||||||
key: 'owner.displayName.keyword',
|
key: EntityFields.OWNER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tag'),
|
label: t('label.tag'),
|
||||||
key: 'tags.tagFQN',
|
key: EntityFields.TAG,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tier'),
|
label: t('label.tier'),
|
||||||
key: 'tier.tagFQN',
|
key: EntityFields.TIER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service'),
|
label: t('label.service'),
|
||||||
key: 'service.displayName.keyword',
|
key: EntityFields.SERVICE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service-type'),
|
label: t('label.service-type'),
|
||||||
key: 'serviceType',
|
key: EntityFields.SERVICE_TYPE,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -193,31 +201,31 @@ export const GLOSSARY_ASSETS_DROPDOWN_ITEMS = [
|
|||||||
label: t('label.entity-type-plural', {
|
label: t('label.entity-type-plural', {
|
||||||
entity: t('label.entity'),
|
entity: t('label.entity'),
|
||||||
}),
|
}),
|
||||||
key: 'entityType',
|
key: EntityFields.ENTITY_TYPE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.domain'),
|
label: t('label.domain'),
|
||||||
key: 'domain.displayName.keyword',
|
key: EntityFields.DOMAIN,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.owner'),
|
label: t('label.owner'),
|
||||||
key: 'owner.displayName.keyword',
|
key: EntityFields.OWNER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tag'),
|
label: t('label.tag'),
|
||||||
key: 'tags.tagFQN',
|
key: EntityFields.TAG,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.tier'),
|
label: t('label.tier'),
|
||||||
key: 'tier.tagFQN',
|
key: EntityFields.TIER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service'),
|
label: t('label.service'),
|
||||||
key: 'service.displayName.keyword',
|
key: EntityFields.SERVICE,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('label.service-type'),
|
label: t('label.service-type'),
|
||||||
key: 'serviceType',
|
key: EntityFields.SERVICE_TYPE,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -225,7 +233,7 @@ export const LINEAGE_DROPDOWN_ITEMS = [
|
|||||||
...COMMON_DROPDOWN_ITEMS,
|
...COMMON_DROPDOWN_ITEMS,
|
||||||
{
|
{
|
||||||
label: t('label.column'),
|
label: t('label.column'),
|
||||||
key: 'columns.name.keyword',
|
key: EntityFields.COLUMN,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -251,7 +259,7 @@ export const emptyJsonTree: JsonTree = {
|
|||||||
type: 'rule',
|
type: 'rule',
|
||||||
properties: {
|
properties: {
|
||||||
// owner is common field , so setting owner as default field here
|
// owner is common field , so setting owner as default field here
|
||||||
field: 'owner.displayName.keyword',
|
field: EntityFields.OWNER,
|
||||||
operator: null,
|
operator: null,
|
||||||
value: [],
|
value: [],
|
||||||
valueSrc: ['value'],
|
valueSrc: ['value'],
|
||||||
|
@ -37,17 +37,22 @@ export enum AdvancedFields {
|
|||||||
export enum EntityFields {
|
export enum EntityFields {
|
||||||
SERVICE_TYPE = 'serviceType',
|
SERVICE_TYPE = 'serviceType',
|
||||||
DATA_MODEL_TYPE = 'dataModelType',
|
DATA_MODEL_TYPE = 'dataModelType',
|
||||||
|
ENTITY_TYPE = 'entityType',
|
||||||
|
TABLE_TYPE = 'tableType',
|
||||||
|
DISPLAY_NAME_KEYWORD = 'displayName.keyword',
|
||||||
|
GLOSSARY = 'glossary.name.keyword',
|
||||||
|
CLASSIFICATION = 'classification.name.keyword',
|
||||||
DOMAIN = 'domain.displayName.keyword',
|
DOMAIN = 'domain.displayName.keyword',
|
||||||
DATA_MODEL = 'dataModels.displayName.keyword',
|
DATA_MODEL = 'dataModels.displayName.keyword',
|
||||||
CONTAINER_COLUMN = 'dataModel.columns.name.keyword',
|
CONTAINER_COLUMN = 'dataModel.columns.name.keyword',
|
||||||
PROJECT = 'project.keyword',
|
PROJECT = 'project.keyword',
|
||||||
SCHEMA_FIELD = 'messageSchema.schemaFields.name',
|
SCHEMA_FIELD = 'messageSchema.schemaFields.name.keyword',
|
||||||
FEATURE = 'mlFeatures.name',
|
FEATURE = 'mlFeatures.name',
|
||||||
FIELD = 'fields.name.keyword',
|
FIELD = 'fields.name.keyword',
|
||||||
OWNER = 'displayName.keyword',
|
OWNER = 'owner.displayName.keyword',
|
||||||
TAG = 'tags.tagFQN',
|
TAG = 'tags.tagFQN',
|
||||||
TIER = 'tier.tagFQN',
|
TIER = 'tier.tagFQN',
|
||||||
SERVICE = 'service.name.keyword',
|
SERVICE = 'service.displayName.keyword',
|
||||||
DATABASE = 'database.name.keyword',
|
DATABASE = 'database.name.keyword',
|
||||||
DATABASE_SCHEMA = 'databaseSchema.name.keyword',
|
DATABASE_SCHEMA = 'databaseSchema.name.keyword',
|
||||||
COLUMN = 'columns.name.keyword',
|
COLUMN = 'columns.name.keyword',
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Connector",
|
"connector": "Connector",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "Container",
|
"container": "Container",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Container",
|
"container-plural": "Container",
|
||||||
"conversation": "Konversation",
|
"conversation": "Konversation",
|
||||||
"conversation-lowercase": "konversation",
|
"conversation-lowercase": "konversation",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Am häufigsten angesehene Daten-Assets",
|
"data-insight-top-viewed-entity-summary": "Am häufigsten angesehene Daten-Assets",
|
||||||
"data-insight-total-entity-summary": "Gesamtzahl der Daten-Assets",
|
"data-insight-total-entity-summary": "Gesamtzahl der Daten-Assets",
|
||||||
"data-model": "Datenmodell",
|
"data-model": "Datenmodell",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Datenmodelle",
|
"data-model-plural": "Datenmodelle",
|
||||||
"data-model-type": "Datenmodelltyp",
|
"data-model-type": "Datenmodelltyp",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Connector",
|
"connector": "Connector",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "Container",
|
"container": "Container",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Containers",
|
"container-plural": "Containers",
|
||||||
"conversation": "Conversation",
|
"conversation": "Conversation",
|
||||||
"conversation-lowercase": "conversation",
|
"conversation-lowercase": "conversation",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Most Viewed Data Assets",
|
"data-insight-top-viewed-entity-summary": "Most Viewed Data Assets",
|
||||||
"data-insight-total-entity-summary": "Total Data Assets",
|
"data-insight-total-entity-summary": "Total Data Assets",
|
||||||
"data-model": "Data Model",
|
"data-model": "Data Model",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Data Models",
|
"data-model-plural": "Data Models",
|
||||||
"data-model-type": "Data Model Type",
|
"data-model-type": "Data Model Type",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Conector",
|
"connector": "Conector",
|
||||||
"consumer-aligned": "Alineado con el Consumidor",
|
"consumer-aligned": "Alineado con el Consumidor",
|
||||||
"container": "Contenedor",
|
"container": "Contenedor",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Contenedores",
|
"container-plural": "Contenedores",
|
||||||
"conversation": "Conversación",
|
"conversation": "Conversación",
|
||||||
"conversation-lowercase": "conversación",
|
"conversation-lowercase": "conversación",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Activos de datos más vistos",
|
"data-insight-top-viewed-entity-summary": "Activos de datos más vistos",
|
||||||
"data-insight-total-entity-summary": "Total de activos de datos",
|
"data-insight-total-entity-summary": "Total de activos de datos",
|
||||||
"data-model": "Modelo de datos",
|
"data-model": "Modelo de datos",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Modelos de datos",
|
"data-model-plural": "Modelos de datos",
|
||||||
"data-model-type": "Tipo de Modelo de datos",
|
"data-model-type": "Tipo de Modelo de datos",
|
||||||
"data-observability": "Observabilidad",
|
"data-observability": "Observabilidad",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Connecteur",
|
"connector": "Connecteur",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "Conteneur",
|
"container": "Conteneur",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Conteneurs",
|
"container-plural": "Conteneurs",
|
||||||
"conversation": "Conversation",
|
"conversation": "Conversation",
|
||||||
"conversation-lowercase": "conversation",
|
"conversation-lowercase": "conversation",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Actifs de Données les plus Consultés",
|
"data-insight-top-viewed-entity-summary": "Actifs de Données les plus Consultés",
|
||||||
"data-insight-total-entity-summary": "Total des Actifs de Données",
|
"data-insight-total-entity-summary": "Total des Actifs de Données",
|
||||||
"data-model": "Modèle de Données",
|
"data-model": "Modèle de Données",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Modèles de Données",
|
"data-model-plural": "Modèles de Données",
|
||||||
"data-model-type": "Type de Modèle de Données",
|
"data-model-type": "Type de Modèle de Données",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "מחבר",
|
"connector": "מחבר",
|
||||||
"consumer-aligned": "מכוון לצרכן",
|
"consumer-aligned": "מכוון לצרכן",
|
||||||
"container": "אחסון",
|
"container": "אחסון",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "אחסון (Storage)",
|
"container-plural": "אחסון (Storage)",
|
||||||
"conversation": "דיון",
|
"conversation": "דיון",
|
||||||
"conversation-lowercase": "דיון",
|
"conversation-lowercase": "דיון",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "הנכסים הנצפים ביותר",
|
"data-insight-top-viewed-entity-summary": "הנכסים הנצפים ביותר",
|
||||||
"data-insight-total-entity-summary": "סך כל נכסי הנתונים",
|
"data-insight-total-entity-summary": "סך כל נכסי הנתונים",
|
||||||
"data-model": "מודל נתונים",
|
"data-model": "מודל נתונים",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "מודלי נתונים",
|
"data-model-plural": "מודלי נתונים",
|
||||||
"data-model-type": "סוג מודל נתונים",
|
"data-model-type": "סוג מודל נתונים",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "コネクタ",
|
"connector": "コネクタ",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "コンテナ",
|
"container": "コンテナ",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "コンテナ",
|
"container-plural": "コンテナ",
|
||||||
"conversation": "会話",
|
"conversation": "会話",
|
||||||
"conversation-lowercase": "会話",
|
"conversation-lowercase": "会話",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "最も閲覧されたデータアセット",
|
"data-insight-top-viewed-entity-summary": "最も閲覧されたデータアセット",
|
||||||
"data-insight-total-entity-summary": "全てのデータアセット",
|
"data-insight-total-entity-summary": "全てのデータアセット",
|
||||||
"data-model": "Data Model",
|
"data-model": "Data Model",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Data Models",
|
"data-model-plural": "Data Models",
|
||||||
"data-model-type": "Data Model Type",
|
"data-model-type": "Data Model Type",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Connector",
|
"connector": "Connector",
|
||||||
"consumer-aligned": "Consumentafgestemd",
|
"consumer-aligned": "Consumentafgestemd",
|
||||||
"container": "Container",
|
"container": "Container",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Containers",
|
"container-plural": "Containers",
|
||||||
"conversation": "Gesprek",
|
"conversation": "Gesprek",
|
||||||
"conversation-lowercase": "gesprek",
|
"conversation-lowercase": "gesprek",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Meest bekeken data-assets",
|
"data-insight-top-viewed-entity-summary": "Meest bekeken data-assets",
|
||||||
"data-insight-total-entity-summary": "Data-assets totaal",
|
"data-insight-total-entity-summary": "Data-assets totaal",
|
||||||
"data-model": "Datamodel",
|
"data-model": "Datamodel",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Datamodellen",
|
"data-model-plural": "Datamodellen",
|
||||||
"data-model-type": "Type datamodel",
|
"data-model-type": "Type datamodel",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Conector",
|
"connector": "Conector",
|
||||||
"consumer-aligned": "Alinhado ao Consumidor",
|
"consumer-aligned": "Alinhado ao Consumidor",
|
||||||
"container": "Contêiner",
|
"container": "Contêiner",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Contêineres",
|
"container-plural": "Contêineres",
|
||||||
"conversation": "Conversa",
|
"conversation": "Conversa",
|
||||||
"conversation-lowercase": "conversa",
|
"conversation-lowercase": "conversa",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Ativos de Dados Mais Visualizados",
|
"data-insight-top-viewed-entity-summary": "Ativos de Dados Mais Visualizados",
|
||||||
"data-insight-total-entity-summary": "Total de Ativos de Dados",
|
"data-insight-total-entity-summary": "Total de Ativos de Dados",
|
||||||
"data-model": "Modelo de Dados",
|
"data-model": "Modelo de Dados",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Modelos de Dados",
|
"data-model-plural": "Modelos de Dados",
|
||||||
"data-model-type": "Tipo de Modelo de Dados",
|
"data-model-type": "Tipo de Modelo de Dados",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "Коннектор",
|
"connector": "Коннектор",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "Контейнер",
|
"container": "Контейнер",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "Контейнеры",
|
"container-plural": "Контейнеры",
|
||||||
"conversation": "Обсуждение",
|
"conversation": "Обсуждение",
|
||||||
"conversation-lowercase": "обсуждение",
|
"conversation-lowercase": "обсуждение",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "Самые просматриваемые объекты данных",
|
"data-insight-top-viewed-entity-summary": "Самые просматриваемые объекты данных",
|
||||||
"data-insight-total-entity-summary": "Все объекты данных",
|
"data-insight-total-entity-summary": "Все объекты данных",
|
||||||
"data-model": "Модель данных",
|
"data-model": "Модель данных",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "Модели данных",
|
"data-model-plural": "Модели данных",
|
||||||
"data-model-type": "Тип модели данных",
|
"data-model-type": "Тип модели данных",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -197,6 +197,7 @@
|
|||||||
"connector": "连接器",
|
"connector": "连接器",
|
||||||
"consumer-aligned": "Consumer-aligned",
|
"consumer-aligned": "Consumer-aligned",
|
||||||
"container": "存储容器",
|
"container": "存储容器",
|
||||||
|
"container-column": "Container Column",
|
||||||
"container-plural": "存储容器",
|
"container-plural": "存储容器",
|
||||||
"conversation": "对话",
|
"conversation": "对话",
|
||||||
"conversation-lowercase": "对话",
|
"conversation-lowercase": "对话",
|
||||||
@ -270,6 +271,7 @@
|
|||||||
"data-insight-top-viewed-entity-summary": "查看次数最多的数据资产",
|
"data-insight-top-viewed-entity-summary": "查看次数最多的数据资产",
|
||||||
"data-insight-total-entity-summary": "所有数据资产",
|
"data-insight-total-entity-summary": "所有数据资产",
|
||||||
"data-model": "数据模型",
|
"data-model": "数据模型",
|
||||||
|
"data-model-column": "Data Model Column",
|
||||||
"data-model-plural": "数据模型",
|
"data-model-plural": "数据模型",
|
||||||
"data-model-type": "数据模型类型",
|
"data-model-type": "数据模型类型",
|
||||||
"data-observability": "Data Observability",
|
"data-observability": "Data Observability",
|
||||||
|
@ -50,7 +50,7 @@ export const DataInsightContext = createContext<DataInsightContextType>(
|
|||||||
);
|
);
|
||||||
const fetchTeamSuggestions = advancedSearchClassBase.autocomplete({
|
const fetchTeamSuggestions = advancedSearchClassBase.autocomplete({
|
||||||
searchIndex: SearchIndex.TEAM,
|
searchIndex: SearchIndex.TEAM,
|
||||||
entityField: EntityFields.OWNER,
|
entityField: EntityFields.DISPLAY_NAME_KEYWORD,
|
||||||
});
|
});
|
||||||
|
|
||||||
const DataInsightProvider = ({ children }: DataInsightProviderProps) => {
|
const DataInsightProvider = ({ children }: DataInsightProviderProps) => {
|
||||||
|
@ -132,7 +132,7 @@ class AdvancedSearchClassBase {
|
|||||||
* Fields specific to topics
|
* Fields specific to topics
|
||||||
*/
|
*/
|
||||||
topicQueryBuilderFields: Fields = {
|
topicQueryBuilderFields: Fields = {
|
||||||
'messageSchema.schemaFields.name': {
|
'messageSchema.schemaFields.name.keyword': {
|
||||||
label: t('label.schema-field'),
|
label: t('label.schema-field'),
|
||||||
type: 'select',
|
type: 'select',
|
||||||
mainWidgetProps: this.mainWidgetProps,
|
mainWidgetProps: this.mainWidgetProps,
|
||||||
@ -211,7 +211,7 @@ class AdvancedSearchClassBase {
|
|||||||
*/
|
*/
|
||||||
containerQueryBuilderFields: Fields = {
|
containerQueryBuilderFields: Fields = {
|
||||||
'dataModel.columns.name.keyword': {
|
'dataModel.columns.name.keyword': {
|
||||||
label: t('label.column'),
|
label: t('label.container-column'),
|
||||||
type: 'select',
|
type: 'select',
|
||||||
mainWidgetProps: this.mainWidgetProps,
|
mainWidgetProps: this.mainWidgetProps,
|
||||||
fieldSettings: {
|
fieldSettings: {
|
||||||
@ -259,7 +259,7 @@ class AdvancedSearchClassBase {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
'columns.name.keyword': {
|
'columns.name.keyword': {
|
||||||
label: t('label.column'),
|
label: t('label.data-model-column'),
|
||||||
type: 'select',
|
type: 'select',
|
||||||
mainWidgetProps: this.mainWidgetProps,
|
mainWidgetProps: this.mainWidgetProps,
|
||||||
fieldSettings: {
|
fieldSettings: {
|
||||||
@ -404,7 +404,7 @@ class AdvancedSearchClassBase {
|
|||||||
fieldSettings: {
|
fieldSettings: {
|
||||||
asyncFetch: this.autocomplete({
|
asyncFetch: this.autocomplete({
|
||||||
searchIndex: [SearchIndex.USER, SearchIndex.TEAM],
|
searchIndex: [SearchIndex.USER, SearchIndex.TEAM],
|
||||||
entityField: EntityFields.OWNER,
|
entityField: EntityFields.DISPLAY_NAME_KEYWORD,
|
||||||
}),
|
}),
|
||||||
useAsyncSearch: true,
|
useAsyncSearch: true,
|
||||||
},
|
},
|
||||||
|
@ -17,6 +17,7 @@ import {
|
|||||||
DASHBOARD_DROPDOWN_ITEMS,
|
DASHBOARD_DROPDOWN_ITEMS,
|
||||||
DATA_PRODUCT_DROPDOWN_ITEMS,
|
DATA_PRODUCT_DROPDOWN_ITEMS,
|
||||||
GLOSSARY_DROPDOWN_ITEMS,
|
GLOSSARY_DROPDOWN_ITEMS,
|
||||||
|
ML_MODEL_DROPDOWN_ITEMS,
|
||||||
PIPELINE_DROPDOWN_ITEMS,
|
PIPELINE_DROPDOWN_ITEMS,
|
||||||
SEARCH_INDEX_DROPDOWN_ITEMS,
|
SEARCH_INDEX_DROPDOWN_ITEMS,
|
||||||
TABLE_DROPDOWN_ITEMS,
|
TABLE_DROPDOWN_ITEMS,
|
||||||
@ -153,7 +154,8 @@ describe('SearchClassBase', () => {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
expect(mlmodelsItems).toEqual([
|
expect(mlmodelsItems).toEqual([
|
||||||
...COMMON_DROPDOWN_ITEMS.filter((item) => item.key !== 'service_type'),
|
...COMMON_DROPDOWN_ITEMS,
|
||||||
|
...ML_MODEL_DROPDOWN_ITEMS,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
expect(searchIndexItems).toEqual([
|
expect(searchIndexItems).toEqual([
|
||||||
|
@ -35,6 +35,7 @@ import {
|
|||||||
DASHBOARD_DROPDOWN_ITEMS,
|
DASHBOARD_DROPDOWN_ITEMS,
|
||||||
DATA_PRODUCT_DROPDOWN_ITEMS,
|
DATA_PRODUCT_DROPDOWN_ITEMS,
|
||||||
GLOSSARY_DROPDOWN_ITEMS,
|
GLOSSARY_DROPDOWN_ITEMS,
|
||||||
|
ML_MODEL_DROPDOWN_ITEMS,
|
||||||
PIPELINE_DROPDOWN_ITEMS,
|
PIPELINE_DROPDOWN_ITEMS,
|
||||||
SEARCH_INDEX_DROPDOWN_ITEMS,
|
SEARCH_INDEX_DROPDOWN_ITEMS,
|
||||||
TABLE_DROPDOWN_ITEMS,
|
TABLE_DROPDOWN_ITEMS,
|
||||||
@ -284,11 +285,7 @@ class SearchClassBase {
|
|||||||
return [...COMMON_DROPDOWN_ITEMS, ...SEARCH_INDEX_DROPDOWN_ITEMS];
|
return [...COMMON_DROPDOWN_ITEMS, ...SEARCH_INDEX_DROPDOWN_ITEMS];
|
||||||
|
|
||||||
case SearchIndex.MLMODEL:
|
case SearchIndex.MLMODEL:
|
||||||
return [
|
return [...COMMON_DROPDOWN_ITEMS, ...ML_MODEL_DROPDOWN_ITEMS];
|
||||||
...COMMON_DROPDOWN_ITEMS.filter(
|
|
||||||
(item) => item.key !== 'service_type'
|
|
||||||
),
|
|
||||||
];
|
|
||||||
case SearchIndex.CONTAINER:
|
case SearchIndex.CONTAINER:
|
||||||
return [...COMMON_DROPDOWN_ITEMS, ...CONTAINER_DROPDOWN_ITEMS];
|
return [...COMMON_DROPDOWN_ITEMS, ...CONTAINER_DROPDOWN_ITEMS];
|
||||||
case SearchIndex.DASHBOARD_DATA_MODEL:
|
case SearchIndex.DASHBOARD_DATA_MODEL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user