mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 15:27:37 -05:00
[PR #20222] [CLOSED] feat: add search bar to admin settings sidebar + global settings search keyboard shortcut #64366
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/20222
Author: @silentoplayz
Created: 12/28/2025
Status: ❌ Closed
Base:
dev← Head:feat/admin-settings-search-bar📝 Commits (10+)
032a630feat: add search bar to admin settings sidebar3bacaf7chore: add more search keywords4e78ed8feat: Implement Admin and Global Settings Searchee47aa0style: Polish Global Search UI and shortcuts01ee6b0refac: add more keywords to all settings search modals44354d8refac: show global settings categories by defaultcb6ae2arefacb534d1afix699ab73fix: address high priorityc22f9dcfix(Settings): remove anonymous event listener to prevent memory leak📊 Changes
18 files changed (+1128 additions, -1063 deletions)
View changed files
➕
src/lib/components/GlobalSettingsModal.svelte(+181 -0)📝
src/lib/components/admin/Settings.svelte(+92 -362)📝
src/lib/components/chat/SettingsModal.svelte(+58 -677)📝
src/lib/components/chat/ShortcutItem.svelte(+6 -5)📝
src/lib/components/chat/ShortcutsModal.svelte(+10 -9)➕
src/lib/components/icons/AdjustmentsHorizontalSolid.svelte(+20 -0)➕
src/lib/components/icons/BookOpenSolid.svelte(+20 -0)➕
src/lib/components/icons/ChatBubbleOvalSolid.svelte(+16 -0)➕
src/lib/components/icons/CloudSolid.svelte(+14 -0)➕
src/lib/components/icons/CommandLineSolidSmall.svelte(+16 -0)➕
src/lib/components/icons/DatabaseSolid.svelte(+18 -0)➕
src/lib/components/icons/HeadphoneSolid.svelte(+17 -0)➕
src/lib/components/icons/PhotoSolidSmall.svelte(+16 -0)➕
src/lib/components/icons/SettingsSolid.svelte(+16 -0)➕
src/lib/constants/settings.ts(+600 -0)📝
src/lib/shortcuts.ts(+18 -10)📝
src/lib/stores/index.ts(+3 -0)📝
src/routes/(app)/+layout.svelte(+7 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
This PR introduces comprehensive search functionality for Open WebUI settings and refactors the settings architecture to use a centralized configuration. It implements a local search bar within the Admin Settings sidebar, a new Global Settings Search (Command Palette) accessible via
Cmd+Shift+F, and unifies the settings definitions into a single source of truth to eliminate code duplication and ensure consistency.Added
src/lib/constants/settings.tsas the single source of truth for all Admin and User settings, including IDs, titles, routes, keywords, and icons.Cmd+Shift+F(orCtrl+Shift+F).SettingsSolid,CloudSolid,DatabaseSolid) to ensure visual consistency with the original Admin interface design.SEARCH_SETTINGSshortcut to shortcuts.ts and ShortcutsModal.svelte.Changed
ADMIN_SETTINGSfrom the centralized config.settings.tsto improve search relevance across the board.activeSettingsTabstore, and replaced hardcoded tab logic with dynamic rendering.Additional Information
The Global Search modal is accessible via
Cmd+Shift+Fand intelligently routes users:/admin/settings/general).Screenshots or Videos
Local Admin Settings Search Bar
Global Settings Search Modal
Keyboard Shortcuts Modal Addition
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.