Skip to content

fixes 27953: migrate CodeMirror v5 to v6 (@codemirror/* packages)#28438

Open
satender-kumar-collate wants to merge 41 commits into
mainfrom
upgrade/cmV6
Open

fixes 27953: migrate CodeMirror v5 to v6 (@codemirror/* packages)#28438
satender-kumar-collate wants to merge 41 commits into
mainfrom
upgrade/cmV6

Merge branch 'main' into upgrade/cmV6

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

Annotations

Check warning on line 460 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=AZ5kiGPa4nQY5THtVNrV&open=AZ5kiGPa4nQY5THtVNrV&pullRequest=28438

Check warning on line 167 in src/components/Certification/Certification.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=AZ5kiJLa4nQY5THtVNuM&open=AZ5kiJLa4nQY5THtVNuM&pullRequest=28438

Check warning on line 164 in src/components/Settings/Users/UserProfileIcon/UserProfileIcon.component.tsx

See this annotation in the file changed.

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

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

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

Check warning on line 65 in src/components/Database/SampleDataWithMessages/MessageCard.tsx

See this annotation in the file changed.

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

Prefer `String#replaceAll()` over `String#replace()`.

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

Check warning on line 543 in src/components/DataContract/ContractSecurityFormTab/ContractSecurityFormTab.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=AZ5kiHNj4nQY5THtVNr5&open=AZ5kiHNj4nQY5THtVNr5&pullRequest=28438

Check warning on line 550 in src/utils/ServiceUtilClassBase.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=AZ5kiMij4nQY5THtVNyf&open=AZ5kiMij4nQY5THtVNyf&pullRequest=28438

Check warning on line 369 in src/components/DriveService/Directory/DirectoryDetails.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=AZ5kh_jJ4nQY5THtVNlq&open=AZ5kh_jJ4nQY5THtVNlq&pullRequest=28438

Check failure on line 458 in src/components/DataQuality/AddDataQualityTest/components/ParameterForm.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=AZ5kh_nq4nQY5THtVNlw&open=AZ5kh_nq4nQY5THtVNlw&pullRequest=28438

Check warning on line 208 in src/components/common/NavigationBlocker/NavigationBlocker.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=AZ5kh90F4nQY5THtVNkP&open=AZ5kh90F4nQY5THtVNkP&pullRequest=28438

Check warning on line 105 in src/components/ActivityFeed/ActivityFeedEditor/ActivityFeedEditorNew.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=AZ67SSJ7zat-rTvKsgDL&open=AZ67SSJ7zat-rTvKsgDL&pullRequest=28438

Check warning on line 187 in src/components/WorkflowDefinitions/WorkflowBuilder/forms/UserApprovalForm.tsx

See this annotation in the file changed.

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

Prefer `Number.isNaN` over `isNaN`.

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

Check warning on line 207 in src/utils/WorkflowSerializer.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=AZ5kiNOQ4nQY5THtVNz6&open=AZ5kiNOQ4nQY5THtVNz6&pullRequest=28438

Check failure on line 14 in src/components/common/RichTextEditor/RichTextEditor.tsx

See this annotation in the file changed.

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

Specify the rules you want to disable.

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

Check warning on line 280 in src/components/common/atoms/actions/useDelete.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=AZ5kh8u-4nQY5THtVNid&open=AZ5kh8u-4nQY5THtVNid&pullRequest=28438

Check warning on line 110 in src/components/common/NavigationBlocker/NavigationBlocker.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=AZ5kh90F4nQY5THtVNkI&open=AZ5kh90F4nQY5THtVNkI&pullRequest=28438

Check warning on line 248 in src/components/Settings/Services/Ingestion/IngestionWorkflowForm/ProfileSampleConfigField.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=AZ5kiDFt4nQY5THtVNoh&open=AZ5kiDFt4nQY5THtVNoh&pullRequest=28438

Check warning on line 133 in src/utils/DomainUtils.tsx

See this annotation in the file changed.

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

Use `export…from` to re-export `getQueryFilterForDataProducts`.

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

Check warning on line 518 in src/components/OntologyExplorer/hooks/useGraphData.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=AZ5kiICn4nQY5THtVNsn&open=AZ5kiICn4nQY5THtVNsn&pullRequest=28438

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

Check warning on line 157 in src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.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=AZ5kiEXf4nQY5THtVNp1&open=AZ5kiEXf4nQY5THtVNp1&pullRequest=28438

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=AZ5kiO4R4nQY5THtVN2j&open=AZ5kiO4R4nQY5THtVN2j&pullRequest=28438

Check warning on line 635 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=AZ5kh8PF4nQY5THtVNh5&open=AZ5kh8PF4nQY5THtVNh5&pullRequest=28438

Check warning on line 146 in src/components/MyData/Widgets/KPIWidget/KPILegend/KPILegend.tsx

See this annotation in the file changed.

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

Missing "key" prop for element in iterator

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

Check failure on line 198 in src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.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=AZ5tBNKu4bIZzb5OhSYx&open=AZ5tBNKu4bIZzb5OhSYx&pullRequest=28438

Check warning on line 48 in src/utils/SchedularUtils.tsx

See this annotation in the file changed.

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

Use `export…from` to re-export `getMinuteCron`.

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