diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/activity-feed.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/activity-feed.svg new file mode 100644 index 00000000000..703c7122e4e --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/activity-feed.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/book.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/book.svg new file mode 100644 index 00000000000..8bab2a24942 --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/book.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedListV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedListV1.component.tsx index 26953a0d28a..3e1878d1a41 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedListV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedListV1.component.tsx @@ -15,9 +15,13 @@ import ErrorPlaceHolder from 'components/common/error-with-placeholder/ErrorPlac import Loader from 'components/Loader/Loader'; import { ERROR_PLACEHOLDER_TYPE, SIZE } from 'enums/common.enum'; import { Thread } from 'generated/entity/feed/thread'; -import React, { useEffect, useState } from 'react'; +import React, { useEffect, useMemo, useState } from 'react'; +import { useTranslation } from 'react-i18next'; import { getFeedListWithRelativeDays } from 'utils/FeedUtils'; +import { ReactComponent as ActivityFeedIcon } from '../../../assets/svg/activity-feed.svg'; +import { ReactComponent as TaskIcon } from '../../../assets/svg/ic-task.svg'; import FeedPanelBodyV1 from '../ActivityFeedPanel/FeedPanelBodyV1'; +import { ActivityFeedTabs } from '../ActivityFeedTab/ActivityFeedTab.interface'; import './activity-feed-list.less'; interface ActivityFeedListV1Props { @@ -29,6 +33,7 @@ interface ActivityFeedListV1Props { hidePopover: boolean; isForFeedTab?: boolean; emptyPlaceholderText: string; + tab: ActivityFeedTabs; } const ActivityFeedListV1 = ({ @@ -40,9 +45,13 @@ const ActivityFeedListV1 = ({ hidePopover = false, isForFeedTab = false, emptyPlaceholderText, + tab, }: ActivityFeedListV1Props) => { + const { t } = useTranslation(); const [entityThread, setEntityThread] = useState([]); + const isTaskTab = useMemo(() => tab === ActivityFeedTabs.TASKS, [tab]); + useEffect(() => { const { updatedFeedList } = getFeedListWithRelativeDays(feedList); setEntityThread(updatedFeedList); @@ -59,15 +68,26 @@ const ActivityFeedListV1 = ({ } return ( -
+
{entityThread.length === 0 && (
+ ) : ( + + ) + } type={ERROR_PLACEHOLDER_TYPE.CUSTOM}> + {isTaskTab && ( + + {t('message.no-open-issues')}
+
+ )} {emptyPlaceholderText}
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx index 7b2dd0dc9d5..1ae9d1380d8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx @@ -68,7 +68,7 @@ export const ActivityFeedTab = ({ const history = useHistory(); const { t } = useTranslation(); const [elementRef, isInView] = useElementInView(observerOptions); - const { subTab: activeTab = 'all' } = + const { subTab: activeTab = ActivityFeedTabs.ALL } = useParams<{ subTab: ActivityFeedTabs }>(); const [taskFilter, setTaskFilter] = useState('open'); const [allCount, setAllCount] = useState(0); @@ -99,6 +99,11 @@ export const ActivityFeedTab = ({ [selectedThread] ); + const isTaskActiveTab = useMemo( + () => activeTab === ActivityFeedTabs.TASKS, + [activeTab] + ); + const handleTabChange = (subTab: string) => { history.push( getEntityDetailLink(entityType, fqn, EntityTabs.ACTIVITY_FEED, subTab) @@ -241,7 +246,7 @@ export const ActivityFeedTab = ({ }; const threads = useMemo(() => { - if (activeTab === ActivityFeedTabs.TASKS) { + if (isTaskActiveTab) { return entityThread.filter( (thread) => taskFilter === 'open' @@ -255,7 +260,7 @@ export const ActivityFeedTab = ({ }, [activeTab, entityThread, taskFilter]); const [openTasks, closedTasks] = useMemo(() => { - if (activeTab === ActivityFeedTabs.TASKS) { + if (isTaskActiveTab) { return entityThread.reduce( (acc, curr) => { if (curr.task?.status === ThreadTaskStatus.Open) { @@ -323,13 +328,7 @@ export const ActivityFeedTab = ({ {t('label.task-plural')} - - {getCountBadge( - tasksCount, - '', - activeTab === ActivityFeedTabs.TASKS - )} - + {getCountBadge(tasksCount, '', isTaskActiveTab)}
), key: 'tasks', @@ -342,7 +341,7 @@ export const ActivityFeedTab = ({ />
- {activeTab === ActivityFeedTabs.TASKS && ( + {isTaskActiveTab && (
{loader} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx index a599e513f63..6dd1d629b32 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx @@ -14,10 +14,10 @@ import Icon, { DownOutlined } from '@ant-design/icons'; import { Button, Col, Dropdown, Row, Space, Tooltip, Typography } from 'antd'; import ButtonGroup from 'antd/lib/button/button-group'; import { ItemType } from 'antd/lib/menu/hooks/useItems'; +import { ReactComponent as IconTerm } from 'assets/svg/book.svg'; import { ReactComponent as EditIcon } from 'assets/svg/edit-new.svg'; import { ReactComponent as GlossaryIcon } from 'assets/svg/glossary.svg'; import { ReactComponent as ExportIcon } from 'assets/svg/ic-export.svg'; -import { ReactComponent as IconFlatDoc } from 'assets/svg/ic-flat-doc.svg'; import { ReactComponent as ImportIcon } from 'assets/svg/ic-import.svg'; import { ReactComponent as VersionIcon } from 'assets/svg/ic-version.svg'; import { ReactComponent as IconDropdown } from 'assets/svg/menu.svg'; @@ -376,7 +376,7 @@ const GlossaryHeader = ({ width={32} /> ) : ( - ( } + icon={} key={entity.fullyQualifiedName} label={getEntityName(entity)} tooltip={ diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/TagsV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/TagsV1.component.tsx index d850ec7ed33..ee53596babb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/TagsV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/TagsV1.component.tsx @@ -22,7 +22,7 @@ import { getTagDisplay, getTagTooltip } from 'utils/TagsUtils'; import { ReactComponent as IconTag } from 'assets/svg/classification.svg'; import { TAG_START_WITH } from 'constants/Tag.constants'; import { reduceColorOpacity } from 'utils/CommonUtils'; -import { ReactComponent as IconPage } from '../../../assets/svg/ic-flat-doc.svg'; +import { ReactComponent as IconTerm } from '../../../assets/svg/book.svg'; import { ReactComponent as PlusIcon } from '../../../assets/svg/plus-primary.svg'; import { TagsV1Props } from './TagsV1.interface'; import './tagsV1.less'; @@ -45,7 +45,7 @@ const TagsV1 = ({ const startIcon = useMemo( () => isGlossaryTag ? ( - { const { t } = useTranslation(); const { isTourOpen } = useTourProvider(); - const [activeTab, setActiveTab] = useState('all'); + const [activeTab, setActiveTab] = useState( + ActivityFeedTabs.ALL + ); const { loading, entityThread, getFeedData } = useActivityFeedProvider(); const [taskCount, setTaskCount] = useState(0); const currentUser = useMemo( @@ -37,19 +40,19 @@ const FeedsWidget = () => { ); useEffect(() => { - if (activeTab === 'all') { + if (activeTab === ActivityFeedTabs.ALL) { getFeedData(FeedFilter.OWNER, undefined, ThreadType.Conversation).catch( () => { // ignore since error is displayed in toast in the parent promise. // Added block for sonar code smell } ); - } else if (activeTab === 'mentions') { + } else if (activeTab === ActivityFeedTabs.MENTIONS) { getFeedData(FeedFilter.MENTIONS).catch(() => { // ignore since error is displayed in toast in the parent promise. // Added block for sonar code smell }); - } else if (activeTab === 'tasks') { + } else if (activeTab === ActivityFeedTabs.TASKS) { getFeedData(FeedFilter.OWNER, undefined, ThreadType.Task) .then((data) => { const openTasks = data.filter( @@ -68,6 +71,8 @@ const FeedsWidget = () => { return getCountBadge(taskCount, '', activeTab === 'tasks'); }, [taskCount, activeTab]); + const onTabChange = (key: string) => setActiveTab(key as ActivityFeedTabs); + useEffect(() => { getFeedsWithFilter( currentUser?.id, @@ -101,7 +106,7 @@ const FeedsWidget = () => { items={[ { label: t('label.all'), - key: 'all', + key: ActivityFeedTabs.ALL, children: ( { hidePopover={false} isLoading={loading && !isTourOpen} showThread={false} + tab={ActivityFeedTabs.ALL} /> ), }, { label: `@${t('label.mention-plural')}`, - key: 'mentions', + key: ActivityFeedTabs.MENTIONS, children: ( { hidePopover={false} isLoading={loading} showThread={false} + tab={ActivityFeedTabs.MENTIONS} /> ), }, @@ -132,7 +139,7 @@ const FeedsWidget = () => { {countBadge} ), - key: 'tasks', + key: ActivityFeedTabs.TASKS, children: ( { hidePopover={false} isLoading={loading} showThread={false} + tab={ActivityFeedTabs.TASKS} /> ), }, ]} - onChange={(key) => setActiveTab(key)} + onChange={onTabChange} />
); diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx index 22cdfdb6e41..f108206386b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx @@ -110,14 +110,13 @@ export const CustomPropertyTable: FC = ({ title: t('label.name'), dataIndex: 'name', key: 'name', - width: '50%', + width: 200, render: (_, record) => getEntityName(record), }, { title: t('label.value'), dataIndex: 'value', key: 'value', - width: '50%', render: (_, record) => ( = ({ case 'string': case 'integer': default: - return {value}; + return ( + + {value} + + ); } }; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/CustomNoDataPlaceHolder.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/CustomNoDataPlaceHolder.tsx index 2fddcd82712..fb70b32e7e5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/CustomNoDataPlaceHolder.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/CustomNoDataPlaceHolder.tsx @@ -21,18 +21,23 @@ const CustomNoDataPlaceHolder = ({ size, className, children, + icon, }: NoDataPlaceholderProps) => { return (
- + {icon ? ( + icon + ) : ( + + )} -
+
{children ? children : ''}
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/ErrorPlaceHolder.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/ErrorPlaceHolder.tsx index 4768c0a0c55..60185d5f178 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/ErrorPlaceHolder.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/ErrorPlaceHolder.tsx @@ -33,6 +33,7 @@ const ErrorPlaceHolder = ({ button, permission, buttonId, + icon, }: ErrorPlaceholderProps) => { const getErrorPlaceHolder = () => { switch (type) { @@ -71,7 +72,10 @@ const ErrorPlaceHolder = ({ case ERROR_PLACEHOLDER_TYPE.CUSTOM: return ( - + {children} ); diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/placeholder.interface.ts b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/placeholder.interface.ts index 84413af3f70..aa86a0e2a91 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/placeholder.interface.ts +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/error-with-placeholder/placeholder.interface.ts @@ -12,6 +12,7 @@ */ import { ERROR_PLACEHOLDER_TYPE, SIZE } from 'enums/common.enum'; +import { ReactElement } from 'react'; export interface ErrorPlaceholderProps { children?: React.ReactNode; @@ -22,6 +23,7 @@ export interface ErrorPlaceholderProps { button?: React.ReactNode; className?: string; size?: SIZE; + icon?: ReactElement; onClick?: () => void; permission?: boolean; } @@ -30,6 +32,7 @@ export interface NoDataPlaceholderProps { size?: SIZE; className?: string; children?: React.ReactNode; + icon?: ReactElement; } export interface CreatePlaceholderProps { diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index b58159ff88a..1c15ed2798e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -1248,7 +1248,7 @@ "new-conversation": "You are starting a new conversation", "new-to-the-platform": "New to the platform?", "no-access-placeholder": "You don’t have access, please check with the admin to get permissions", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "No Announcements, Click on add announcement to add one.", "no-asset-available": "No assets available.", "no-closed-task": "No Closed Tasks", @@ -1272,6 +1272,7 @@ "no-match-found": "No match found", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "No notifications found", + "no-open-issues": "There aren't any open issues.", "no-open-task": "No Open Tasks", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "You do not have the necessary permissions to perform this action.", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "No source selected for dbt Configuration.", "no-service-connection-details-message": "{{serviceName}} doesn't have connection details filled in. Please add the details before scheduling an ingestion job.", "no-synonyms-available": "No synonyms available.", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "No team found.", "no-terms-found": "No terms found", "no-terms-found-for-search-text": "No terms found for {{searchText}}", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json index 84f56a41da4..a1f961efa24 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json @@ -1248,7 +1248,7 @@ "new-conversation": "Estás iniciando una nueva conversación", "new-to-the-platform": "¿Nuevo en la plataforma?", "no-access-placeholder": "You don’t have access, please check with the admin to get permissions", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "No hay anuncios. Haz clic en agregar anuncio para agregar uno.", "no-asset-available": "No hay activos disponibles.", "no-closed-task": "No hay tareas cerradas", @@ -1272,6 +1272,7 @@ "no-match-found": "No se encontraron coincidencias", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "No se encontraron notificaciones", + "no-open-issues": "There aren't any open issues.", "no-open-task": "No hay tareas abiertas", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "No tiene los permisos necesarios para realizar esta acción.", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "No se ha seleccionado una fuente para la configuración de dbt.", "no-service-connection-details-message": "{{serviceName}} no tiene los detalles de conexión completados. Por favor añada los detalles antes de programar un workflow de ingesta.", "no-synonyms-available": "No hay sinónimos disponibles.", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "No se encontró ningún equipo.", "no-terms-found": "No se encontraron términos", "no-terms-found-for-search-text": "No se encontraron términos para {{searchText}}", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json index d234210638f..06e1f4c5a4a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json @@ -1248,7 +1248,7 @@ "new-conversation": "Vous commencez une nouvelle conversation", "new-to-the-platform": "Nouveau sur la platform?", "no-access-placeholder": "Vous n’avez pas accès, veuillez vérifier auprès de l’administrateur pour obtenir les autorisations", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "Aucune annonce, cliquez sur ajouter une annonce pour en ajouter une.", "no-asset-available": "Aucun actif disponible", "no-closed-task": "Aucune tâche à faire", @@ -1272,6 +1272,7 @@ "no-match-found": "Aucun résultat trouvé", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "Aucune notifiaction trouvé", + "no-open-issues": "There aren't any open issues.", "no-open-task": "Aucune tâche ouverte", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "Vous n'avez pas les permissions requises pour effectuer cette action.", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "Aucune source sélectionnée pour la configuration dbt.", "no-service-connection-details-message": "{{serviceName}} n'a pas les détails de connections remplis. Merci d'ajouter les détails de connections avant de programmer une ingestion.", "no-synonyms-available": "Aucun synonyme n'est disponible.", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "Aucune équipe trouvée.", "no-terms-found": "Aucun terme trouvé", "no-terms-found-for-search-text": "Aucun terme trouvé pour {{searchText}}", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json index b48acbed0fc..51d4212571c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json @@ -1248,7 +1248,7 @@ "new-conversation": "新しく会話を始める", "new-to-the-platform": "新規利用者の場合", "no-access-placeholder": "You don’t have access, please check with the admin to get permissions", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "お知らせはありません。「お知らせを追加」で追加してください。", "no-asset-available": "アセットはありません。", "no-closed-task": "終了したタスクはありません", @@ -1272,6 +1272,7 @@ "no-match-found": "一致するものはありませんでした", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "No notifications found", + "no-open-issues": "There aren't any open issues.", "no-open-task": "開いているタスクはありません", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "あなたはこのアクションを実行する権限を持っていません。", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "No source selected for dbt Configuration.", "no-service-connection-details-message": "{{serviceName}} doesn't have connection details filled in. Please add the details before scheduling an ingestion job.", "no-synonyms-available": "No synonyms available.", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "チームが見つかりません。", "no-terms-found": "用語が見つかりません", "no-terms-found-for-search-text": "No terms found for {{searchText}}", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json index 5d6d39f6918..21d8f0db402 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json @@ -1248,7 +1248,7 @@ "new-conversation": "Você está iniciando uma nova conversa", "new-to-the-platform": "Novo na plataforma?", "no-access-placeholder": "You don’t have access, please check with the admin to get permissions", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "Nenhum anúncio. Clique em adicionar anúncio para adicionar um.", "no-asset-available": "Nenhum ativo disponível.", "no-closed-task": "Nenhuma tarefa concluída", @@ -1272,6 +1272,7 @@ "no-match-found": "Nenhuma correspondência encontrada", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "Nenhuma notificação encontrada", + "no-open-issues": "There aren't any open issues.", "no-open-task": "Nenhuma tarefa aberta", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "Você não tem as permissões necessárias para executar esta ação.", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "Nenhuma fonte selecionada para a configuração do dbt.", "no-service-connection-details-message": "{{serviceName}} não possui detalhes de conexão preenchidos. Por favor adicione os detalhes antes de agendar um trabalho de ingestão.", "no-synonyms-available": "Nenhum sinônimo disponível.", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "Nenhum time encontrado.", "no-terms-found": "Nenhum termo encontrado", "no-terms-found-for-search-text": "Nenhum termo encontrado para {{searchText}}", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json index f29b6391e47..53e90a501d0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json @@ -1248,7 +1248,7 @@ "new-conversation": "您正在开始一次新的对话", "new-to-the-platform": "您是平台新用户?", "no-access-placeholder": "您还没有权限访问,请联系系统管理员", - "no-activity-feed": "No activity has been discovered within the data assets you own or the ones you are currently following", + "no-activity-feed": "We have not found any activity within the data assets you own or the ones you are currently following.", "no-announcement-message": "没有公告,请单击添加公告以新增一个", "no-asset-available": "没有可用的资产", "no-closed-task": "没有关闭的任务", @@ -1272,6 +1272,7 @@ "no-match-found": "未找到匹配项", "no-mentions": "There are no instances where you or your team have been referenced in any activities", "no-notification-found": "未找到通知", + "no-open-issues": "There aren't any open issues.", "no-open-task": "无未完成任务", "no-owned-data": "It appears that you or your team are not currently data asset owners. To start owning data assets, click on the <0>Explore option to discover and claim assets.", "no-permission-for-action": "您没有执行此操作所需的必要权限", @@ -1287,7 +1288,7 @@ "no-selected-dbt": "未为 DBT 配置选择源", "no-service-connection-details-message": "{{serviceName}}没有填写连接详细信息,请在安排提取作业之前添加详细信息", "no-synonyms-available": "无可用同义词", - "no-tasks-assigned": "You don't have any pending tasks assigned to you at the moment", + "no-tasks-assigned": "Currently, there are no pending tasks assigned to you.", "no-team-found": "未找到团队", "no-terms-found": "未找到术语", "no-terms-found-for-search-text": "未找到{{searchText}}的术语", diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.component.tsx index 2322b56f051..44cf9fd14ae 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.component.tsx @@ -308,7 +308,12 @@ const GlossaryPage = () => { } if (!(viewBasicGlossaryPermission || viewAllGlossaryPermission)) { - return ; + return ( + + ); } if (glossaries.length === 0 && !isLoading) {