)}
-
+ >
);
};
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Services/Services.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Services/Services.tsx
index 18243e620aa..1c5ce7921dd 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Services/Services.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Services/Services.tsx
@@ -11,7 +11,7 @@
* limitations under the License.
*/
-import { Card, Col, Row, Tooltip, Typography } from 'antd';
+import { Button as ButtonAntd, Card, Col, Row, Tooltip } from 'antd';
import { isEmpty } from 'lodash';
import React, { Fragment, useMemo } from 'react';
import { Link, useHistory } from 'react-router-dom';
@@ -23,10 +23,7 @@ import {
} from '../../constants/constants';
import { CONNECTORS_DOCS } from '../../constants/docs.constants';
import { NO_PERMISSION_FOR_ACTION } from '../../constants/HelperTextUtil';
-import {
- AddPlaceHolder,
- servicesDisplayName,
-} from '../../constants/services.const';
+import { servicesDisplayName } from '../../constants/services.const';
import { ServiceCategory } from '../../enums/service.enum';
import { Operation } from '../../generated/entity/policies/policy';
import { Paging } from '../../generated/type/paging';
@@ -43,6 +40,7 @@ import {
getResourceEntityFromServiceCategory,
} from '../../utils/ServiceUtils';
import { Button } from '../buttons/Button/Button';
+import ErrorPlaceHolder from '../common/error-with-placeholder/ErrorPlaceHolder';
import NextPrevious from '../common/next-previous/NextPrevious';
import NonAdminAction from '../common/non-admin-action/NonAdminAction';
import RichTextEditorPreviewer from '../common/rich-text-editor/RichTextEditorPreviewer';
@@ -64,8 +62,6 @@ const Services = ({
currentPage,
onPageChange,
}: ServicesProps) => {
- const { Paragraph, Link: AntdLink } = Typography;
-
const { isAuthDisabled } = useAuthContext();
const history = useHistory();
const handleAddServiceClick = () => {
@@ -187,41 +183,27 @@ const Services = ({
)}
) : (
-
-
-
-
-
-
- {' '}
- Adding a new {servicesDisplayName[serviceName]} is easy, just give
- it a spin!
-
-
- {' '}
- Still need help? Refer to our{' '}
-
- docs
- {' '}
- for more information.
-
-
-
+
+
-
- {' '}
-
-
-
+
+
+ }
+ doc={CONNECTORS_DOCS}
+ heading={servicesDisplayName[serviceName]}
+ type="ADD_DATA"
+ />
+
)}
);
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx
index d73840ecf94..ebb5277c88c 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx
@@ -26,6 +26,7 @@ import {
TITLE_FOR_NON_ADMIN_ACTION,
TITLE_FOR_NON_OWNER_ACTION,
} from '../../constants/constants';
+import { TEAMS_DOCS } from '../../constants/docs.constants';
import { ADMIN_ONLY_ACCESSIBLE_SECTION } from '../../enums/common.enum';
import { EntityType } from '../../enums/entity.enum';
import { OwnerType } from '../../enums/user.enum';
@@ -672,7 +673,9 @@ const TeamDetails = ({
}
+ doc={TEAMS_DOCS}
heading="Teams"
+ type="ADD_DATA"
/>
)}
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetailsV1.tsx b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetailsV1.tsx
index 4c39e69c68a..1b6b078ae74 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetailsV1.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetailsV1.tsx
@@ -38,6 +38,7 @@ import {
getTeamAndUserDetailsPath,
PAGE_SIZE,
} from '../../constants/constants';
+import { TEAMS_DOCS } from '../../constants/docs.constants';
import {
NO_PERMISSION_FOR_ACTION,
NO_PERMISSION_TO_VIEW,
@@ -993,7 +994,9 @@ const TeamDetailsV1 = ({
}
+ doc={TEAMS_DOCS}
heading="Teams"
+ type="ADD_DATA"
/>
)}
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Webhooks/WebhooksV1.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Webhooks/WebhooksV1.tsx
index 0a7f17e880e..cf30dc6ad72 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Webhooks/WebhooksV1.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Webhooks/WebhooksV1.tsx
@@ -11,13 +11,14 @@
* limitations under the License.
*/
-import { Col, Row, Select, Space, Tooltip } from 'antd';
+import { Button as ButtonAntd, Col, Row, Select, Space, Tooltip } from 'antd';
import { AxiosError } from 'axios';
import classNames from 'classnames';
import { isEmpty, isNil } from 'lodash';
import React, { FC, useEffect, useMemo, useState } from 'react';
import { deleteWebhook } from '../../axiosAPIs/webhookAPI';
import { PAGE_SIZE } from '../../constants/constants';
+import { WEBHOOK_DOCS } from '../../constants/docs.constants';
import { NO_PERMISSION_FOR_ACTION } from '../../constants/HelperTextUtil';
import { WebhookType } from '../../generated/api/events/createWebhook';
import { Webhook } from '../../generated/entity/events/webhook';
@@ -85,20 +86,22 @@ const WebhooksV1: FC = ({
? 'Add Webhook'
: NO_PERMISSION_FOR_ACTION
}>
-
+