App Freezing in Chat Tab with Many Messages

Issue Description

When opening a chat with a large number of messages, Qoder completely freezes. The app does not recover until it is force closed and restarted.

Steps to Reproduce

  1. Open a chat thread with a long history (hundreds or thousands of messages).
  2. Wait for the chat to finish loading or try scrolling through it.
  3. The app freezes completely.

Expected Behavior

The chat should load and remain responsive regardless of the number of messages.

Actual Behavior

The app freezes once the chat loads, making it impossible to continue using until force closed.

Screenshots / Screen Recordings

Operating System

Apple M1 Pro (please let me know if more OS details are needed).

Current Qoder Version (Menu → About Qoder → Copy)

Version: 0.1.17
VSCode Version: 1.100.0
Commit: 5674a6486fead9ccd7216e1ae85e508370a9f46e
Date: 2025-08-25T03:40:43.461Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0