diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/PopoverContent.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/PopoverContent.tsx index eca275533885..19fc1afef0bc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/PopoverContent.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/PopoverContent.tsx @@ -12,6 +12,7 @@ */ import { Button, Popover, Space } from 'antd'; +import { ReactComponent as EditIcon } from 'assets/svg/edit-new.svg'; import { isNil, isUndefined, uniqueId } from 'lodash'; import React, { FC, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; @@ -210,18 +211,13 @@ const PopoverContent: FC = ({ {editCheck && ( + onClick={handleEdit} + /> )} {deleteButtonCheck ? ( diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx index b07f64b06ea3..e927048f7d5d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx @@ -22,8 +22,8 @@ import { isUndefined, noop } from 'lodash'; import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Link } from 'react-router-dom'; +import { getNameFromFQN } from 'utils/CommonUtils'; import { - entityDisplayName, getEntityFieldDisplay, getEntityFQN, getEntityType, @@ -100,7 +100,7 @@ const TaskFeedCard = ({ data-testid="entitylink" to={prepareFeedLink(entityType, entityFQN)} onClick={(e) => e.stopPropagation()}> - {entityDisplayName(entityType, entityFQN)} + {getNameFromFQN(entityFQN)} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.component.tsx index b5e2399c2978..3b5cbed7232f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.component.tsx @@ -17,7 +17,6 @@ import { FormProps, useForm } from 'antd/lib/form/Form'; import ResizablePanels from 'components/common/ResizablePanels/ResizablePanels'; import { UserTag } from 'components/common/UserTag/UserTag.component'; import { UserTagSize } from 'components/common/UserTag/UserTag.interface'; -import PageLayoutV1 from 'components/containers/PageLayoutV1'; import { ENTITY_NAME_REGEX } from 'constants/regex.constants'; import { EntityReference } from 'generated/type/entityLineage'; import { FieldProp, FieldTypes } from 'interface/FormUtils.interface'; @@ -305,4 +304,3 @@ const AddGlossary = ({ }; export default AddGlossary; -PageLayoutV1; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AppBar/Appbar.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AppBar/Appbar.tsx index 67ffd8928707..eecf1f3780d3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AppBar/Appbar.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AppBar/Appbar.tsx @@ -292,7 +292,7 @@ const Appbar: React.FC = (): JSX.Element => { {name} -
+
{roles.length > 0 ? getUsersRoles(roles, t('label.role-plural')) : null} {inheritedRoles.length > 0 ? getUsersRoles(inheritedRoles, t('label.inherited-role-plural')) @@ -321,6 +321,7 @@ const Appbar: React.FC = (): JSX.Element => { ) : null} ) : null} +
); }; @@ -333,6 +334,12 @@ const Appbar: React.FC = (): JSX.Element => { icon: <>, isText: true, }, + { + name: t('label.logout'), + to: '', + disabled: false, + method: onLogoutHandler, + }, ]; const searchHandler = (value: string) => { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx index a54c1d302f7a..ef599e36b7f7 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx @@ -31,7 +31,7 @@ import TierCard from 'components/common/TierCard/TierCard'; import TitleBreadcrumb from 'components/common/title-breadcrumb/title-breadcrumb.component'; import EntityHeaderTitle from 'components/Entity/EntityHeaderTitle/EntityHeaderTitle.component'; import { FQN_SEPARATOR_CHAR } from 'constants/char.constants'; -import { getDashboardDetailsPath } from 'constants/constants'; +import { DE_ACTIVE_COLOR, getDashboardDetailsPath } from 'constants/constants'; import { NO_PERMISSION_FOR_ACTION } from 'constants/HelperTextUtil'; import { EntityTabs, EntityType } from 'enums/entity.enum'; import { Container } from 'generated/entity/data/container'; @@ -474,7 +474,7 @@ export const DataAssetsHeader = ({ disabled={ !(permissions.EditAll || permissions.EditTags) } - icon={} + icon={} size="small" type="text" /> diff --git a/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.style.less b/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.style.less index a3a031c325eb..8cfdf7a6fd4c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.style.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.style.less @@ -22,7 +22,7 @@ } .entity-panel-container { - margin-top: 48px; + margin-top: 60px; .ant-drawer-header { border-bottom: none; padding-bottom: 0 !important; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/AddPipeLineModal.tsx b/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/AddPipeLineModal.tsx index 30bb19c04deb..678744d12553 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/AddPipeLineModal.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/AddPipeLineModal.tsx @@ -67,8 +67,8 @@ const AddPipeLineModal = ({ , ]} maskClosable={false} + open={showAddPipelineModal} title={isUndefined(selectedPipelineId) ? 'Add Pipeline' : 'Edit Pipeline'} - visible={showAddPipelineModal} onCancel={onModalCancel}>