Skip to content

1570 1#5329

Merged
ivicac merged 9 commits into
masterfrom
1570_1
Jul 3, 2026
Merged

1570 1#5329
ivicac merged 9 commits into
masterfrom
1570_1

1570 client - Address PR review comments in AI chat pickers and Copil…

dd4b421
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [client] SonarCloud Code Analysis failed Jul 3, 2026 in 1m 2s

Quality Gate failed

Annotations

Check warning on line 97 in client/src/shared/components/copilot/runtime-providers/CopilotRuntimeProvider.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcV4zyhxE2KeNNbu&open=AZ8nwcV4zyhxE2KeNNbu&pullRequest=5329

Check warning on line 87 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb7&open=AZ8nwcZlzyhxE2KeNNb7&pullRequest=5329

Check warning on line 65 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb6&open=AZ8nwcZlzyhxE2KeNNb6&pullRequest=5329

Check warning on line 35 in client/src/shared/components/ai-chat/messages/humanizeAgentErrorMessage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZezyhxE2KeNNb3&open=AZ8nwcZezyhxE2KeNNb3&pullRequest=5329

Check warning on line 6 in client/src/shared/components/ai-chat/messages/AskUserQuestionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZQzyhxE2KeNNbw&open=AZ8nwcZQzyhxE2KeNNbw&pullRequest=5329

Check warning on line 110 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb-&open=AZ8nwcZlzyhxE2KeNNb-&pullRequest=5329

Check warning on line 134 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNcA&open=AZ8nwcZlzyhxE2KeNNcA&pullRequest=5329

Check warning on line 24 in client/src/shared/components/ai-chat/messages/humanizeAgentErrorMessage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZezyhxE2KeNNb1&open=AZ8nwcZezyhxE2KeNNb1&pullRequest=5329

Check warning on line 35 in client/src/shared/components/ai-chat/messages/humanizeAgentErrorMessage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZezyhxE2KeNNb2&open=AZ8nwcZezyhxE2KeNNb2&pullRequest=5329

Check warning on line 133 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb_&open=AZ8nwcZlzyhxE2KeNNb_&pullRequest=5329

Check warning on line 53 in client/src/shared/components/ai-chat/messages/AskUserQuestionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

The signature '(options?: { optional?: false | undefined; } | undefined): ThreadRuntime' of 'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZQzyhxE2KeNNbx&open=AZ8nwcZQzyhxE2KeNNbx&pullRequest=5329

Check failure on line 60 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb4&open=AZ8nwcZlzyhxE2KeNNb4&pullRequest=5329

Check warning on line 88 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb8&open=AZ8nwcZlzyhxE2KeNNb8&pullRequest=5329

Check warning on line 6 in client/src/shared/components/ai-chat/messages/SelectConnectionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZszyhxE2KeNNcB&open=AZ8nwcZszyhxE2KeNNcB&pullRequest=5329

Check warning on line 109 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb9&open=AZ8nwcZlzyhxE2KeNNb9&pullRequest=5329

Check warning on line 29 in client/src/shared/components/ai-chat/messages/SelectPropertyOptionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

The signature '(options?: { optional?: false | undefined; } | undefined): ThreadRuntime' of 'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZXzyhxE2KeNNbz&open=AZ8nwcZXzyhxE2KeNNbz&pullRequest=5329

Check warning on line 222 in client/src/shared/components/ai-chat/stores/useAiChatToolCallStore.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZ1zyhxE2KeNNcH&open=AZ8nwcZ1zyhxE2KeNNcH&pullRequest=5329

Check warning on line 64 in client/src/shared/components/ai-chat/messages/toToolResultDataPart.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZlzyhxE2KeNNb5&open=AZ8nwcZlzyhxE2KeNNb5&pullRequest=5329

Check warning on line 343 in client/src/shared/components/ai/model-picker/ModelPicker.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZ9zyhxE2KeNNcI&open=AZ8nwcZ9zyhxE2KeNNcI&pullRequest=5329

Check warning on line 151 in client/src/shared/components/copilot/CopilotPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZEzyhxE2KeNNbv&open=AZ8nwcZEzyhxE2KeNNbv&pullRequest=5329

Check warning on line 62 in client/src/shared/components/ai-chat/messages/SelectConnectionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZszyhxE2KeNNcD&open=AZ8nwcZszyhxE2KeNNcD&pullRequest=5329

Check warning on line 28 in client/src/shared/components/ai-chat/messages/SelectConnectionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

The signature '(options?: { optional?: false | undefined; } | undefined): ThreadRuntime' of 'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZszyhxE2KeNNcC&open=AZ8nwcZszyhxE2KeNNcC&pullRequest=5329

Check warning on line 189 in client/src/shared/components/ai-chat/stores/useAiChatToolCallStore.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZ1zyhxE2KeNNcG&open=AZ8nwcZ1zyhxE2KeNNcG&pullRequest=5329

Check warning on line 2 in client/src/shared/components/ai-chat/messages/SelectPropertyOptionMessage.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] SonarCloud Code Analysis

'useThreadRuntime' is deprecated.

See more on https://sonarcloud.io/project/issues?id=bytechef_client&issues=AZ8nwcZXzyhxE2KeNNby&open=AZ8nwcZXzyhxE2KeNNby&pullRequest=5329

Check warning on line 145 in client/src/shared/components/ai-chat/stores/useAiChatToolCallStore.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [client] 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=bytechef_client&issues=AZ8nwcZ1zyhxE2KeNNcE&open=AZ8nwcZ1zyhxE2KeNNcE&pullRequest=5329