Skip to content

Using uuid instead of crypto.randomUuid#28990

Merged
Rohit0301 merged 3 commits into
mainfrom
context-center-upload-document-issue
Jun 12, 2026
Merged

Using uuid instead of crypto.randomUuid#28990
Rohit0301 merged 3 commits into
mainfrom
context-center-upload-document-issue

Merge branch 'main' into context-center-upload-document-issue

44eb643
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Jun 12, 2026 in 8m 36s

Annotations

Check warning on line 107 in src/components/Glossary/AddGlossary/AddGlossary.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=AZ66tlD0sVYopjrwjwyZ&open=AZ66tlD0sVYopjrwjwyZ&pullRequest=28990

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

Prefer using an optional chain expression instead, as it's more concise and easier to read.

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

Check warning on line 314 in src/utils/TasksUtils.ts

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=AZ66tqOpsVYopjrwjw3s&open=AZ66tqOpsVYopjrwjw3s&pullRequest=28990

Check warning on line 160 in src/components/ContextCenter/MemoriesView/MemoriesView.component.tsx

See this annotation in the file changed.

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

Prefer `globalThis` over `window`.

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

Check failure on line 384 in src/components/common/CoverImageUpload/MUICoverImageUpload.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 25 to the 15 allowed.

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

Check warning on line 195 in src/hooks/useWorkflowState.ts

See this annotation in the file changed.

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

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

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

Check warning on line 67 in src/components/Alerts/DestinationFormItem/TeamAndUserSelectItem/TeamAndUserSelectItem.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=AZ66tm_SsVYopjrwjw0E&open=AZ66tm_SsVYopjrwjw0E&pullRequest=28990

Check warning on line 337 in src/components/Customization/GenericProvider/GenericProvider.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=AZ66tlHCsVYopjrwjwyc&open=AZ66tlHCsVYopjrwjwyc&pullRequest=28990

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

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=AZ66tqsdsVYopjrwjw4a&open=AZ66tqsdsVYopjrwjw4a&pullRequest=28990

Check warning on line 315 in src/pages/TasksPage/RequestDescriptionPage/RequestDescriptionPage.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=AZ66tucBsVYopjrwjw9i&open=AZ66tucBsVYopjrwjw9i&pullRequest=28990

Check warning on line 778 in src/pages/EntityVersionPage/EntityVersionPage.component.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=AZ66tv1ZsVYopjrwjw_J&open=AZ66tv1ZsVYopjrwjw_J&pullRequest=28990

Check warning on line 50 in src/components/common/MuiDrawer/MuiDrawer.tsx

See this annotation in the file changed.

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

'PaperProps' is deprecated.

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

Check warning on line 505 in src/utils/CanvasUtils.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 24 to the 20 allowed.

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

Check warning on line 599 in src/components/Database/Profiler/DataQualityTab/DataQualityTab.tsx

See this annotation in the file changed.

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

Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.

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

Check warning on line 213 in src/components/Glossary/GlossaryHeader/GlossaryHeader.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=AZ66tk2isVYopjrwjwyO&open=AZ66tk2isVYopjrwjwyO&pullRequest=28990

Check warning on line 219 in src/components/Metric/MetricVersion/MetricVersion.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=AZ66to44sVYopjrwjw2c&open=AZ66to44sVYopjrwjw2c&pullRequest=28990

Check warning on line 17 in src/constants/Mydata.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=AZ66tw5TsVYopjrwjxAn&open=AZ66tw5TsVYopjrwjxAn&pullRequest=28990

Check warning on line 179 in src/utils/FeedUtils.tsx

See this annotation in the file changed.

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

ReactDOM.render is deprecated since React 18.0.0, use createRoot instead

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

Check warning on line 493 in src/components/Glossary/GlossaryHeader/GlossaryHeader.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=AZ66tk2isVYopjrwjwyR&open=AZ66tk2isVYopjrwjwyR&pullRequest=28990

Check warning on line 93 in src/components/DataInsight/KPILatestResultsV1.tsx

See this annotation in the file changed.

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

Prefer `Math.max()` to simplify ternary expressions.

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

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

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 594.

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

Check warning on line 42 in src/utils/date-time/DateTimeUtils.ts

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=AZ66tqx6sVYopjrwjw4f&open=AZ66tqx6sVYopjrwjw4f&pullRequest=28990

Check warning on line 49 in src/components/common/atoms/TagChip/TagChip.tsx

See this annotation in the file changed.

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

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

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

Check warning on line 391 in src/components/common/MUIUserTeamSelect/MUIUserTeamSelect.tsx

See this annotation in the file changed.

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

'ListboxProps' is deprecated.

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

Check failure on line 2055 in src/pages/ColumnBulkOperations/ColumnGrid/ColumnGrid.component.tsx

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=AZ66tvfisVYopjrwjw-q&open=AZ66tvfisVYopjrwjw-q&pullRequest=28990