mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #13999] [CLOSED] feat: Add Clear Search button to workspace pages #46401
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/13999
Author: @silentoplayz
Created: 5/18/2025
Status: ❌ Closed
Base:
dev← Head:search-bar-clear-button-in-workspace-pages📝 Commits (1)
1910b31feat: Add Clear Search button to Workspace page search bars📊 Changes
4 files changed (+95 additions, -0 deletions)
View changed files
📝
src/lib/components/workspace/Knowledge.svelte(+23 -0)📝
src/lib/components/workspace/Models.svelte(+23 -0)📝
src/lib/components/workspace/Prompts.svelte(+26 -0)📝
src/lib/components/workspace/Tools.svelte(+23 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Description
This pull request introduces a 'Clear Search' (X) button to the search input fields on the Prompts, Models, Knowledge, and Tools pages within the workspace. This button enhances user experience by providing a quick and consistent way to clear search queries. The button appears dynamically when text is entered into the search field and includes a helpful tooltip.
Changelog Entry
Added
src/lib/components/workspace/Prompts.sveltesrc/lib/components/workspace/Models.sveltesrc/lib/components/workspace/Knowledge.sveltesrc/lib/components/workspace/Tools.svelteon:clickevent clears the respective search query variable (e.g.,queryorsearchValue).Screenshots or Videos
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.