Open
0 of 1 issue completedDescription
Problem
When there are thousands of chats, the UI attempts to load all available chats at once, which can lead to performance issues. The same problem applies to messages within a chat.
Expected Behavior
- Chats: The UI should only load enough chats to fill the visible screen, and load more as the user scrolls (infinite scroll or pagination).
- Messages: When opening a chat, the UI should load only the most recent messages to fill the view, and load older messages as the user scrolls up.
Suggested Solution
Implement lazy loading or infinite scroll for both chat lists and messages within a chat to improve performance.