Skip to content

Clean up

d4d9198
Select commit
Loading
Failed to load commit list.
Draft

Add network modification row expansion #3824

Clean up
d4d9198
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 26, 2026 in 1m 24s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 139 in src/components/graph/menus/network-modifications/network-modification-table/use-modifications-drag-and-drop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0prcsf1yCV8JA51Lny&open=AZ0prcsf1yCV8JA51Lny&pullRequest=3824

Check warning on line 98 in src/components/graph/menus/network-modifications/network-modification-table/use-modifications-drag-and-drop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjtSnsJ7xn3-QLFa&open=AZ0pZjtSnsJ7xn3-QLFa&pullRequest=3824

Check failure on line 276 in src/services/study/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjuFnsJ7xn3-QLFe&open=AZ0pZjuFnsJ7xn3-QLFe&pullRequest=3824

Check warning on line 101 in src/components/graph/menus/network-modifications/network-modification-table/use-modifications-drag-and-drop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjtSnsJ7xn3-QLFb&open=AZ0pZjtSnsJ7xn3-QLFb&pullRequest=3824

Check failure on line 86 in src/components/dialogs/import-modification-dialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not add `then` to an object.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjpOnsJ7xn3-QLFU&open=AZ0pZjpOnsJ7xn3-QLFU&pullRequest=3824

Check failure on line 195 in src/components/graph/menus/network-modifications/network-modification-table/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjtDnsJ7xn3-QLFX&open=AZ0pZjtDnsJ7xn3-QLFX&pullRequest=3824

Check warning on line 187 in src/components/graph/menus/network-modifications/network-modification-table/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pZjtDnsJ7xn3-QLFW&open=AZ0pZjtDnsJ7xn3-QLFW&pullRequest=3824

Check failure on line 102 in src/components/graph/menus/network-modifications/network-modification-table/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZ0pdAKBJ_U2KSmzG0UW&open=AZ0pdAKBJ_U2KSmzG0UW&pullRequest=3824

Check failure on line 107 in src/components/graph/menus/network-modifications/network-modification-table/use-modifications-drag-and-drop.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=gridsuite_gridstudy-app&issues=AZ0prcsf1yCV8JA51Lnx&open=AZ0prcsf1yCV8JA51Lnx&pullRequest=3824