mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-16 12:02:07 -05:00
[PR #17282] feat: Implement resizable sidebar and improve responsive layout #11178
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/17282
Author: @SukJinKim
Created: 9/9/2025
Status: 🔄 Open
Base:
dev← Head:dev📝 Commits (5)
00fcd27fix: update ChatItem title display to truncate long text7002b75feat: implement resizable sidebar with persistent width1d7941cfeat: move resizer handler for sidebar to improve layout responsiveness9f592adfeat: enhance sidebar resizing performance with requestAnimationFramefa8a6e1fix: update sidebar width styling for improved responsiveness📊 Changes
14 files changed (+108 additions, -18 deletions)
View changed files
📝
src/lib/components/channel/Channel.svelte(+1 -1)📝
src/lib/components/chat/Chat.svelte(+2 -2)📝
src/lib/components/chat/MessageInput/FilesOverlay.svelte(+1 -1)📝
src/lib/components/layout/Sidebar.svelte(+92 -5)📝
src/lib/components/layout/Sidebar/ChatItem.svelte(+1 -1)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+1 -1)📝
src/lib/stores/index.ts(+3 -0)📝
src/routes/(app)/+layout.svelte(+1 -1)📝
src/routes/(app)/admin/+layout.svelte(+1 -1)📝
src/routes/(app)/home/+layout.svelte(+1 -1)📝
src/routes/(app)/notes/+page.svelte(+1 -1)📝
src/routes/(app)/notes/[id]/+page.svelte(+1 -1)📝
src/routes/(app)/playground/+layout.svelte(+1 -1)📝
src/routes/(app)/workspace/+layout.svelte(+1 -1)📄 Description
Pull Request Checklist
Discussions: #7765, #7909
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.Changelog Entry
Description
resizable sidebarwith persistent width, improves sidebar resizing performance using requestAnimationFrame, and updates layout responsiveness across the application. The sidebar width is now stored in localStorage and reflected via a CSS variable, ensuring consistent appearance and usability. All related layout components have been updated to use the new sidebar width variable for better responsiveness.only enabled on desktop environments. Minimum and maximum sidebar widths are enfoced.Added
sidebarWidth(default: 260)Changed
var(--sidbar-width)instead of a fixed width (260px)Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Resizable sidebar(on desktop)

Resizable sidebar(on mobile)

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.