mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #18328] [CLOSED] Perf: loading knowledge files in pages #63611
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18328
Author: @expruc
Created: 10/14/2025
Status: ❌ Closed
Base:
dev← Head:perf/knowledge_files_loading📝 Commits (1)
5785f3fimplemented paging mechanism for loading files on knowledges📊 Changes
3 files changed (+78 additions, -7 deletions)
View changed files
📝
src/lib/components/common/Loader.svelte(+15 -3)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+42 -4)📝
src/lib/components/workspace/Knowledge/KnowledgeBase/Files.svelte(+21 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
Implemented a paging mechanism for displaying the files in the knowledge UI page. It dynamically loads batches of 100 files into the page per user request (scrolling to the end of the files list, similarly to the chat scroll mechanism). This should drastically improve loading the overview of a large knowledge
Added
Paging for file list component on knowledge overview page.
Additional Information
Partially resolves #17998.
Video of the change:
https://github.com/user-attachments/assets/c6bf8331-c4b9-4e74-887d-936665cc1950
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.