Skip to content

fix lint issue

d776be1
Select commit
Loading
Failed to load commit list.
Merged

Add load more button on header #27787

fix lint issue
d776be1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 28, 2026 in 4m 49s

Annotations

Check warning on line 169 in src/utils/DataContract/DataContractUtils.ts

See this annotation in the file changed.

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

Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.

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

Check warning on line 81 in src/pages/TasksPage/shared/TaskPayloadSchemaFields.tsx

See this annotation in the file changed.

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

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

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

Check warning on line 390 in src/components/ActivityFeed/ActivityThreadPanel/ActivityThreadPanelBody.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=AZ3UFwfb9IxNTgyewjQA&open=AZ3UFwfb9IxNTgyewjQA&pullRequest=27787

Check warning on line 490 in src/components/ExploreV1/ExploreV1.component.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=AZ3UFxUD9IxNTgyewjVF&open=AZ3UFxUD9IxNTgyewjVF&pullRequest=27787

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

See this annotation in the file changed.

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

'render' is deprecated.

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

Check failure on line 115 in src/components/common/EntityDescription/EntityAttachmentProvider/EntityAttachmentProvider.tsx

See this annotation in the file changed.

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

Unexpected `await` of a non-Promise (non-"Thenable") value.

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

Check failure on line 1279 in src/components/OntologyExplorer/hooks/useOntologyGraph.ts

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=AZ3UFxQ89IxNTgyewjUv&open=AZ3UFxQ89IxNTgyewjUv&pullRequest=27787

Check warning on line 97 in src/pages/Glossary/GlossaryLeftPanel/GlossaryLeftPanel.component.tsx

See this annotation in the file changed.

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

Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.

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

Check warning on line 659 in src/pages/ColumnBulkOperations/ColumnGrid/ColumnGrid.component.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=AZ3UFxos9IxNTgyewjWb&open=AZ3UFxos9IxNTgyewjWb&pullRequest=27787

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=AZ3UFxH_9IxNTgyewjTZ&open=AZ3UFxH_9IxNTgyewjTZ&pullRequest=27787

Check failure on line 1351 in src/components/OntologyExplorer/hooks/useOntologyExplorer.ts

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=AZ3UFxR29IxNTgyewjU9&open=AZ3UFxR29IxNTgyewjU9&pullRequest=27787

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=AZ3UFyR79IxNTgyewjbV&open=AZ3UFyR79IxNTgyewjbV&pullRequest=27787

Check warning on line 318 in src/components/Entity/Task/TaskTab/TaskTabNew.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=AZ3UFw_K9IxNTgyewjSq&open=AZ3UFw_K9IxNTgyewjSq&pullRequest=27787

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

Unexpected negated condition.

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

Check warning on line 21 in src/utils/sanitize.utils.ts

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=AZ3UFxzv9IxNTgyewjXX&open=AZ3UFxzv9IxNTgyewjXX&pullRequest=27787

Check warning on line 110 in src/constants/Schedular.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 59 to the 20 allowed.

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

Check warning on line 172 in src/components/BlockEditor/Extensions/BlockAndDragDrop/BlockAndDragHandle.ts

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=AZ3UFvqp9IxNTgyewjLg&open=AZ3UFvqp9IxNTgyewjLg&pullRequest=27787

Check warning on line 303 in src/components/common/AsyncSelectList/TreeAsyncSelectList.tsx

See this annotation in the file changed.

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

Provide multiple methods instead of using "isMultiSelect" to determine which action to take.

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

Check warning on line 257 in src/utils/TableProfilerUtils.ts

See this annotation in the file changed.

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

Prefer `Number.parseFloat` over `parseFloat`.

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

Check warning on line 50 in src/components/ActivityFeed/ActivityFeedCardNew/TaskCommentCard.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=AZ3UFwj_9IxNTgyewjQX&open=AZ3UFwj_9IxNTgyewjQX&pullRequest=27787

Check warning on line 386 in src/components/Explore/ExploreTree/ExploreTree.tsx

See this annotation in the file changed.

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

Move this component definition out of the parent component and pass data as props.

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

Check failure on line 571 in src/components/Auth/AuthProviders/AuthProvider.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=AZ3UFxKy9IxNTgyewjTl&open=AZ3UFxKy9IxNTgyewjTl&pullRequest=27787

Check warning on line 53 in src/components/Metric/MetricHeaderInfo/UnitOfMeasurementInfoItem.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=AZ3UFxTA9IxNTgyewjVB&open=AZ3UFxTA9IxNTgyewjVB&pullRequest=27787

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

See this annotation in the file changed.

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

Prefer `Number.isFinite` over `isFinite`.

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

Check warning on line 40 in src/components/WorkflowDefinitions/Workflows/Nodes/WorkflowTaskNode/WorkflowTaskNode.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=AZ3UFwqb9IxNTgyewjRM&open=AZ3UFwqb9IxNTgyewjRM&pullRequest=27787