[PR #12266] [CLOSED] [improvement] insert temporary-chat=false logic & remove console.log() #61744

Closed
opened 2026-05-06 05:22:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12266
Author: @weisser-dev
Created: 4/1/2025
Status: Closed

Base: devHead: improvement-enforce-temp-chat-url


📝 Commits (1)

  • b55907b remove console.log and insert temporary-chat=false logic

📊 Changes

1 file changed (+9 additions, -6 deletions)

View changed files

📝 src/routes/(app)/+layout.svelte (+9 -6)

📄 Description

Improved Temporary Chat Behavior
Current Behavior:

  • If the URL parameter temporary-chat is set to "true", temporary chat is enabled.
  • If no URL parameter is set, the system checks for the user's permission.
  • If the permission exists, the user has no option to disable temporary chat.

Improvement:

  • Now, the user can explicitly set the URL parameter to "false" to disable temporary chat.
  • This gives users more control, as the logic now follows:
  • URL parameter > Permission

This change ensures that users can override enforced permissions via the URL parameter if needed. 🚀

Maybe this is needed? If not, just close it. When I thought about implementing this feature, I thought this logic would be nice for the user.


🔄 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/12266 **Author:** [@weisser-dev](https://github.com/weisser-dev) **Created:** 4/1/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `improvement-enforce-temp-chat-url` --- ### 📝 Commits (1) - [`b55907b`](https://github.com/open-webui/open-webui/commit/b55907bc511fc77b91ff278c18cb9d685386f172) remove console.log and insert temporary-chat=false logic ### 📊 Changes **1 file changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/routes/(app)/+layout.svelte` (+9 -6) </details> ### 📄 Description Improved Temporary Chat Behavior **Current Behavior:** - If the URL parameter temporary-chat is set to "true", temporary chat is enabled. - If no URL parameter is set, the system checks for the user's permission. - If the permission exists, the user has no option to disable temporary chat. **Improvement:** - Now, the user can explicitly set the URL parameter to "false" to disable temporary chat. - This gives users more control, as the logic now follows: - URL parameter > Permission This change ensures that users can override enforced permissions via the URL parameter if needed. 🚀 Maybe this is needed? If not, just close it. When I thought about implementing this feature, I thought this logic would be nice for the user. --- <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-06 05:22:53 -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#61744