What happened?
In sessions with many accumulated chat messages, the browser UI slows to a crawl and eventually becomes unresponsive. cline-agent-chat-panel.tsx renders every message as a live DOM node with no virtualization. Layout and paint cost scales linearly with total message history rather than the visible viewport, so long-running agent sessions progressively degrade until the app is unusable.
Steps to reproduce
- Run one or more agent tasks through a long session (hundreds of messages accumulated)
- Switch between task cards and observe chat panel lag
- Scroll the message list while streaming is active
Scrolling, switching tasks, and general interaction become progressively sluggish. With enough history the app becomes effectively unusable.
Expected behavior
The UI remains responsive regardless of message history length.
Kanban version
0.1.68
Environment
All browsers and all OS
What happened?
In sessions with many accumulated chat messages, the browser UI slows to a crawl and eventually becomes unresponsive.
cline-agent-chat-panel.tsxrenders every message as a live DOM node with no virtualization. Layout and paint cost scales linearly with total message history rather than the visible viewport, so long-running agent sessions progressively degrade until the app is unusable.Steps to reproduce
Scrolling, switching tasks, and general interaction become progressively sluggish. With enough history the app becomes effectively unusable.
Expected behavior
The UI remains responsive regardless of message history length.
Kanban version
0.1.68
Environment
All browsers and all OS