[BUG] Large workloads lag the UI

Open
#3,976 0 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript

Research direction

Reproduce by loading a conversation with 5000+ turns and profile the conversation-switch path in the chat rendering code under src/renderer (or equivalent UI directory), watching for full re-renders of message history and synchronous storage loads. Look first at the conversation list and message list components for virtualization and memoization gaps. Done means switching conversations with huge histories stays near-instant, verified by profiling before/after.

Written by the indexing model from the issue text.

Description

Bug Description
Long messages history and many conversations created can lag the UI

Steps to Reproduce
Have a lot conversations then have 5000+ turns in each conversation working on actual coding repository

Expected Results
Can operate without lagging as usual

Actual Results
Switching conversation lag for 5+ seconds

Please engineer a solution to let performance be constant

Dominant language
TypeScript
Stars
42.5k
Forks
4.4k
Avg merge
11h 14m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chatboxai/chatbox

All issues in chatboxai/chatbox

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.