mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #2264] [MERGED] fix: prevent loop when fetching shared chat id #7743
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/2264
Author: @jonathan-rohde
Created: 5/14/2024
Status: ✅ Merged
Merged: 5/15/2024
Merged by: @tjbck
Base:
dev← Head:fix/share-chat-reactive-loop📝 Commits (4)
33b9629fix: prevent loop when fetching shared chat idea6f1a0Merge branch 'dev' into fix/share-chat-reactive-loop85dbdd2Merge branch 'dev' into fix/share-chat-reactive-loop9381113Update Menu.svelte📊 Changes
4 files changed (+51 additions, -27 deletions)
View changed files
📝
cypress/e2e/chat.cy.ts(+33 -0)📝
src/lib/components/chat/ShareChatModal.svelte(+15 -1)📝
src/lib/components/layout/Navbar.svelte(+2 -1)📝
src/lib/components/layout/Navbar/Menu.svelte(+1 -25)📄 Description
Pull Request Checklist
devbranch.Description
When you open the share modal dialog, the event loop causes a flood of requests to the backend. It is caused by the change of the variable chat, which cause a revalidate of the component and loading the same data again from backend.
Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.