[PR #4349] [MERGED] feat: Sidebar infinite scroll (pagination) #37097

Closed
opened 2026-04-25 10:43:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: dev-scroll


📝 Commits (10+)

  • 4919981 add: stores for pagination state
  • 519375b add: skip and limit use in query
  • d119616 add: use skip and limit in api call
  • 62dc486 add: add paginated scroll handler
  • 2c4bc7a refactor: uses of chats.set(...) support pagi sidebar
  • 06a6421 fix: bool eval order
  • 6847c2f Merge branch 'origin/dev' into sidebar-pagination [skip ci]
  • 067d76f fix: dynamically determine page size
  • f9e1a93 fix: bug in chat deletion pagination interact
  • cdac0cd refactor: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/4349 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 8/4/2024 **Status:** ✅ Merged **Merged:** 8/4/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev-scroll` --- ### 📝 Commits (10+) - [`4919981`](https://github.com/open-webui/open-webui/commit/49199819db69837f31227cfef3674fbaf8abca72) add: stores for pagination state - [`519375b`](https://github.com/open-webui/open-webui/commit/519375b4c090d864395b6cacecc5c3b9bb3a0d93) add: skip and limit use in query - [`d119616`](https://github.com/open-webui/open-webui/commit/d11961626c56c30deb165f202e842d2ce283ccff) add: use skip and limit in api call - [`62dc486`](https://github.com/open-webui/open-webui/commit/62dc486c8577bef6d0c65fd3777b9425bd85a06d) add: add paginated scroll handler - [`2c4bc7a`](https://github.com/open-webui/open-webui/commit/2c4bc7a2b24ed1889621366186646dca6d41a78f) refactor: uses of `chats.set(...)` support pagi sidebar - [`06a6421`](https://github.com/open-webui/open-webui/commit/06a64219bc03d3fbf8f767d33c9f10ec8a18a65d) fix: bool eval order - [`6847c2f`](https://github.com/open-webui/open-webui/commit/6847c2fc8c0a3f6794a39264898eefcc97787e7b) Merge branch 'origin/dev' into sidebar-pagination [skip ci] - [`067d76f`](https://github.com/open-webui/open-webui/commit/067d76fecedb79fc2f700983bb5409d30d54700a) fix: dynamically determine page size - [`f9e1a93`](https://github.com/open-webui/open-webui/commit/f9e1a933a9f885efb558be6c19d83fcbc9902bb8) fix: bug in chat deletion pagination interact - [`cdac0cd`](https://github.com/open-webui/open-webui/commit/cdac0cd1df7cfa81dd69a66366c6789eae292c86) refactor: disable pagination moved to a function ### 📊 Changes **11 files changed** (+176 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 10:43:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#37097