Skip to content

Improvements: add mobile mode and other features - #72

Open
scardanzan wants to merge 20 commits into
masterfrom
chat-assistant-5.1.0
Open

Improvements: add mobile mode and other features#72
scardanzan wants to merge 20 commits into
masterfrom
chat-assistant-5.1.0

Merge branch 'master' into chat-assistant-5.1.0

cfebfdd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 11, 2026 in 22s

Annotations

Check warning on line 324 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmJ&open=AZ_tT7bdrU821wARzhmJ&pullRequest=72

Check warning on line 298 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.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=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmM&open=AZ_tT7cPrU821wARzhmM&pullRequest=72

Check warning on line 440 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.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=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmU&open=AZ_tT7cPrU821wARzhmU&pullRequest=72

Check warning on line 138 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment of "root.__fcCleanups" from this expression.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmF&open=AZ_tT7bdrU821wARzhmF&pullRequest=72

Check failure on line 1106 in src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "width" 3 times.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7adrU821wARzhl_&open=AZ_tT7adrU821wARzhl_&pullRequest=72

Check warning on line 354 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmL&open=AZ_tT7bdrU821wARzhmL&pullRequest=72

Check warning on line 325 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmK&open=AZ_tT7bdrU821wARzhmK&pullRequest=72

Check warning on line 420 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.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=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmR&open=AZ_tT7cPrU821wARzhmR&pullRequest=72

Check warning on line 60 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmC&open=AZ_tT7bdrU821wARzhmC&pullRequest=72

Check warning on line 202 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhmY&open=AZ_tT7dcrU821wARzhmY&pullRequest=72

Check warning on line 193 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhmX&open=AZ_tT7dcrU821wARzhmX&pullRequest=72

Check warning on line 74 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmD&open=AZ_tT7bdrU821wARzhmD&pullRequest=72

Check warning on line 316 in src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 14 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7adrU821wARzhmA&open=AZ_tT7adrU821wARzhmA&pullRequest=72

Check warning on line 305 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.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=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmN&open=AZ_tT7cPrU821wARzhmN&pullRequest=72

Check warning on line 258 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhmb&open=AZ_tT7dcrU821wARzhmb&pullRequest=72

Check warning on line 317 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment of "root.__fcCleanups" from this expression.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmO&open=AZ_tT7cPrU821wARzhmO&pullRequest=72

Check warning on line 298 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the opposite operator (<=) instead.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmI&open=AZ_tT7bdrU821wARzhmI&pullRequest=72

Check warning on line 149 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhmV&open=AZ_tT7dcrU821wARzhmV&pullRequest=72

Check warning on line 178 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhmW&open=AZ_tT7dcrU821wARzhmW&pullRequest=72

Check warning on line 297 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-movement.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=FlowingCode_ChatAssistant&issues=AZ_tT7bdrU821wARzhmH&open=AZ_tT7bdrU821wARzhmH&pullRequest=72

Check warning on line 306 in src/main/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistant.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

T is not used in the class.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7adrU821wARzhmB&open=AZ_tT7adrU821wARzhmB&pullRequest=72

Check warning on line 243 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantLazyLoadingDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7dcrU821wARzhma&open=AZ_tT7dcrU821wARzhma&pullRequest=72

Check warning on line 58 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantMarkdownDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7d6rU821wARzhmc&open=AZ_tT7d6rU821wARzhmc&pullRequest=72

Check warning on line 336 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.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=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmP&open=AZ_tT7cPrU821wARzhmP&pullRequest=72

Check warning on line 373 in src/main/resources/META-INF/resources/frontend/fc-chat-assistant-resize.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not call `Element#classList.remove()` multiple times.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ_tT7cPrU821wARzhmQ&open=AZ_tT7cPrU821wARzhmQ&pullRequest=72