mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #18300] [CLOSED] feat: add search bar to reference picker modals #63601
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/18300
Author: @silentoplayz
Created: 10/13/2025
Status: ❌ Closed
Base:
dev← Head:add-search-bar-to-reference-chats📝 Commits (2)
eb68721feat: add search bar to reference picker modalse8cd966chore: style📊 Changes
4 files changed (+285 additions, -114 deletions)
View changed files
📝
src/lib/components/chat/MessageInput/InputMenu/Chats.svelte(+43 -3)📝
src/lib/components/chat/MessageInput/InputMenu/Knowledge.svelte(+93 -49)📝
src/lib/components/chat/MessageInput/InputMenu/Notes.svelte(+42 -2)📝
src/lib/components/chat/MessageInput/IntegrationsMenu.svelte(+107 -60)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
This pull request enhances the user experience by adding search functionality to the various picker menus within the chat input. Users can now quickly type in a search bar at the top of these picker menus to filter and find items in the "Attach Notes", "Attach Knowledge", "Reference Chats", and "Tools" menus, which is especially useful for those with long lists of items.
Added
Changed
src/lib/components/chat/MessageInput/InputMenu/Chats.svelteto include a search input and filtering logic.src/lib/components/chat/MessageInput/InputMenu/Notes.svelteto include a search input and filtering logic.src/lib/components/chat/MessageInput/InputMenu/Knowledge.svelteto include a search input and filtering logic.src/lib/components/chat/MessageInput/IntegrationsMenu.svelteto include a search input and filtering logic for the tools list.Additional Information
fuse.jslibrary is used for fuzzy searching to ensure a robust and user-friendly filtering experience.Screenshots or Videos
"Attach Notes" picker menu:

"Attach Knowledge" picker menu:

"Reference Chats" picker menu:

"Tools" picker menu within the Integrations Menu:

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.