diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx index cdfe2635937..926f596c2c2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx @@ -164,7 +164,7 @@ const ActivityFeedCard: FC = ({
= ({ style={{ ...leftPanelAntCardStyle, marginTop: '20px', - paddingTop: isTask ? '8px' : '', + paddingTop: isTask || isAnnouncement ? '8px' : '', border: isTask ? `1px solid ${TASK_BORDER}` : isAnnouncement diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/AnnouncementThreads.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/AnnouncementThreads.tsx index 8d8224408be..0c5042cf6c6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/AnnouncementThreads.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/AnnouncementThreads.tsx @@ -98,6 +98,7 @@ const AnnouncementThreads: FC = ({ style={{ ...leftPanelAntCardStyle, marginTop: '20px', + paddingTop: '8px', border: `1px solid ${ANNOUNCEMENT_BORDER}`, background: `${ANNOUNCEMENT_BG}`, }}> diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less index 9f56de06352..d7ebe32f7d2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less @@ -1,38 +1,39 @@ @background: #fcf6fc; @border: #b02aac99; @text: #b02aac; +@primary: #7147e8; .announcement-badge-container { position: absolute; - top: -11px; - left: 10px; + top: -12px; + left: 16px; background: @background; border-radius: 4px; border: 1px solid @border; - padding: 2px 8px; + padding: 0 8px; display: flex; align-items: center; justify-content: center; } .announcement-badge { - width: 12px; - height: 12px; + width: 14px; + height: 14px; background: @background; } .announcement-content { - font-size: 10px; + font-size: 12px; margin-left: 5px; color: @text; - font-weight: 600; + font-weight: 500; } .task-badge { background: #f1edfd; border: 1px solid #c6b5f6; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06); - border-radius: 2px; - color: @text; + border-radius: 4px; + color: @primary; font-size: 12px; } diff --git a/openmetadata-ui/src/main/resources/ui/src/components/GlobalSearchProvider/GlobalSearchSuggestions/GlobalSearchSuggestions.tsx b/openmetadata-ui/src/main/resources/ui/src/components/GlobalSearchProvider/GlobalSearchSuggestions/GlobalSearchSuggestions.tsx index 1535e05f4d8..1605b1eb72d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/GlobalSearchProvider/GlobalSearchSuggestions/GlobalSearchSuggestions.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/GlobalSearchProvider/GlobalSearchSuggestions/GlobalSearchSuggestions.tsx @@ -11,7 +11,7 @@ * limitations under the License. */ -import { Empty, Select } from 'antd'; +import { Select, Typography } from 'antd'; import { AxiosError } from 'axios'; import { isEmpty } from 'lodash'; import React, { useEffect, useRef, useState } from 'react'; @@ -27,6 +27,7 @@ import SVGIcons, { Icons } from '../../../utils/SvgUtils'; import { getEntityLink } from '../../../utils/TableUtils'; import { showErrorToast } from '../../../utils/ToastUtils'; import CmdKIcon from '../../common/CmdKIcon/CmdKIcon.component'; +import ErrorPlaceHolder from '../../common/error-with-placeholder/ErrorPlaceHolder'; import Loader from '../../Loader/Loader'; import { DashboardSource, @@ -319,7 +320,15 @@ const GlobalSearchSuggestions = ({ listHeight={220} notFoundContent={
- {isSuggestionsLoading ? : } + {isSuggestionsLoading ? ( + + ) : ( + + + No Data Available + + + )}
} open={!isEmpty(value)} 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 3bcaf137ffe..4379935df18 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 @@ -70,7 +70,7 @@ const ErrorPlaceHolder = ({
) : ( -
+
-
+