Skip to content

Remove unused /api/v1/domains?limit=10000&fields=parent call on every page load - #26485

Merged
siddhant1 merged 4 commits into
mainfrom
copilot/remove-unused-domain-api-call
Mar 16, 2026
Merged

Remove unused /api/v1/domains?limit=10000&fields=parent call on every page load#26485
siddhant1 merged 4 commits into
mainfrom
copilot/remove-unused-domain-api-call

Merge branch 'main' into copilot/remove-unused-domain-api-call

8ec02c2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Mar 14, 2026 in 2m 12s

Annotations

Check warning on line 369 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.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=AZzrIgCpWBb7JerG_pCh&open=AZzrIgCpWBb7JerG_pCh&pullRequest=26485

Check warning on line 294 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.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=AZzrIgCpWBb7JerG_pCg&open=AZzrIgCpWBb7JerG_pCg&pullRequest=26485

Check failure on line 516 in openmetadata-ui/src/main/resources/ui/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=AZzrIgCpWBb7JerG_pCk&open=AZzrIgCpWBb7JerG_pCk&pullRequest=26485

Check failure on line 71 in openmetadata-ui/src/main/resources/ui/src/utils/DomainUtils.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 30 to the 15 allowed.

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

Check warning on line 546 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.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=AZzrIgCpWBb7JerG_pCm&open=AZzrIgCpWBb7JerG_pCm&pullRequest=26485

Check failure on line 502 in openmetadata-ui/src/main/resources/ui/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=AZzrIgCpWBb7JerG_pCj&open=AZzrIgCpWBb7JerG_pCj&pullRequest=26485

Check warning on line 86 in openmetadata-ui/src/main/resources/ui/src/components/Domain/DomainDetailPage/DomainDetailPage.component.tsx

See this annotation in the file changed.

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

Expected an error object to be thrown.

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

Check warning on line 559 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.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=AZzrIgCpWBb7JerG_pCn&open=AZzrIgCpWBb7JerG_pCn&pullRequest=26485

Check warning on line 489 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.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=AZzrIgCpWBb7JerG_pCi&open=AZzrIgCpWBb7JerG_pCi&pullRequest=26485

Check failure on line 519 in openmetadata-ui/src/main/resources/ui/src/components/Auth/AuthProviders/AuthProvider.tsx

See this annotation in the file changed.

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

Prefer `throw error` over `return Promise.reject(error)`.

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