Skip to content

Improvements: add mobile mode and other features#68

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

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

WIP: simplify px concatenation and add a color literal fallback

5042e78
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 20, 2026 in 28s

Annotations

Check warning on line 261 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 107 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-BcsTeMaC8Fe_7xZgS&open=AZ-BcsTeMaC8Fe_7xZgS&pullRequest=68

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

Check warning on line 44 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 287 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=AZ8ZKLeod5IOi0xx3PPB&open=AZ8ZKLeod5IOi0xx3PPB&pullRequest=68

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

Check warning on line 429 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 260 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 failure on line 1092 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" 4 times.

See more on https://sonarcloud.io/project/issues?id=FlowingCode_ChatAssistant&issues=AZ-BcsQ0MaC8Fe_7xZgQ&open=AZ-BcsQ0MaC8Fe_7xZgQ&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 304 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-BcsQ0MaC8Fe_7xZgR&open=AZ-BcsQ0MaC8Fe_7xZgR&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 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=AZ8eaG6jRDWH5g0omd4p&open=AZ8eaG6jRDWH5g0omd4p&pullRequest=68

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

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

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

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

Check warning on line 314 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 43 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 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=AZ8eaG5gRDWH5g0omd4j&open=AZ8eaG5gRDWH5g0omd4j&pullRequest=68

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

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