mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #20770] feat: admin interface defaults with global settings and user reset #41405
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/20770
Author: @Classic298
Created: 1/17/2026
Status: 🔄 Open
Base:
dev← Head:feat/admin-interface-defaults📝 Commits (10+)
b15fb4ffeat: admin interface defaults with global settings and user resete557606Merge branch 'dev' into feat/admin-interface-defaults84488f8Merge branch 'dev' into feat/admin-interface-defaults68bced6Merge branch 'dev' into feat/admin-interface-defaultse70b420Merge branch 'dev' into feat/admin-interface-defaults4497226Merge branch 'dev' into feat/admin-interface-defaults6712c83fix: restore JSDoc marker, wire modal bindings, align chatDirection, drop nested form, parallelize loade724911fix: apply admin defaults for brand-new users, normalize chatDirection, wire entry points6cd3c72fix: flush child form before modal save, guard localStorage parse, explicit dialect check5835cd9fix: isolate admin-mode state, harden deepMerge, disable stale defaults cache📊 Changes
9 files changed (+743 additions, -79 deletions)
View changed files
📝
backend/open_webui/routers/configs.py(+96 -1)📝
backend/open_webui/routers/users.py(+86 -0)📝
src/lib/apis/configs/index.ts(+60 -0)📝
src/lib/apis/users/index.ts(+31 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+68 -0)➕
src/lib/components/admin/Settings/Interface/InterfaceDefaultsModal.svelte(+161 -0)📝
src/lib/components/chat/Settings/Interface.svelte(+97 -57)📝
src/lib/utils/index.ts(+94 -16)📝
src/routes/+layout.svelte(+50 -5)📄 Description
Summary
Adds the ability for admins to configure global interface defaults that apply to all users who haven't customized their settings, plus a reset button to clear all user customizations.
Features
Changes
Backend
Frontend
Testing
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.