Sync feedback: Desktop chat, model, and preview fixes - #80
Sync feedback: Desktop chat, model, and preview fixes#80alichherawalla wants to merge 45 commits into
Quality Gate passed
Annotations
Check warning on line 5761 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAOwCrr40bQH5GiDP1C&open=AaAOwCrr40bQH5GiDP1C&pullRequest=80
Check warning on line 391 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
'message.uuid ?? message.id ?? ''' will use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgh&open=AZ_-7gNVkdcfuurrtrgh&pullRequest=80
Check warning on line 398 in src/renderer/src/components/MemoryChat.tsx
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=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgi&open=AZ_-7gNVkdcfuurrtrgi&pullRequest=80
Check warning on line 902 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgl&open=AZ_-7gNVkdcfuurrtrgl&pullRequest=80
Check warning on line 1824 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAOwCrr40bQH5GiDP1A&open=AaAOwCrr40bQH5GiDP1A&pullRequest=80
Check warning on line 902 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgk&open=AZ_-7gNVkdcfuurrtrgk&pullRequest=80
Check warning on line 1542 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Do not use Array index in keys
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgn&open=AZ_-7gNVkdcfuurrtrgn&pullRequest=80
Check warning on line 1836 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Media elements such as <audio> and <video> must have a <track> for captions.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAOwCrr40bQH5GiDP1B&open=AaAOwCrr40bQH5GiDP1B&pullRequest=80
Check warning on line 457 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
'message.uuid ?? message.id' will use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgj&open=AZ_-7gNVkdcfuurrtrgj&pullRequest=80
Check warning on line 1791 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AaAOwCrr40bQH5GiDP0_&open=AaAOwCrr40bQH5GiDP0_&pullRequest=80
Check warning on line 287 in src/main/models-manager.ts
sonarqubecloud / SonarCloud Code Analysis
Review this redundant assignment: "activePartRecoverable" already holds the assigned value along all execution paths.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7f--kdcfuurrtrgg&open=AZ_-7f--kdcfuurrtrgg&pullRequest=80
Check warning on line 1364 in src/renderer/src/components/MemoryChat.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ_-7gNVkdcfuurrtrgm&open=AZ_-7gNVkdcfuurrtrgm&pullRequest=80