Skip to content

Layers panel performance improvements + dead code removal - #3188

Merged
abose merged 17 commits into
mainfrom
pluto/layer5
Sep 10, 2026
Merged

Layers panel performance improvements + dead code removal#3188
abose merged 17 commits into
mainfrom
pluto/layer5

build: update pro deps

c74fadf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 10, 2026 in 1m 49s

Annotations

Check warning on line 1125 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFG&open=AaCF9A-lG_O3QC9-cNFG&pullRequest=3188

Check warning on line 467 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function '_offsetFromBounds' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE3&open=AaCF9A-lG_O3QC9-cNE3&pullRequest=3188

Check warning on line 633 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFF&open=AaCF9A-lG_O3QC9-cNFF&pullRequest=3188

Check warning on line 491 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFA&open=AaCF9A-lG_O3QC9-cNFA&pullRequest=3188

Check warning on line 870 in src/LiveDevelopment/MultiBrowserImpl/language/HTMLInstrumentation.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function '_rebuildTagIdMarkMap' to the outer scope.

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

Check warning on line 785 in src/language/CSSUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

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

Check warning on line 1125 in src/language/CSSUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

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

Check warning on line 959 in src/language/CSSUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

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

Check failure on line 216 in src/LiveDevelopment/MultiBrowserImpl/documents/LiveDocument.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not assign `this` to `self`.

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

Check warning on line 1208 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'If' statement should not be the only statement in 'else' block

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

Check warning on line 490 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE_&open=AaCF9A-lG_O3QC9-cNE_&pullRequest=3188

Check warning on line 886 in src/LiveDevelopment/MultiBrowserImpl/language/HTMLInstrumentation.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=AaCF9A4zG_O3QC9-cNE0&open=AaCF9A4zG_O3QC9-cNE0&pullRequest=3188

Check warning on line 492 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFB&open=AaCF9A-lG_O3QC9-cNFB&pullRequest=3188

Check warning on line 788 in src/language/CSSUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

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

Check warning on line 485 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE6&open=AaCF9A-lG_O3QC9-cNE6&pullRequest=3188

Check warning on line 487 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE8&open=AaCF9A-lG_O3QC9-cNE8&pullRequest=3188

Check warning on line 489 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE-&open=AaCF9A-lG_O3QC9-cNE-&pullRequest=3188

Check warning on line 486 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE7&open=AaCF9A-lG_O3QC9-cNE7&pullRequest=3188

Check warning on line 55 in src/LiveDevelopment/MultiBrowserImpl/language/HTMLInstrumentation.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of the unused '_' variable.

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

Check warning on line 488 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE9&open=AaCF9A-lG_O3QC9-cNE9&pullRequest=3188

Check warning on line 483 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNE4&open=AaCF9A-lG_O3QC9-cNE4&pullRequest=3188

Check warning on line 150 in src/LiveDevelopment/BrowserScripts/LiveDevProtocolRemote.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=AaCF9A9BG_O3QC9-cNE2&open=AaCF9A9BG_O3QC9-cNE2&pullRequest=3188

Check warning on line 493 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFC&open=AaCF9A-lG_O3QC9-cNFC&pullRequest=3188

Check warning on line 503 in src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AaCF9A-lG_O3QC9-cNFE&open=AaCF9A-lG_O3QC9-cNFE&pullRequest=3188

Check warning on line 890 in src/LiveDevelopment/MultiBrowserImpl/language/HTMLInstrumentation.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=AaCF9A4zG_O3QC9-cNE1&open=AaCF9A4zG_O3QC9-cNE1&pullRequest=3188