Originally created by @dannyl1u on GitHub (Mar 1, 2024).
# Bug Report
## Description
Reported in https://github.com/open-webui/open-webui/issues/962#issuecomment-1970690378
**Bug Summary:**
Subsequent child messages not deleted when a message is deleted.
**Steps to Reproduce:**
1. Create a conversation with at least 3 prompts
2. Delete any message after the first message that isn't the last message
**Expected Behavior:**
All subsequent child messages should also be deleted.
**Actual Behavior:**
Only the first parent message is deleted.
## Additional Information
I'll create a PR to address this, will follow the implementation suggested by @tjbck in https://github.com/open-webui/open-webui/pull/789#discussion_r1496816766 (manipulating the history graph object directly)
Marking issue as closed since it was decided that only the message pair (not all subsequent messages) should be deleted. User can edit the message and resubmit if they wish to have all children messages deleted.
@dannyl1u commented on GitHub (Mar 3, 2024):
Marking issue as closed since it was decided that only the message pair (not all subsequent messages) should be deleted. User can edit the message and resubmit if they wish to have all children messages deleted.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @dannyl1u on GitHub (Mar 1, 2024).
Bug Report
Description
Reported in https://github.com/open-webui/open-webui/issues/962#issuecomment-1970690378
Bug Summary:
Subsequent child messages not deleted when a message is deleted.
Steps to Reproduce:
Expected Behavior:
All subsequent child messages should also be deleted.
Actual Behavior:
Only the first parent message is deleted.
Additional Information
I'll create a PR to address this, will follow the implementation suggested by @tjbck in https://github.com/open-webui/open-webui/pull/789#discussion_r1496816766 (manipulating the history graph object directly)
@dannyl1u commented on GitHub (Mar 3, 2024):
Marking issue as closed since it was decided that only the message pair (not all subsequent messages) should be deleted. User can edit the message and resubmit if they wish to have all children messages deleted.