mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[PR #20258] [MERGED] feat: make changelog modal X button persist dismissal like "Okay, Let's Go!" button #48571
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/20258
Author: @Classic298
Created: 12/30/2025
Status: ✅ Merged
Merged: 12/30/2025
Merged by: @tjbck
Base:
dev← Head:banner📝 Commits (2)
d265606Update ChangelogModal.svelte932260cfunction📊 Changes
1 file changed (+9 additions, -10 deletions)
View changed files
📝
src/lib/components/ChangelogModal.svelte(+9 -10)📄 Description
Summary
The X (close) button on the "What's New" changelog modal now has the same behavior as the "Okay, Let's Go!" button, properly persisting the dismissal so the modal doesn't reappear until the next update.
This will kill some frustrations some users have who do not know these buttons behave differently, that keep on opening issues again and again because they do not know they need to click on "Okay, Let's Go!" for the modal to permanently disappear.
Problem
Previously, clicking the X button to close the changelog modal only set the version in localStorage and closed the modal. This was inconsistent with the "Okay, Let's Go!" button which also synced the version to user settings on the server. This could cause the modal to reappear unexpectedly in certain scenarios (e.g., clearing localStorage, logging in from another device).
Solution
Updated the X button click handler in ChangelogModal.svelte to match the "Okay, Let's Go!" button behavior:
This ensures both dismissal methods have consistent behavior.
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.