Skip to content

feat: live preview toolbar buttons improvements

b9556fe
Select commit
Loading
Failed to load commit list.
Open

Live Preview Resize ruler feature #2830

feat: live preview toolbar buttons improvements
b9556fe
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 22, 2026 in 51s

Annotations

Check failure on line 474 in src/view/SidebarTabs.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ20-A8I0Yyr--VyDVzm&open=AZ20-A8I0Yyr--VyDVzm&pullRequest=2830

Check warning on line 105 in src/extensionsIntegrated/Phoenix-live-preview/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of the unused 'PREFERENCE_LIVE_PREVIEW_MODE' variable.

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

Check failure on line 698 in src/view/WorkspaceManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

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

Check warning on line 650 in src/utils/Resizer.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ20-A4l0Yyr--VyDVzj&open=AZ20-A4l0Yyr--VyDVzj&pullRequest=2830

Check warning on line 46 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=AZ22scFCGuhKiO9xKXjZ&open=AZ22scFCGuhKiO9xKXjZ&pullRequest=2830

Check failure on line 697 in src/view/WorkspaceManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

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

Check warning on line 372 in src/utils/Resizer.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ20-A4l0Yyr--VyDVzi&open=AZ20-A4l0Yyr--VyDVzi&pullRequest=2830

Check warning on line 342 in src/project/SidebarView.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ20-A7E0Yyr--VyDVzk&open=AZ20-A7E0Yyr--VyDVzk&pullRequest=2830

Check warning on line 735 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.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=AZ22scBzGuhKiO9xKXjX&open=AZ22scBzGuhKiO9xKXjX&pullRequest=2830

Check warning on line 105 in src/extensionsIntegrated/Phoenix-live-preview/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "PREFERENCE_LIVE_PREVIEW_MODE".

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

Check warning on line 734 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.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=AZ22scBzGuhKiO9xKXjY&open=AZ22scBzGuhKiO9xKXjY&pullRequest=2830

Check warning on line 738 in src/extensionsIntegrated/Phoenix-live-preview/main.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=AZ22sb9jGuhKiO9xKXjU&open=AZ22sb9jGuhKiO9xKXjU&pullRequest=2830

Check warning on line 556 in src/view/SidebarTabs.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=AZ20-A8I0Yyr--VyDVzo&open=AZ20-A8I0Yyr--VyDVzo&pullRequest=2830

Check warning on line 493 in src/view/SidebarTabs.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=AZ20-A8I0Yyr--VyDVzn&open=AZ20-A8I0Yyr--VyDVzn&pullRequest=2830

Check warning on line 199 in src/view/SidebarTabs.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=AZ20-A8I0Yyr--VyDVzl&open=AZ20-A8I0Yyr--VyDVzl&pullRequest=2830

Check warning on line 485 in src/extensionsIntegrated/Phoenix-live-preview/main.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove unused function '_handleLPModeBtnClick'.

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

Check warning on line 723 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.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=AZ22scBzGuhKiO9xKXjV&open=AZ22scBzGuhKiO9xKXjV&pullRequest=2830

Check warning on line 722 in src/extensionsIntegrated/NavigationAndHistory/NavigationProvider.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=AZ22scBzGuhKiO9xKXjW&open=AZ22scBzGuhKiO9xKXjW&pullRequest=2830

Check failure on line 702 in src/view/WorkspaceManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function '_wireButtons' to the outer scope.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ20-A8b0Yyr--VyDVzq&open=AZ20-A8b0Yyr--VyDVzq&pullRequest=2830

Check failure on line 696 in src/view/WorkspaceManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

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

Check warning on line 590 in src/view/SidebarTabs.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=AZ20-A8I0Yyr--VyDVzp&open=AZ20-A8I0Yyr--VyDVzp&pullRequest=2830