Skip to content

test: make CodeInspection scroll-remember test environment-agnostic

99bddfb
Select commit
Loading
Failed to load commit list.
Merged

Control bar #2820

test: make CodeInspection scroll-remember test environment-agnostic
99bddfb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 18, 2026 in 55s

Quality Gate failed

Failed conditions
D Security 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 84 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwScct&open=AZ2g9gbjVVB4PQRwScct&pullRequest=2820

Check warning on line 29 in src/utils/FileTypeUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer default parameters over reassignment.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gYqVVB4PQRwScco&open=AZ2g9gYqVVB4PQRwScco&pullRequest=2820

Check warning on line 187 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdD&open=AZ2g9gd6VVB4PQRwScdD&pullRequest=2820

Check warning on line 56 in src/extensions/default/Git/src/Main.js

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=phcode-dev_phoenix&issues=AZ2g9gZNVVB4PQRwSccp&open=AZ2g9gZNVVB4PQRwSccp&pullRequest=2820

Check warning on line 50 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScc8&open=AZ2g9gd6VVB4PQRwScc8&pullRequest=2820

Check warning on line 267 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function '_updateSidebarToggleIcon' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdI&open=AZ2g9gd6VVB4PQRwScdI&pullRequest=2820

Check warning on line 172 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwScc4&open=AZ2g9gbjVVB4PQRwScc4&pullRequest=2820

Check warning on line 91 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwSccu&open=AZ2g9gbjVVB4PQRwSccu&pullRequest=2820

Check warning on line 188 in src/view/DefaultPanelView.js

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=phcode-dev_phoenix&issues=AZ2g9gduVVB4PQRwScc7&open=AZ2g9gduVVB4PQRwScc7&pullRequest=2820

Check warning on line 62 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScc9&open=AZ2g9gd6VVB4PQRwScc9&pullRequest=2820

Check warning on line 354 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdJ&open=AZ2g9gd6VVB4PQRwScdJ&pullRequest=2820

Check failure on line 381 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a target origin for this message.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gUfVVB4PQRwSccj&open=AZ2g9gUfVVB4PQRwSccj&pullRequest=2820

Check warning on line 86 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScc-&open=AZ2g9gd6VVB4PQRwScc-&pullRequest=2820

Check warning on line 163 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwScc2&open=AZ2g9gbjVVB4PQRwScc2&pullRequest=2820

Check warning on line 134 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwScc0&open=AZ2g9gbjVVB4PQRwScc0&pullRequest=2820

Check warning on line 121 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwSccw&open=AZ2g9gbjVVB4PQRwSccw&pullRequest=2820

Check warning on line 129 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwSccy&open=AZ2g9gbjVVB4PQRwSccy&pullRequest=2820

Check warning on line 88 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdA&open=AZ2g9gd6VVB4PQRwScdA&pullRequest=2820

Check warning on line 221 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdG&open=AZ2g9gd6VVB4PQRwScdG&pullRequest=2820

Check warning on line 767 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwScc6&open=AZ2g9gbjVVB4PQRwScc6&pullRequest=2820

Check warning on line 378 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gUfVVB4PQRwScci&open=AZ2g9gUfVVB4PQRwScci&pullRequest=2820

Check failure on line 216 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdF&open=AZ2g9gd6VVB4PQRwScdF&pullRequest=2820

Check warning on line 101 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScdB&open=AZ2g9gd6VVB4PQRwScdB&pullRequest=2820

Check warning on line 87 in src/view/CentralControlBar.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=phcode-dev_phoenix&issues=AZ2g9gd6VVB4PQRwScc_&open=AZ2g9gd6VVB4PQRwScc_&pullRequest=2820

Check warning on line 126 in src/search/QuickOpen.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ2g9gbjVVB4PQRwSccx&open=AZ2g9gbjVVB4PQRwSccx&pullRequest=2820