Skip to content

Improvements: add mobile mode and other features#68

Open
Totremont wants to merge 30 commits into
masterfrom
chat-assistant-5.1.0
Open

Improvements: add mobile mode and other features#68
Totremont wants to merge 30 commits into
masterfrom
chat-assistant-5.1.0

WIP: clarify only default functionality comply

5866b68
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 2, 2026 in 29s

Annotations

Check warning on line 25 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=AZ8ZKLeod5IOi0xx3POz&open=AZ8ZKLeod5IOi0xx3POz&pullRequest=68

Check warning on line 237 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=AZ8ZKLeod5IOi0xx3PO9&open=AZ8ZKLeod5IOi0xx3PO9&pullRequest=68

Check warning on line 203 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=AZ8ZKLeod5IOi0xx3PO4&open=AZ8ZKLeod5IOi0xx3PO4&pullRequest=68

Check warning on line 449 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 `globalThis` over `window`.

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

Check warning on line 25 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 `globalThis` over `window`.

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

Check warning on line 91 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 `globalThis` over `window`.

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

Check warning on line 315 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=AZ8ZKLatd5IOi0xx3POx&open=AZ8ZKLatd5IOi0xx3POx&pullRequest=68

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=AZ8eaG5gRDWH5g0omd4i&open=AZ8eaG5gRDWH5g0omd4i&pullRequest=68

Check warning on line 221 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 `globalThis` over `window`.

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

Check warning on line 188 in src/test/java/com/flowingcode/vaadin/addons/chatassistant/ChatAssistantGenerativeDemo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

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

Check warning on line 92 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 `globalThis` over `window`.

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

Check warning on line 56 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 `globalThis` over `window`.

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

Check warning on line 291 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 `globalThis` over `window`.

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

Check warning on line 24 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=AZ8ZKLeod5IOi0xx3POy&open=AZ8ZKLeod5IOi0xx3POy&pullRequest=68

Check warning on line 256 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 `globalThis` over `window`.

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

Check warning on line 426 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=AZ8ZKLe9d5IOi0xx3PPK&open=AZ8ZKLe9d5IOi0xx3PPK&pullRequest=68

Check warning on line 236 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=AZ8ZKLeod5IOi0xx3PO8&open=AZ8ZKLeod5IOi0xx3PO8&pullRequest=68

Check warning on line 215 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=AZ8eaG5gRDWH5g0omd4m&open=AZ8eaG5gRDWH5g0omd4m&pullRequest=68

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=AZ8eaG5gRDWH5g0omd4k&open=AZ8eaG5gRDWH5g0omd4k&pullRequest=68

Check warning on line 299 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=AZ8eaG21RDWH5g0omd4g&open=AZ8eaG21RDWH5g0omd4g&pullRequest=68

Check failure on line 1103 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=AZ8ZKLatd5IOi0xx3POw&open=AZ8ZKLatd5IOi0xx3POw&pullRequest=68

Check warning on line 454 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 `globalThis` over `window`.

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

Check warning on line 233 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 `globalThis` over `window`.

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

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=AZ8eaG5gRDWH5g0omd4n&open=AZ8eaG5gRDWH5g0omd4n&pullRequest=68

Check warning on line 377 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=AZ8ZKLe9d5IOi0xx3PPH&open=AZ8ZKLe9d5IOi0xx3PPH&pullRequest=68