mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #4349] [MERGED] feat: Sidebar infinite scroll (pagination) #37097
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/4349
Author: @tjbck
Created: 8/4/2024
Status: ✅ Merged
Merged: 8/4/2024
Merged by: @tjbck
Base:
dev← Head:dev-scroll📝 Commits (10+)
4919981add: stores for pagination state519375badd: skip and limit use in queryd119616add: use skip and limit in api call62dc486add: add paginated scroll handler2c4bc7arefactor: uses ofchats.set(...)support pagi sidebar06a6421fix: bool eval order6847c2fMerge branch 'origin/dev' into sidebar-pagination [skip ci]067d76ffix: dynamically determine page sizef9e1a93fix: bug in chat deletion pagination interactcdac0cdrefactor: disable pagination moved to a function📊 Changes
11 files changed (+176 additions, -39 deletions)
View changed files
📝
backend/apps/webui/models/chats.py(+5 -4)📝
backend/apps/webui/routers/chats.py(+8 -2)📝
src/lib/apis/chats/index.ts(+7 -2)📝
src/lib/components/chat/Chat.svelte(+23 -8)📝
src/lib/components/chat/Messages.svelte(+3 -2)📝
src/lib/components/chat/Settings/Chats.svelte(+12 -4)📝
src/lib/components/chat/Tags.svelte(+11 -6)➕
src/lib/components/common/Loader.svelte(+30 -0)📝
src/lib/components/layout/Sidebar.svelte(+64 -7)📝
src/lib/components/layout/Sidebar/ChatItem.svelte(+10 -4)📝
src/lib/stores/index.ts(+3 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.