Skip to content

Improvements: add mobile mode and other features - #72

Merged
javier-godoy merged 25 commits into
masterfrom
chat-assistant-5.1.0
Aug 24, 2026
Merged

Improvements: add mobile mode and other features#72
javier-godoy merged 25 commits into
masterfrom
chat-assistant-5.1.0

docs: correct the resize-arrow specificity note

2e1d855
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 19, 2026 in 29s

Annotations

Check warning on line 280 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_tT7bdrU821wARzhmG&open=AZ_tT7bdrU821wARzhmG&pullRequest=72

Check warning on line 150 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 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 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 340 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 437 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_tT7cPrU821wARzhmT&open=AZ_tT7cPrU821wARzhmT&pullRequest=72

Check warning on line 86 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 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 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

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 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 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 374 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 72 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 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 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 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 failure on line 1085 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 "height" 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 313 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 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 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 341 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 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 314 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 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