Skip to content

remove unused files and functions

6e39ec0
Select commit
Loading
Failed to load commit list.
Open

feat(ui): lazy load home page widgets #28079

remove unused files and functions
6e39ec0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded May 15, 2026 in 4m 30s

Annotations

Check warning on line 87 in src/components/common/MUIAsyncTreeSelect/MUIAsyncTreeSelect.tsx

See this annotation in the file changed.

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

'useTreeViewApiRef' is deprecated.

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

Check warning on line 120 in src/pages/DataQuality/DataQualityProvider.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=AZ4guMPq8mJjXHueFMdM&open=AZ4guMPq8mJjXHueFMdM&pullRequest=28079

Check failure on line 62 in src/components/BlockEditor/Extensions/File/FileNode.ts

See this annotation in the file changed.

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

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

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

Check warning on line 148 in src/components/common/atoms/actions/useDelete.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=AZ4guBG18mJjXHueFMPy&open=AZ4guBG18mJjXHueFMPy&pullRequest=28079

Check warning on line 869 in src/pages/GlossaryTermRelationSettings/GlossaryTermRelationSettings.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=AZ4guMpB8mJjXHueFMdz&open=AZ4guMpB8mJjXHueFMdz&pullRequest=28079

Check warning on line 64 in src/components/common/Form/JSONSchema/JsonSchemaWidgets/FileUploadWidget.tsx

See this annotation in the file changed.

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

Prefer `Blob#text()` over `FileReader#readAsText(blob)`.

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

Check failure on line 588 in src/components/Auth/AuthProviders/AuthProvider.tsx

See this annotation in the file changed.

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

Prefer `throw error` over `return Promise.reject(error)`.

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

Check warning on line 70 in src/pages/CustomizableDataProductPage/CustomizableDataProductPage.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=AZ4guMel8mJjXHueFMde&open=AZ4guMel8mJjXHueFMde&pullRequest=28079

Check warning on line 120 in src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.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=AZ4guGWu8mJjXHueFMVw&open=AZ4guGWu8mJjXHueFMVw&pullRequest=28079

Check warning on line 418 in src/components/common/CoverImageUpload/MUICoverImageUpload.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=AZ4guBKL8mJjXHueFMP_&open=AZ4guBKL8mJjXHueFMP_&pullRequest=28079

Check warning on line 345 in src/components/Database/Profiler/TableProfiler/ColumnProfileTable/ColumnProfileTable.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=AZ4guAbp8mJjXHueFMPE&open=AZ4guAbp8mJjXHueFMPE&pullRequest=28079

Check warning on line 1173 in src/utils/EntityUtils.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=AZ4guODY8mJjXHueFMgF&open=AZ4guODY8mJjXHueFMgF&pullRequest=28079

Check warning on line 61 in src/components/KnowledgeCenter/TitleComponent/TitleComponent.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=AZ4guHwW8mJjXHueFMXe&open=AZ4guHwW8mJjXHueFMXe&pullRequest=28079

Check warning on line 1991 in src/constants/mockTourData.constants.ts

See this annotation in the file changed.

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

Don't use a zero fraction in the number.

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

Check warning on line 13 in src/components/common/DeleteModal/DeleteModalMUI.tsx

See this annotation in the file changed.

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

Complete the task associated to this "TODO" comment.

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

Check failure on line 676 in src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.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=AZ4guHRO8mJjXHueFMWs&open=AZ4guHRO8mJjXHueFMWs&pullRequest=28079

Check warning on line 71 in src/utils/KnowledgePageUtils.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=AZ4guNXn8mJjXHueFMew&open=AZ4guNXn8mJjXHueFMew&pullRequest=28079

Check warning on line 520 in src/hooks/useGridEditController.ts

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=AZ4guQH98mJjXHueFMji&open=AZ4guQH98mJjXHueFMji&pullRequest=28079

Check failure on line 750 in src/components/DataQuality/AddDataQualityTest/components/TestCaseFormV1.tsx

See this annotation in the file changed.

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

Prefer `throw error` over `return Promise.reject(error)`.

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

Check warning on line 80 in src/utils/AlertsClassBase.ts

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=AZ4guPeY8mJjXHueFMic&open=AZ4guPeY8mJjXHueFMic&pullRequest=28079

Check warning on line 73 in src/constants/regex.constants.ts

See this annotation in the file changed.

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

Simplify this regular expression to reduce its complexity from 28 to the 20 allowed.

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

Check warning on line 748 in src/pages/TableDetailsPageV1/TableDetailsPageV1.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=AZ4guLcA8mJjXHueFMcE&open=AZ4guLcA8mJjXHueFMcE&pullRequest=28079

Check warning on line 285 in src/utils/KnowledgePageUtils.tsx

See this annotation in the file changed.

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

Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.

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

Check warning on line 70 in src/components/Settings/Bot/BotDetails/BotDetails.component.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=AZ4guG7x8mJjXHueFMWV&open=AZ4guG7x8mJjXHueFMWV&pullRequest=28079

Check warning on line 126 in src/utils/CustomizableLandingPageUtils.tsx

See this annotation in the file changed.

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

Move this array "sort" operation to a separate statement or replace it with "toSorted".

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