[PR #12409] [CLOSED] Feat: optional update toast as environment variable #61762

Closed
opened 2026-05-06 05:25:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12409
Author: @victorstevansuse
Created: 4/3/2025
Status: Closed

Base: devHead: optional-version-notification


📝 Commits (1)

  • 83beb4e feat(config): add optional new update toast notification

📊 Changes

5 files changed (+29 additions, -19 deletions)

View changed files

📝 backend/open_webui/env.py (+5 -0)
📝 backend/open_webui/main.py (+2 -0)
📝 src/lib/components/chat/Settings/Interface.svelte (+20 -18)
📝 src/lib/stores/index.ts (+1 -0)
📝 src/routes/(app)/+layout.svelte (+1 -1)

📄 Description

Changelog Entry

Description

These changes add a feature flag ENABLE_UPDATE_NOTIFICATION to disable the update toast notification. Deployments may choose not to upgrade if their infrastructure is not ready to handle it, with that in mind it is not always possible for the OI admin to update, given these external factors. The update sometimes might not be up to the OI admin.

Added

  • ENABLE_UPDATE_NOTIFICATION environment variable to disable the update notification through the global configs. Default True.
  • Changes in the UI to only show the 'Show "What's New" modal on login' setting interface option when the mentioned environment variable is truthy.

Changed

  • Conditional rule to render the toast in the frontend.

🔄 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/12409 **Author:** [@victorstevansuse](https://github.com/victorstevansuse) **Created:** 4/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `optional-version-notification` --- ### 📝 Commits (1) - [`83beb4e`](https://github.com/open-webui/open-webui/commit/83beb4e1a8c7205c094c8e1256af9f3993d600a8) feat(config): add optional new update toast notification ### 📊 Changes **5 files changed** (+29 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/env.py` (+5 -0) 📝 `backend/open_webui/main.py` (+2 -0) 📝 `src/lib/components/chat/Settings/Interface.svelte` (+20 -18) 📝 `src/lib/stores/index.ts` (+1 -0) 📝 `src/routes/(app)/+layout.svelte` (+1 -1) </details> ### 📄 Description # Changelog Entry ### Description These changes add a feature flag `ENABLE_UPDATE_NOTIFICATION` to disable the update toast notification. Deployments may choose not to upgrade if their infrastructure is not ready to handle it, with that in mind it is not always possible for the OI admin to update, given these external factors. The update sometimes might not be up to the OI admin. ### Added - `ENABLE_UPDATE_NOTIFICATION` environment variable to disable the update notification through the global configs. Default `True`. - Changes in the UI to only show the 'Show "What's New" modal on login' setting interface option when the mentioned environment variable is truthy. ### Changed - Conditional rule to render the toast in the frontend. --- <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:25:08 -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#61762