Skip to content

fix sonar

1f18b79
Select commit
Loading
Failed to load commit list.
Merged

fix(playwright): expand nested columns before suggestion assertions #28059

fix sonar
1f18b79
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded May 12, 2026 in 6m 59s

Annotations

Check warning on line 156 in src/components/Settings/Users/UsersProfile/UserPermissions/UserPermissions.component.tsx

See this annotation in the file changed.

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

Extract this nested ternary operation into an independent statement.

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

Check warning on line 93 in src/components/MyData/CustomizableComponents/CustomiseLandingPageHeader/CustomiseSearchBar.tsx

See this annotation in the file changed.

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

Unexpected negated condition.

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

Check warning on line 652 in src/utils/QueryBuilderElasticsearchFormatUtils.js

See this annotation in the file changed.

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

Prefer `Number.parseFloat` over `parseFloat`.

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

Check warning on line 52 in src/components/common/InlineAlert/InlineAlert.tsx

See this annotation in the file changed.

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

'description' may use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 267 in src/components/common/DomainSelectableTree/DomainSelectableTree.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

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

Check warning on line 131 in src/utils/DataMarketplace/DataMarketplaceClassBase.ts

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

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

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

See this annotation in the file changed.

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

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

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

Check warning on line 40 in src/components/Learning/ResourcePlayer/StorylaneTour.component.tsx

See this annotation in the file changed.

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

'frameBorder' is deprecated.

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

Check warning on line 778 in src/components/KnowledgeGraph/KnowledgeGraph.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

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

Check warning on line 87 in src/components/Database/Profiler/TableProfiler/TableProfilerChart/TableProfilerChart.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4b4IpV8bS0tmnOYF-j&open=AZ4b4IpV8bS0tmnOYF-j&pullRequest=28059

Check failure on line 107 in src/components/common/atoms/asyncTreeSelect/useTreeSelection.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 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4b4JK88bS0tmnOYF-_&open=AZ4b4JK88bS0tmnOYF-_&pullRequest=28059

Check failure on line 161 in src/components/OntologyExplorer/OntologyExplorer.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 23 to the 15 allowed.

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

Check warning on line 636 in src/utils/JSONLogicSearchClassBase.ts

See this annotation in the file changed.

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

Unexpected negated condition.

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

Check warning on line 266 in src/pages/EditConnectionFormPage/EditConnectionFormPage.component.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since it does not change the type of the expression.

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

Check failure on line 278 in src/utils/BlockEditorUtils.ts

See this annotation in the file changed.

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

Prefer `.dataset` over `setAttribute(…)`.

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

Check warning on line 1494 in src/components/DataQuality/AddDataQualityTest/components/TestCaseFormV1.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

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

Check failure on line 1356 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=AZ4b4QCv8bS0tmnOYGGE&open=AZ4b4QCv8bS0tmnOYGGE&pullRequest=28059

Check warning on line 236 in src/components/DataAssets/AssetsSelectionModal/useAssetSelectionContent.tsx

See this annotation in the file changed.

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

This assertion is unnecessary since the receiver accepts the original type of the expression.

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

Check failure on line 54 in src/utils/SwMessenger.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=AZ4b4TpL8bS0tmnOYGJy&open=AZ4b4TpL8bS0tmnOYGJy&pullRequest=28059

Check warning on line 54 in src/components/BlockEditor/Extensions/File/AttachmentComponents/FileAttachment.tsx

See this annotation in the file changed.

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

Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4b34rq8bS0tmnOYF-R&open=AZ4b34rq8bS0tmnOYF-R&pullRequest=28059

Check warning on line 42 in src/components/BlockEditor/Extensions/File/AttachmentComponents/FileAttachment.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=AZ4b34rq8bS0tmnOYF-Q&open=AZ4b34rq8bS0tmnOYF-Q&pullRequest=28059

Check warning on line 16 in src/utils/EnvironmentUtils.ts

See this annotation in the file changed.

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

Compare with `undefined` directly instead of using `typeof`.

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

Check warning on line 587 in src/components/SearchSettings/EntitySeachSettings/EntitySearchSettings.tsx

See this annotation in the file changed.

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

Unexpected negated condition.

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

Check warning on line 702 in src/components/DataQuality/AddDataQualityTest/components/TestCaseFormV1.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=AZ4b4LkI8bS0tmnOYGB2&open=AZ4b4LkI8bS0tmnOYGB2&pullRequest=28059

Check warning on line 536 in src/utils/CanvasUtils.ts

See this annotation in the file changed.

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

Prefer `Number.parseFloat` over `parseFloat`.

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