Skip to content

feat(ai): add Markdown and editor selection context - #3257

Open
abose wants to merge 6 commits into
mainfrom
ai
Open

abose wants to merge 6 commits into
mainfrom
ai

chore: update Pro pin for production minifier fix

c903d72
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 5, 2026 in 1m 10s

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 269 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

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=phcode-dev_phoenix&issues=AaEHPCr2WB1kMTkWKFc_&open=AaEHPCr2WB1kMTkWKFc_&pullRequest=3257

Check warning on line 1408 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=AaEH5VPU7mggAM9gbuIt&open=AaEH5VPU7mggAM9gbuIt&pullRequest=3257

Check warning on line 402 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdH&open=AaEHPCy2WB1kMTkWKFdH&pullRequest=3257

Check warning on line 393 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdG&open=AaEHPCy2WB1kMTkWKFdG&pullRequest=3257

Check warning on line 4 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSelection.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'validRange' to the outer scope.

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

Check warning on line 633 in src/styles/Extn-AIChatPanel.less

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Text does not meet the minimal contrast requirement with its background.

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

Check warning on line 278 in src/features/SelectionViewManager.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move function 'getVisibleSelectionBounds' to the outer scope.

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

Check warning on line 239 in src/extensionsIntegrated/Terminal/TerminalInstance.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=AaENuBkdcjtn08f09RF3&open=AaENuBkdcjtn08f09RF3&pullRequest=3257

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Verify the origin of the received message.

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

Check warning on line 415 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdI&open=AaEHPCy2WB1kMTkWKFdI&pullRequest=3257

Check warning on line 375 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdD&open=AaEHPCy2WB1kMTkWKFdD&pullRequest=3257

Check warning on line 385 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdE&open=AaEHPCy2WB1kMTkWKFdE&pullRequest=3257

Check warning on line 1394 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=AaEH5VPU7mggAM9gbuIs&open=AaEH5VPU7mggAM9gbuIs&pullRequest=3257

Check failure on line 306 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdC&open=AaEHPCy2WB1kMTkWKFdC&pullRequest=3257

Check warning on line 388 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdF&open=AaEHPCy2WB1kMTkWKFdF&pullRequest=3257

Check warning on line 663 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdJ&open=AaEHPCy2WB1kMTkWKFdJ&pullRequest=3257

Check warning on line 711 in src/features/SelectionViewManager.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=AaEHPCy2WB1kMTkWKFdK&open=AaEHPCy2WB1kMTkWKFdK&pullRequest=3257