[PR #18300] [CLOSED] feat: add search bar to reference picker modals #47793

Closed
opened 2026-04-29 23:09:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/18300
Author: @silentoplayz
Created: 10/13/2025
Status: Closed

Base: devHead: add-search-bar-to-reference-chats


📝 Commits (2)

  • eb68721 feat: add search bar to reference picker modals
  • e8cd966 chore: 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:

  • Target branch: Verify that the pull request targets the dev branch. Not targeting the dev branch may lead to immediate closure of the PR.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: If necessary, update relevant documentation Open WebUI Docs like environment variables, the tutorials, or other documentation sources.
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Perform manual tests to verify the implemented fix/feature works as intended AND does not break any other functionality. Take this as an opportunity to make screenshots of the feature/fix and include it in the PR description.
  • Agentic AI Code:: Confirm this Pull Request is not written by any AI Agent or has at least gone through additional human review and manual testing. If any AI Agent is the co-author of this PR, it may lead to immediate closure of the PR.
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Title Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

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

  • A search bar to the "Reference Chats" picker menu.
  • A search bar to the "Attach Notes" picker menu.
  • A search bar to the "Attach Knowledge" picker menu.
  • A search bar to the "Tools" picker menu within the Integrations Menu.

Changed

  • Modified src/lib/components/chat/MessageInput/InputMenu/Chats.svelte to include a search input and filtering logic.
  • Modified src/lib/components/chat/MessageInput/InputMenu/Notes.svelte to include a search input and filtering logic.
  • Modified src/lib/components/chat/MessageInput/InputMenu/Knowledge.svelte to include a search input and filtering logic.
  • Modified src/lib/components/chat/MessageInput/IntegrationsMenu.svelte to include a search input and filtering logic for the tools list.

Additional Information

  • This change provides a consistent and more efficient user experience across all picker menus in the chat interface.
  • The fuse.js library is used for fuzzy searching to ensure a robust and user-friendly filtering experience.

Screenshots or Videos

"Attach Notes" picker menu:
image

"Attach Knowledge" picker menu:
image

"Reference Chats" picker menu:
image

"Tools" picker menu within the Integrations Menu:
image

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/18300 **Author:** [@silentoplayz](https://github.com/silentoplayz) **Created:** 10/13/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `add-search-bar-to-reference-chats` --- ### 📝 Commits (2) - [`eb68721`](https://github.com/open-webui/open-webui/commit/eb68721b2664feadc6d67e2365dc43ecbbdb3832) feat: add search bar to reference picker modals - [`e8cd966`](https://github.com/open-webui/open-webui/commit/e8cd9668526f41594b5fe7cf2cbe72b981d1f80e) chore: style ### 📊 Changes **4 files changed** (+285 additions, -114 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description # Pull Request Checklist **Before submitting, make sure you've checked the following:** - [X] **Target branch:** Verify that the pull request targets the `dev` branch. Not targeting the `dev` branch may lead to immediate closure of the PR. - [X] **Description:** Provide a concise description of the changes made in this pull request. - [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [X] **Documentation:** If necessary, update relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs) like environment variables, the tutorials, or other documentation sources. - [X] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [X] **Testing:** Perform manual tests to verify the implemented fix/feature works as intended AND does not break any other functionality. Take this as an opportunity to make screenshots of the feature/fix and include it in the PR description. - [X] **Agentic AI Code:**: Confirm this Pull Request is **not written by any AI Agent** or has at least gone through additional human review **and** manual testing. If any AI Agent is the co-author of this PR, it may lead to immediate closure of the PR. - [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [X] **Title Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # 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 - A search bar to the "Reference Chats" picker menu. - A search bar to the "Attach Notes" picker menu. - A search bar to the "Attach Knowledge" picker menu. - A search bar to the "Tools" picker menu within the Integrations Menu. ### Changed - Modified `src/lib/components/chat/MessageInput/InputMenu/Chats.svelte` to include a search input and filtering logic. - Modified `src/lib/components/chat/MessageInput/InputMenu/Notes.svelte` to include a search input and filtering logic. - Modified `src/lib/components/chat/MessageInput/InputMenu/Knowledge.svelte` to include a search input and filtering logic. - Modified `src/lib/components/chat/MessageInput/IntegrationsMenu.svelte` to include a search input and filtering logic for the tools list. --- ### Additional Information - This change provides a consistent and more efficient user experience across all picker menus in the chat interface. - The `fuse.js` library is used for fuzzy searching to ensure a robust and user-friendly filtering experience. ### Screenshots or Videos **"Attach Notes" picker menu:** <img width="314" height="315" alt="image" src="https://github.com/user-attachments/assets/92e09a61-48f7-44ea-a03c-474368c0b1f7" /> **"Attach Knowledge" picker menu:** <img width="317" height="343" alt="image" src="https://github.com/user-attachments/assets/4377783f-483e-4d7c-8a99-859d3b62b515" /> **"Reference Chats" picker menu:** <img width="312" height="372" alt="image" src="https://github.com/user-attachments/assets/a004cb59-f0a2-4404-933a-97f87f74548f" /> **"Tools" picker menu within the Integrations Menu:** <img width="355" height="376" alt="image" src="https://github.com/user-attachments/assets/1abc151c-5a4c-4814-a7a4-686b55e6f031" /> ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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-29 23:09:39 -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#47793