[PR #17851] [MERGED] feat: add toggle to show/hide chat title in browser tab #128233

Closed
opened 2026-05-21 10:38:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/17851
Author: @Classic298
Created: 9/28/2025
Status: Merged
Merged: 9/28/2025
Merged by: @tjbck

Base: devHead: feat-toggle-chat-title-in-browser-tab


📝 Commits (1)

  • 57c02b2 feat: add toggle to show/hide chat title in browser tab

📊 Changes

3 files changed (+23 additions, -1 deletions)

View changed files

📝 src/lib/components/chat/Chat.svelte (+1 -1)
📝 src/lib/components/chat/Settings/Interface.svelte (+21 -0)
📝 src/lib/stores/index.ts (+1 -0)

📄 Description

This commit introduces a new setting in the Interface settings that allows users to control whether the chat title is used as the browser's tab title.

Default: True
Can be set to False; if turned off, will write only "Open WebUI" and not include the title anymore.

The following changes were made:

  • Added useChatTitleAsTabTitle to the Settings type in src/lib/stores/index.ts.
  • Added a toggle switch in src/lib/components/chat/Settings/Interface.svelte to manage this new setting.
  • Updated src/lib/components/chat/Chat.svelte to conditionally set the document title based on the useChatTitleAsTabTitle setting.

Related: https://github.com/open-webui/open-webui/issues/17847

With it turned on:

image

Turning it off

image

With it turned off:

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/17851 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 9/28/2025 **Status:** ✅ Merged **Merged:** 9/28/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat-toggle-chat-title-in-browser-tab` --- ### 📝 Commits (1) - [`57c02b2`](https://github.com/open-webui/open-webui/commit/57c02b25234e2b3182879e020c52fa36c924544b) feat: add toggle to show/hide chat title in browser tab ### 📊 Changes **3 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+1 -1) 📝 `src/lib/components/chat/Settings/Interface.svelte` (+21 -0) 📝 `src/lib/stores/index.ts` (+1 -0) </details> ### 📄 Description This commit introduces a new setting in the Interface settings that allows users to control whether the chat title is used as the browser's tab title. Default: True Can be set to False; if turned off, will write only "Open WebUI" and not include the title anymore. The following changes were made: - Added `useChatTitleAsTabTitle` to the `Settings` type in `src/lib/stores/index.ts`. - Added a toggle switch in `src/lib/components/chat/Settings/Interface.svelte` to manage this new setting. - Updated `src/lib/components/chat/Chat.svelte` to conditionally set the document title based on the `useChatTitleAsTabTitle` setting. Related: https://github.com/open-webui/open-webui/issues/17847 With it turned on: <img width="2000" height="699" alt="image" src="https://github.com/user-attachments/assets/23e06f66-0a76-4331-8882-152e6a428ed8" /> Turning it off <img width="1124" height="144" alt="image" src="https://github.com/user-attachments/assets/23456fbd-e7f7-4893-acd8-d692bea09066" /> With it turned off: <img width="2006" height="666" alt="image" src="https://github.com/user-attachments/assets/0b71a4b1-eb09-4ce5-96ef-8fe0a94b51c3" /> ### 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-05-21 10:38:59 -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#128233