Skip to content

Merge branch 'main' into copilot/fix-activity-feed-api-restrictions

40a3f36
Select commit
Loading
Failed to load commit list.
Open

Fixes #: Activity feed creation API restrictions and UI JSON parsing crash #26679

Merge branch 'main' into copilot/fix-activity-feed-api-restrictions
40a3f36
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 17, 2026 in 7m 55s

Annotations

Check warning on line 547 in src/components/OntologyExplorer/hooks/useOntologyGraph.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=AZ2au_Jp03-VX2hw2-YF&open=AZ2au_Jp03-VX2hw2-YF&pullRequest=26679

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

See this annotation in the file changed.

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

'unknown' overrides all other types in this union type.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avAne03-VX2hw2-d1&open=AZ2avAne03-VX2hw2-d1&pullRequest=26679

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

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=AZ2avAne03-VX2hw2-dy&open=AZ2avAne03-VX2hw2-dy&pullRequest=26679

Check failure on line 260 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=AZ2avAIz03-VX2hw2-bL&open=AZ2avAIz03-VX2hw2-bL&pullRequest=26679

Check warning on line 90 in src/utils/Suggestion/SuggestionUtils.tsx

See this annotation in the file changed.

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

Remove this redundant jump.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avATL03-VX2hw2-b_&open=AZ2avATL03-VX2hw2-b_&pullRequest=26679

Check warning on line 225 in src/constants/Services.constant.ts

See this annotation in the file changed.

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

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

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avAuW03-VX2hw2-fl&open=AZ2avAuW03-VX2hw2-fl&pullRequest=26679

Check failure on line 96 in src/utils/TagsUtils.tsx

See this annotation in the file changed.

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

Prefer `return value` over `return Promise.resolve(value)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avAVD03-VX2hw2-cD&open=AZ2avAVD03-VX2hw2-cD&pullRequest=26679

Check warning on line 194 in src/constants/Services.constant.ts

See this annotation in the file changed.

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

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

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avAuW03-VX2hw2-fG&open=AZ2avAuW03-VX2hw2-fG&pullRequest=26679

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

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

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2au9Gt03-VX2hw2-SH&open=AZ2au9Gt03-VX2hw2-SH&pullRequest=26679

Check warning on line 101 in src/components/Learning/ResourcePlayer/VideoPlayer.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=AZ2au-qR03-VX2hw2-WU&open=AZ2au-qR03-VX2hw2-WU&pullRequest=26679

Check warning on line 86 in src/components/Pipeline/PipelineTaskTab/PipelineTaskTab.tsx

See this annotation in the file changed.

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

useState call is not destructured into value + setter pair

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2au-ep03-VX2hw2-Vm&open=AZ2au-ep03-VX2hw2-Vm&pullRequest=26679

Check warning on line 65 in src/components/SettingsSso/SettingsSso.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=AZ2au-oN03-VX2hw2-WJ&open=AZ2au-oN03-VX2hw2-WJ&pullRequest=26679

Check warning on line 68 in src/pages/CustomizeDetailsPage/CustomizeDetailsPage.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=AZ2au_xY03-VX2hw2-Zx&open=AZ2au_xY03-VX2hw2-Zx&pullRequest=26679

Check warning on line 190 in src/components/common/EntityDescription/EntityAttachmentProvider/EntityAttachmentProvider.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=AZ2au9KG03-VX2hw2-SS&open=AZ2au9KG03-VX2hw2-SS&pullRequest=26679

Check warning on line 759 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=AZ2au9j503-VX2hw2-TV&open=AZ2au9j503-VX2hw2-TV&pullRequest=26679

Check warning on line 102 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=AZ2au9AY03-VX2hw2-Rn&open=AZ2au9AY03-VX2hw2-Rn&pullRequest=26679

Check failure on line 101 in src/components/DataContract/ContractSecurity/ContractSecurityCard.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=AZ2au_AI03-VX2hw2-XR&open=AZ2au_AI03-VX2hw2-XR&pullRequest=26679

Check warning on line 51 in src/utils/ContainerDetailUtils.tsx

See this annotation in the file changed.

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

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

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2avAYW03-VX2hw2-cV&open=AZ2avAYW03-VX2hw2-cV&pullRequest=26679

Check failure on line 39 in src/components/Learning/ResourcePlayer/ResourcePlayerModal.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 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2au-sA03-VX2hw2-WX&open=AZ2au-sA03-VX2hw2-WX&pullRequest=26679

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=AZ2avA5303-VX2hw2-gm&open=AZ2avA5303-VX2hw2-gm&pullRequest=26679

Check warning on line 286 in src/pages/LearningResourcesPage/LearningResourceForm.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=AZ2au_kg03-VX2hw2-ZR&open=AZ2au_kg03-VX2hw2-ZR&pullRequest=26679

Check warning on line 61 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=AZ2au8hp03-VX2hw2-P7&open=AZ2au8hp03-VX2hw2-P7&pullRequest=26679

Check warning on line 99 in src/components/common/UserTeamSelectableList/UserTeamSelectableList.component.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=AZ2au9MN03-VX2hw2-SV&open=AZ2au9MN03-VX2hw2-SV&pullRequest=26679

Check failure on line 208 in src/components/SettingsSso/SSODocPanel/SSODocPanel.tsx

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=AZ2au-l603-VX2hw2-V9&open=AZ2au-l603-VX2hw2-V9&pullRequest=26679

Check warning on line 52 in src/components/common/GlossaryTermSelectableList/GlossaryTermSelectableList.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=AZ2au84L03-VX2hw2-RO&open=AZ2au84L03-VX2hw2-RO&pullRequest=26679