Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite scroll feature for chats & messages #125

Open
diyor28 opened this issue Feb 16, 2025 · 0 comments
Open

Infinite scroll feature for chats & messages #125

diyor28 opened this issue Feb 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@diyor28
Copy link
Contributor

diyor28 commented Feb 16, 2025

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.

@diyor28 diyor28 added the enhancement New feature or request label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant