Skip to content

Fixed article page bugs - #30527

Merged
Rohit0301 merged 8 commits into
mainfrom
fix-article-move-bugs
Jul 28, 2026
Merged

Fixed article page bugs#30527
Rohit0301 merged 8 commits into
mainfrom
fix-article-move-bugs

lint fix

57cfb02
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Jul 28, 2026 in 6m 25s

Annotations

Check failure on line 61 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=AZ-js97HGDwGrdqdZeaW&open=AZ-js97HGDwGrdqdZeaW&pullRequest=30527

Check failure on line 246 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 27 to the 15 allowed.

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

Check warning on line 69 in src/components/ActivityFeed/ActivityFeedEditor/ActivityFeedEditor.tsx

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=AZ-jtCA6GDwGrdqdZefB&open=AZ-jtCA6GDwGrdqdZefB&pullRequest=30527

Check warning on line 51 in src/components/common/EntityImport/CsvJobsTray/CsvJobsTray.component.tsx

See this annotation in the file changed.

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

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

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

Check warning on line 40 in src/components/WorkflowDefinitions/Workflows/Nodes/GatewayNode/GatewayNode.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=AZ-jtC5UGDwGrdqdZegL&open=AZ-jtC5UGDwGrdqdZegL&pullRequest=30527

Check warning on line 510 in src/components/Tag/TagsContainerV2/TagsContainerV2.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=AZ-jtBchGDwGrdqdZeed&open=AZ-jtBchGDwGrdqdZeed&pullRequest=30527

Check warning on line 96 in src/hooks/useClipBoard.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=AZ-jtMecGDwGrdqdZes2&open=AZ-jtMecGDwGrdqdZes2&pullRequest=30527

Check failure on line 73 in src/components/common/DescriptionSourceBadge/DescriptionSourceBadge.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 16 to the 15 allowed.

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

Check failure on line 154 in src/pages/MetricsPage/MetricListPage/MetricListPage.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 22 to the 15 allowed.

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

Check warning on line 223 in src/components/OntologyExplorer/utils/graphStyles.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=AZ-jtGoqGDwGrdqdZekU&open=AZ-jtGoqGDwGrdqdZekU&pullRequest=30527

Check warning on line 99 in src/components/Settings/Alerts/AlertsDetails/AlertDetails.component.tsx

See this annotation in the file changed.

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

Use Array.isArray() instead of isArray() from lodash.

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

Check warning on line 89 in src/hooks/useClipBoard.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=AZ-jtMecGDwGrdqdZes3&open=AZ-jtMecGDwGrdqdZes3&pullRequest=30527

Check warning on line 34 in src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.interface.ts

See this annotation in the file changed.

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

Consider removing 'undefined' type or '?' specifier, one of them is redundant.

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

Check warning on line 754 in src/pages/EntityImport/BulkEntityImportPage/BulkEntityImportPage.tsx

See this annotation in the file changed.

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

'e.target?.result ?? ''' may use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 416 in src/components/common/ServiceDocPanel/ServiceDocPanel.tsx

See this annotation in the file changed.

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

Use the "RegExp.exec()" method instead.

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

Check warning on line 113 in src/utils/QueryBuilderPureUtils.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=AZ-jtJ1cGDwGrdqdZepx&open=AZ-jtJ1cGDwGrdqdZepx&pullRequest=30527

Check warning on line 57 in src/components/Database/TableQueries/QueryUsedByOtherTable/QueryUsedByOtherTable.component.tsx

See this annotation in the file changed.

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

Consider Array.prototype.slice() instead of slice() from lodash; check that the behavior is equivalent because the library handles nullish values differently from the native API.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-js-XjGDwGrdqdZea7&open=AZ-js-XjGDwGrdqdZea7&pullRequest=30527

Check warning on line 69 in src/utils/DataInsightChartUtils.tsx

See this annotation in the file changed.

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

Non-interactive elements should not be assigned mouse or keyboard event listeners.

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

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

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=AZ-jtFd7GDwGrdqdZejC&open=AZ-jtFd7GDwGrdqdZejC&pullRequest=30527

Check warning on line 188 in src/components/BlockEditor/BlockMenu/BlockMenu.tsx

See this annotation in the file changed.

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

Add an explicit "type" attribute to this button.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-js-IhGDwGrdqdZeau&open=AZ-js-IhGDwGrdqdZeau&pullRequest=30527

Check warning on line 106 in src/components/WorkflowDefinitions/WorkflowBuilder/NodeConfigSidebar.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=AZ-jtCz3GDwGrdqdZef_&open=AZ-jtCz3GDwGrdqdZef_&pullRequest=30527

Check warning on line 186 in src/components/DataQuality/TestCases/useTestCaseFilters.ts

See this annotation in the file changed.

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

Consider Object.entries() instead of entries() from lodash; check that the behavior is equivalent because the library handles nullish values differently from the native API.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ-js-noGDwGrdqdZebR&open=AZ-js-noGDwGrdqdZebR&pullRequest=30527

Check warning on line 147 in src/utils/APIUtils.ts

See this annotation in the file changed.

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

Use Array.isArray() instead of isArray() from lodash.

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

Check warning on line 146 in src/utils/CustomizableLandingPagePureUtils.ts

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=AZ-jtH7tGDwGrdqdZemV&open=AZ-jtH7tGDwGrdqdZemV&pullRequest=30527

Check warning on line 256 in src/utils/ServiceConnectionUtils.ts

See this annotation in the file changed.

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

Consider Array.prototype.reduce() instead of reduce() from lodash; check that the behavior is equivalent because the library also accepts objects, nullish values, and shorthand predicates.

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