Conversation
macodev00
force-pushed
the
fix/sidebar-delete-open-chat-folder-31321
branch
2 times, most recently
from
September 28, 2026 06:28
9e8dc32 to
2d1c5e9
Compare
The Delete Chat shortcut confirms through the navbar handler, which refreshed the recent and pinned lists but not open sidebar folders.
macodev00
force-pushed
the
fix/sidebar-delete-open-chat-folder-31321
branch
from
September 28, 2026 06:28
2d1c5e9 to
ec2f04b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This draft on
macodev00/open-webuipreparesCloses #31321for an upstream pull request later. It is not a pull request againstopen-webui/open-webui.Summary
Deleting the open chat with the Delete Chat shortcut (
Ctrl+Shift+Backspace) removes the chat, but the entry stays under its expanded sidebar folder until a full reload. Clicking that leftover entry opens a chat that no longer exists.Since open-webui#30165 the shortcut clicks the hidden navbar
#delete-chat-button, which confirms throughconfirmDeleteChatinChat.svelte. That handler refreshed the recent and pinned lists, but not sidebar folder chat lists. Deleting the same chat from its sidebar row still reloads folder items, and archiving from the navbar already callsrefreshFolderChatLists().Change
After a successful delete, call
refreshFolderChatLists()so every open folder reloads its chats. Same call archive and move already use.Verification
open-webui/open-webuidev(420b4a279).prettier3.3.3 leaves this one-line addition unchanged aside from an unrelated pre-existing indent in the same file, which is not part of this commit.Chat.sveltereports existing issues only; frontend CI does not run ESLint.