Skip to content

fix(ui): scope empty-state placeholder styling per caller and add regression tests - #30553

Merged
aniketkatkar97 merged 4 commits into
mainfrom
fix/ingestion-empty-placeholder-styling
Jul 29, 2026
Merged

fix(ui): scope empty-state placeholder styling per caller and add regression tests#30553
aniketkatkar97 merged 4 commits into
mainfrom
fix/ingestion-empty-placeholder-styling

Merge branch 'main' into fix/ingestion-empty-placeholder-styling

5bd0786
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Jul 29, 2026 in 6m 7s

Annotations

Check warning on line 114 in src/components/common/FormBuilderV1/FormBuilderV1.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

The empty object is useless.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3JcRtRVA3J4iomKI&open=AZ-n3JcRtRVA3J4iomKI&pullRequest=30553

Check warning on line 49 in src/utils/DataInsightPureUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use Number.isInteger() instead of isInteger() from lodash.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3g7ltRVA3J4iomVi&open=AZ-n3g7ltRVA3J4iomVi&pullRequest=30553

Check warning on line 178 in src/services/WorkflowValidationService.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This branch's code block is the same as the block for the branch on line 170.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3roetRVA3J4iombb&open=AZ-n3roetRVA3J4iombb&pullRequest=30553

Check warning on line 116 in src/components/WorkflowDefinitions/WorkflowBuilder/forms/CronExpressionBuilder.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3R2atRVA3J4iomN7&open=AZ-n3R2atRVA3J4iomN7&pullRequest=30553

Check warning on line 59 in src/components/Entity/EntityLineage/LineageLayers/LineageLayers.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3XH6tRVA3J4iomQe&open=AZ-n3XH6tRVA3J4iomQe&pullRequest=30553

Check warning on line 63 in src/components/AlertBar/AlertBar.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Add an explicit "type" attribute to this button.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3d0QtRVA3J4iomTo&open=AZ-n3d0QtRVA3J4iomTo&pullRequest=30553

Check warning on line 366 in src/components/SettingsSso/SSOGroupedFieldTemplate/SSOGroupedFieldTemplate.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3YbttRVA3J4iomRI&open=AZ-n3YbttRVA3J4iomRI&pullRequest=30553

Check failure on line 43 in src/components/DataAssets/DataAssetSelectList/DataAssetPickerShell.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3ZudtRVA3J4iomRk&open=AZ-n3ZudtRVA3J4iomRk&pullRequest=30553

Check warning on line 142 in src/components/Database/TableQueries/QueryUsedByOtherTable/QueryUsedByOtherTable.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3G-RtRVA3J4iomI_&open=AZ-n3G-RtRVA3J4iomI_&pullRequest=30553

Check warning on line 177 in src/components/DataMarketplace/AnnouncementsWidgetV2/AnnouncementsWidgetV2.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Add an explicit "type" attribute to this button.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3dRztRVA3J4iomTZ&open=AZ-n3dRztRVA3J4iomTZ&pullRequest=30553

Check warning on line 16 in src/constants/Feeds.constants.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3qV_tRVA3J4iomad&open=AZ-n3qV_tRVA3J4iomad&pullRequest=30553

Check warning on line 2553 in src/utils/CSV/CSVUtilsClassBase.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'value' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3f49tRVA3J4iomVG&open=AZ-n3f49tRVA3J4iomVG&pullRequest=30553

Check warning on line 158 in src/components/DataQuality/TestCases/useTestCaseList.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Consider Set instead of uniq() from lodash; for example, use `[...new Set(values)]`. Check that the behavior is equivalent because the library handles nullish values differently from the native API.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3HyytRVA3J4iomJV&open=AZ-n3HyytRVA3J4iomJV&pullRequest=30553

Check warning on line 76 in src/utils/SearchSettingsUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

`PRIMARY_NAME_FIELDS` should be a `Set`, and use `PRIMARY_NAME_FIELDS.has()` to check existence or non-existence.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3hejtRVA3J4iomVx&open=AZ-n3hejtRVA3J4iomVx&pullRequest=30553

Check failure on line 115 in src/components/common/MarkdownEditor/markdownComponents.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3LO3tRVA3J4iomK1&open=AZ-n3LO3tRVA3J4iomK1&pullRequest=30553

Check warning on line 37 in src/components/TestLibrary/TestDefinitionForm/transformTestDefinitionFormData.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'value' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3RT-tRVA3J4iomNs&open=AZ-n3RT-tRVA3J4iomNs&pullRequest=30553

Check warning on line 180 in src/utils/CustomProperty.utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'value' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3jJBtRVA3J4iomWq&open=AZ-n3jJBtRVA3J4iomWq&pullRequest=30553

Check warning on line 612 in src/utils/EntityUtilClassBase.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This case's code block is the same as the block for the case on line 579.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3hgdtRVA3J4iomV0&open=AZ-n3hgdtRVA3J4iomV0&pullRequest=30553

Check warning on line 86 in src/components/DataInsight/DataInsightSummary.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3aJutRVA3J4iomRu&open=AZ-n3aJutRVA3J4iomRu&pullRequest=30553

Check warning on line 2245 in src/utils/CSV/CSVUtilsClassBase.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'row[column.key] ?? ''' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3f49tRVA3J4iomVD&open=AZ-n3f49tRVA3J4iomVD&pullRequest=30553

Check warning on line 96 in src/components/Settings/Team/TeamDetails/TeamsHeaderSection/TeamsHeadingLabel.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Visible, non-interactive elements with click handlers must have at least one keyboard listener.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3Tp6tRVA3J4iomO9&open=AZ-n3Tp6tRVA3J4iomO9&pullRequest=30553

Check warning on line 55 in src/components/common/OwnerUserList/OwnerUserList.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Consider Array.prototype.reverse() instead of reverse() from lodash; check that the behavior is equivalent because the library handles nullish values differently from the native API.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3MLptRVA3J4iomLQ&open=AZ-n3MLptRVA3J4iomLQ&pullRequest=30553

Check failure on line 1380 in src/components/OntologyExplorer/hooks/useOntologyGraph.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3b8ctRVA3J4iomSy&open=AZ-n3b8ctRVA3J4iomSy&pullRequest=30553

Check failure on line 970 in src/components/OntologyExplorer/hooks/useOntologyExplorer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3cILtRVA3J4iomS6&open=AZ-n3cILtRVA3J4iomS6&pullRequest=30553

Check warning on line 523 in src/components/Domain/AddDomainForm/AddDomainForm.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Consider removing 'undefined' type or '?' specifier, one of them is redundant.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-n3OwKtRVA3J4iomMj&open=AZ-n3OwKtRVA3J4iomMj&pullRequest=30553