diff --git a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.style.ts b/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.style.ts
deleted file mode 100644
index 891403029f3..00000000000
--- a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.style.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright 2022 Collate.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export const cardStyle = {
- base: 'tw-flex tw-flex-col tw-border tw-bg-white',
- default: 'tw-border-main',
- active: 'tw-border-primary',
- selected: 'tw-border-primary',
- header: {
- base: 'tw-flex tw-px-5 tw-py-3 tw-cursor-pointer tw-justify-between tw-items-center',
- default: '',
- active: 'tw-bg-primary-lite tw-border-b tw-border-primary',
- selected: 'tw-bg-primary tw-text-white',
- title: 'tw-text-base tw-mb-0 tw-font-semibold',
- description: 'tw-font-medium tw-pr-2 tw-font-normal',
- },
- body: {
- base: 'tw-py-5 tw-px-10',
- default: 'tw-hidden',
- active: 'tw-block',
- selected: 'tw-block',
- content: {
- withBorder: 'tw-py-3 tw-border-b tw-border-main',
- withoutBorder: 'tw-py-1',
- },
- },
-};
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.test.tsx b/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.test.tsx
deleted file mode 100644
index ef3523689ea..00000000000
--- a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.test.tsx
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * Copyright 2022 Collate.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { fireEvent, render } from '@testing-library/react';
-import React from 'react';
-import CardListItem from './CardWithListItem';
-
-const mockSelectFunction = jest.fn();
-const mockSaveFuntion = jest.fn();
-const mockCard = {
- id: 'test1',
- title: 'card',
- description: 'description*',
- data: 'data',
-};
-
-jest.mock('../../common/rich-text-editor/RichTextEditorPreviewer', () => {
- return jest.fn().mockReturnValue(
RichTextEditorPreviewer
);
-});
-
-describe('Test CardWithListing Component', () => {
- it('Component should render', () => {
- const { getByTestId } = render(
-
- );
-
- const card = getByTestId('card-list');
-
- expect(card).toBeInTheDocument();
-
- expect(getByTestId('select-tier-button')).toBeInTheDocument();
- });
-
- it('OnClick onSelect function should call', () => {
- const { getByTestId } = render(
-
- );
-
- const card = getByTestId('card-list');
- fireEvent(
- card,
- new MouseEvent('click', {
- bubbles: true,
- cancelable: true,
- })
- );
-
- expect(mockSelectFunction).toHaveBeenCalledTimes(1);
- });
-
- it('OnClick onSelect function should call and Select tier button should be visible', () => {
- const { getByTestId } = render(
-
- );
-
- const card = getByTestId('card-list');
- fireEvent(
- card,
- new MouseEvent('click', {
- bubbles: true,
- cancelable: true,
- })
- );
-
- expect(mockSelectFunction).toHaveBeenCalledTimes(1);
-
- const tierSelectButton = getByTestId('select-tier-button');
-
- expect(tierSelectButton).toBeInTheDocument();
- });
-
- it('onClick of select tier button onSave function should call.', () => {
- const { getByTestId } = render(
-
- );
-
- const card = getByTestId('card-list');
- fireEvent(
- card,
- new MouseEvent('click', {
- bubbles: true,
- cancelable: true,
- })
- );
-
- expect(mockSelectFunction).toHaveBeenCalledTimes(1);
-
- const tierSelectButton = getByTestId('select-tier-button');
-
- expect(tierSelectButton).toBeInTheDocument();
-
- fireEvent.click(tierSelectButton);
-
- expect(mockSaveFuntion).toHaveBeenCalledTimes(1);
- });
-});
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.tsx b/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.tsx
deleted file mode 100644
index 904bb5a49aa..00000000000
--- a/openmetadata-ui/src/main/resources/ui/src/components/cardlist/CardListItem/CardWithListItem.tsx
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * Copyright 2022 Collate.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DownOutlined, RightOutlined } from '@ant-design/icons';
-import Icon from '@ant-design/icons/lib/components/Icon';
-import { Button } from 'antd';
-import classNames from 'classnames';
-import { t } from 'i18next';
-import React, { FunctionComponent, useEffect, useState } from 'react';
-import { ReactComponent as IconRemove } from '../../../assets/svg/ic-remove.svg';
-import RichTextEditorPreviewer from '../../common/rich-text-editor/RichTextEditorPreviewer';
-import Loader from '../../Loader/Loader';
-import { Props } from './CardWithListItem.interface';
-import { cardStyle } from './CardWithListItem.style';
-
-const CardListItem: FunctionComponent = ({
- card,
- index,
- isActive,
- isSelected,
- onCardSelect,
- onSave,
- tierStatus,
- className,
- onRemove,
-}: Props) => {
- const [isExpanded, setIsExpanded] = useState(isActive);
-
- useEffect(() => {
- setIsExpanded(isActive);
- }, [isActive]);
-
- const getCardBodyStyle = () => {
- const activeStyle = isActive ? cardStyle.active : cardStyle.default;
-
- return isSelected ? cardStyle.selected : activeStyle;
- };
-
- const getCardHeaderStyle = () => {
- const activeHeaderStyle = isActive
- ? cardStyle.header.active
- : cardStyle.header.default;
-
- return isSelected ? cardStyle.header.selected : activeHeaderStyle;
- };
-
- const getTierSelectButton = (tier: string) => {
- switch (tierStatus) {
- case 'waiting':
- return (
-
- );
-
- case 'success':
- return (
-
- );
-
- default:
- return (
-
- );
- }
- };
-
- const getCardIcon = (cardId: string) => {
- if (isSelected || (isSelected && isActive)) {
- return (
-
- );
- } else if (isActive) {
- return getTierSelectButton(cardId);
- } else {
- return (
-
- );
- }
- };
-
- const handleCardSelect = () => {
- onCardSelect(card.id);
- };
-
- return (
-