diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts index 1e89515c5e7..e87508053f0 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts @@ -1008,6 +1008,14 @@ export const checkForEditActions = async ({ continue; } + if (elementSelector === '[data-testid="entity-follow-button"]') { + deleted + ? await expect(page.locator(elementSelector)).not.toBeVisible() + : await expect(page.locator(elementSelector)).toBeVisible(); + + continue; + } + const isDisabled = await page .locator(`${containerSelector} ${elementSelector}`) .isEnabled(); diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/metric.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/metric.ts index e3ca0a875e6..0131441b439 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/metric.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/metric.ts @@ -27,7 +27,7 @@ export const updateMetricType = async (page: Page, metric: string) => { // verify the metric type is updated await expect( - page.getByText(`Metric Type: ${metric.toUpperCase()}`) + page.getByText(`Metric Type ${metric.toUpperCase()}`) ).toBeVisible(); }; @@ -60,7 +60,7 @@ export const updateUnitOfMeasurement = async ( // verify the unit of measurement is updated await expect( - page.getByText(`Unit of Measurement: ${unitOfMeasurement.toUpperCase()}`) + page.getByText(`Unit of Measurement ${unitOfMeasurement.toUpperCase()}`) ).toBeVisible(); }; @@ -88,7 +88,7 @@ export const updateGranularity = async (page: Page, granularity: string) => { // verify the granularity is updated await expect( - page.getByText(`Granularity: ${granularity.toUpperCase()}`) + page.getByText(`Granularity ${granularity.toUpperCase()}`) ).toBeVisible(); }; @@ -260,20 +260,20 @@ export const addMetric = async (page: Page) => { // verify the metric type is updated await expect( - page.getByText(`Metric Type: ${metricData.metricType.toUpperCase()}`) + page.getByText(`Metric Type ${metricData.metricType.toUpperCase()}`) ).toBeVisible(); // verify the unit of measurement is updated await expect( page.getByText( - `Unit of Measurement: ${metricData.unitOfMeasurement.toUpperCase()}` + `Unit of Measurement ${metricData.unitOfMeasurement.toUpperCase()}` ) ).toBeVisible(); // verify the granularity is updated await expect( - page.getByText(`Granularity: ${metricData.granularity.toUpperCase()}`) + page.getByText(`Granularity ${metricData.granularity.toUpperCase()}`) ).toBeVisible(); // clean the created metric diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/edit-new.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/edit-new.svg index afcbb4e114c..d93d16a4b1b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/assets/svg/edit-new.svg +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/edit-new.svg @@ -1,3 +1,3 @@ - - - + + + \ No newline at end of file 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 42e094f0514..e58f3f557f4 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 @@ -121,7 +121,7 @@ export const ExtraInfoLabel = ({ className="whitespace-nowrap text-sm d-flex flex-col gap-2" data-testid={dataTestId}> {!isEmpty(label) && ( - {`${label}: `} + {label} )} {!isEmpty(label) && ( - {`${label}: `} + {label} )}
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityHeaderTitle/EntityHeaderTitle.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityHeaderTitle/EntityHeaderTitle.component.tsx index 7cc0d218b0e..366f212cee3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityHeaderTitle/EntityHeaderTitle.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityHeaderTitle/EntityHeaderTitle.component.tsx @@ -99,24 +99,26 @@ const EntityHeaderTitle = ({
- - {stringToHTML(displayName || name)} - {openEntityInNewPage && ( - - )} - + + + {stringToHTML(displayName || name)} + {openEntityInNewPage && ( + + )} + + - {!excludeEntityService && !isCustomizedView && handleFollowingClick && ( + {!excludeEntityService && !deleted && !isCustomizedView && handleFollowingClick && ( }> {getTagDisplay(tagName)} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/tagsV1.less b/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/tagsV1.less index 08f90ad879c..5c3084e3023 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/tagsV1.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Tag/TagsV1/tagsV1.less @@ -16,7 +16,7 @@ .ant-tag.tag-chip { max-width: 100%; display: flex; - gap: 8px; + gap: 4px; align-items: center; font-size: 12px; font-weight: 500; @@ -67,9 +67,3 @@ font-weight: 500; color: inherit; } -.ant-tag.tag-chip.tag-chip-content { - background-color: @background-secondary; - border: 1px solid @border-secondary; - width: 100%; - height: 24px; -} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/DomainLabel/DomainLabel.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/DomainLabel/DomainLabel.component.tsx index dd888e54c8e..3c09d298f5c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/DomainLabel/DomainLabel.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/DomainLabel/DomainLabel.component.tsx @@ -205,7 +205,7 @@ export const DomainLabel = ({
{headerLayout && (
{t('label.domain')} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/DomainSelectableList/DomainSelectableList.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/DomainSelectableList/DomainSelectableList.component.tsx index 796ba82fbb9..22f3a693fc5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/DomainSelectableList/DomainSelectableList.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/DomainSelectableList/DomainSelectableList.component.tsx @@ -103,7 +103,7 @@ const DomainSelectableList = ({ // Used Button to stop click propagation event anywhere in the component to parent // TeamDetailV1 collapsible panel