mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #18193] [CLOSED] Fix: The sidebar no longer re-opens automatically #63550
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/18193
Author: @amithadityacp
Created: 10/9/2025
Status: ❌ Closed
Base:
main← Head:feat/tts-floating-player📝 Commits (1)
9768d0cFix: The sidebar no longer re-opens automatically📊 Changes
4 files changed (+137 additions, -454 deletions)
View changed files
➕
src/lib/components/chat/FloatingPlayer.svelte(+60 -0)📝
src/lib/components/chat/Messages.svelte(+68 -453)➕
src/lib/stores/ttsstore.js(+5 -0)📝
src/routes/+layout.svelte(+4 -1)📄 Description
This pull request resolves issue #3023 by implementing a persistent, floating player for Text-to-Speech (TTS) playback, significantly improving the user experience.
Description
Previously, TTS audio would continue to play even after a user navigated away from the chat or performed another action, which could be confusing. This PR introduces a floating player that provides users with full manual control over the audio playback from anywhere in the application.
Key Changes
src/lib/stores/ttsStore.js) to globally manage the activeAudioobject.src/lib/components/FloatingPlayer.svelte, which displays and controls the TTS playback. The player is persistent across all routes.Message.svelteto use the new store, putting the audio object into the store when TTS is activated.+layout.svelteto include the<FloatingPlayer />, making it globally available.This approach provides a robust and user-friendly solution to the problem outlined in the original issue.
I have read and agree to the Contributor License Agreement.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.