mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #18421] [CLOSED] UPD:FEAT: Notes and Collections to folders with drag and drop #63642
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/18421
Author: @rgaricano
Created: 10/19/2025
Status: ❌ Closed
Base:
dev← Head:dev-FEAT-impro_Folders_Notes_Chat_Collections📝 Commits (1)
fa576b6UPD:FEAT: Notes and Collections to folders with drag and drop📊 Changes
21 files changed (+1117 additions, -43 deletions)
View changed files
📝
backend/open_webui/models/notes.py(+9 -0)📝
backend/open_webui/routers/folders.py(+17 -1)📝
src/lib/components/chat/MessageInput.svelte(+187 -7)📝
src/lib/components/chat/MessageInput/FilesOverlay.svelte(+48 -0)📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+22 -10)📝
src/lib/components/chat/MessageInput/InputMenu/Notes.svelte(+14 -0)📝
src/lib/components/chat/Placeholder/ChatList.svelte(+1 -0)📝
src/lib/components/chat/Placeholder/FolderPlaceholder.svelte(+123 -10)📝
src/lib/components/common/RichTextInput.svelte(+1 -1)📝
src/lib/components/layout/Sidebar.svelte(+6 -0)📝
src/lib/components/layout/Sidebar/ChatItem.svelte(+27 -1)➕
src/lib/components/layout/Sidebar/CollectionItem.svelte(+105 -0)➕
src/lib/components/layout/Sidebar/CollectionMenu.svelte(+49 -0)📝
src/lib/components/layout/Sidebar/Folders/FolderModal.svelte(+5 -2)➕
src/lib/components/layout/Sidebar/NoteItem.svelte(+129 -0)➕
src/lib/components/layout/Sidebar/NoteMenu.svelte(+49 -0)📝
src/lib/components/layout/Sidebar/RecursiveFolder.svelte(+213 -10)📝
src/lib/components/notes/Notes.svelte(+29 -0)📝
src/lib/components/workspace/Knowledge.svelte(+61 -1)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+21 -0)...and 1 more files
📄 Description
Update of folders feature
Added drag and drop for notes and collections to folders and from folders items to message input. Enabled the FolderPlaceHolder for those items.
https://github.com/user-attachments/assets/cd738447-065d-4d88-9bf5-83607d27f17e
Here’s a grouped summary of the changes.
Backend
API / Routers
Frontend — major features and components
Message input and attaching files
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput/FilesOverlay.svelte
src/lib/components/chat/MessageInput/InputMenu.svelte
src/lib/components/chat/MessageInput/InputMenu/Notes.svelte
src/lib/components/chat/MessageInput/FilesOverlay.svelte and InputMenu usage updated in MessageInput.svelte.
Notes UI and draggable notes
Folder, Sidebar and folder UI
src/lib/stores/index.ts
Sidebar and folder-related components:
Folder placeholder and folder content listing
Chat list placeholder
Workspace Knowledge and KnowledgeBase
Misc frontend tweaks and fixes
src/lib/components/common/RichTextInput.svelte
MessageInput.svelte: prevent duplicates for files.
FilesOverlay usage updated in MessageInput.svelte to pass drop handlers and inputFilesHandler.
General behavior introduced
New files added (components)
Summary of intent
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.