mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[PR #14002] [MERGED] feat: enhance search with username/email search across workspace pages #10151
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/14002
Author: @silentoplayz
Created: 5/18/2025
Status: ✅ Merged
Merged: 5/18/2025
Merged by: @tjbck
Base:
dev← Head:search-by-user-or-email📝 Commits (1)
95baddafeat: username and email search in workspace pages📊 Changes
4 files changed (+41 additions, -12 deletions)
View changed files
📝
src/lib/components/workspace/Knowledge.svelte(+12 -2)📝
src/lib/components/workspace/Models.svelte(+9 -3)📝
src/lib/components/workspace/Prompts.svelte(+10 -1)📝
src/lib/components/workspace/Tools.svelte(+10 -6)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Knowledge.svelte).Models.svelte).Prompts.svelte).Tools.svelte).Changed
Knowledge.svelte):user.nameanduser.emailin the search keys, allowing for searching by these user-specific fields.Models.svelte):filteredModelsreactive statement to include checks forsearchValuewithinmodel.user.nameandmodel.user.email(case-insensitive).Tools.svelte):filteredItemsreactive statement to include checks forquerywithintool.user.nameandtool.user.email(case-insensitive).prompts.svelte):filteredItemsare derived by checking the searchqueryagainstprompt.title,prompt.command,prompt.user.name, andprompt.user.email(case-insensitive).Additional Information
Fuse.jsor manual Svelte reactivity) were leveraged.Screenshots or Videos
After modification:

If an email address of a user's name is typed incorrectly (mistype of last letter for example):

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.