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

enhancement: chat history pagination (infinite scroll) #2078

Open
2 of 4 tasks
bannert1337 opened this issue May 8, 2024 · 0 comments
Open
2 of 4 tasks

enhancement: chat history pagination (infinite scroll) #2078

bannert1337 opened this issue May 8, 2024 · 0 comments
Labels
core core feature enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@bannert1337
Copy link
Contributor

Bug Report

Description

Bug Summary:
When importing and loading a large number of chat sessions into Open WebUI, the application experiences significant performance degradation, causing the interface to freeze temporarily. This issue seems related to the side-panel attempting to load all chat sessions simultaneously.

Steps to Reproduce:

  1. Export a large set of ChatGPT chat sessions.
  2. Import these sessions into Open WebUI.
  3. Access the Open WebUI to observe the loading process.
  4. Notice that the interface freezes for a duration, particularly when the side-panel attempts to load all chats.

Expected Behavior:
The interface should remain responsive and load chat sessions smoothly without causing the entire application to freeze, regardless of the number of chats being loaded.

Actual Behavior:
The interface freezes temporarily when trying to load a large number of chat sessions at once, significantly affecting user experience and accessibility.

Environment

  • Open WebUI Version: 0.1.123

  • Ollama (if applicable): 0.1.32

  • Operating System: Debian 12

  • Browser (if applicable): Floorp 11.12.2 (64-Bit)

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Additional Information

One possible improvement could be the implementation of pagination or lazy loading for the chat sessions to avoid overwhelming the browser's capabilities by attempting to load extensive data simultaneously.

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

@tjbck tjbck changed the title Performance Issues with Loading Chat History enhancement: chat history pagination (infinite scroll) May 8, 2024
@tjbck tjbck added enhancement New feature or request good first issue Good for newcomers core core feature labels May 8, 2024
@tjbck tjbck added this to the v1.0 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core core feature enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants