feat: ask user for confirmation when deleting message #374

Closed
opened 2025-11-11 14:19:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @dannyl1u on GitHub (Feb 29, 2024).

Is your feature request related to a problem? Please describe.
Currently, messages can be deleted with a single click, leading to accidental deletions. Since deleting a message also removes all subsequent messages, this can result in significant data loss without the user's intention.

Describe the solution you'd like
Reuse the currently implemented UX for confirming deleting entire confirmations.

Describe alternatives you've considered
The existing system does not require confirmation before message deletion. While straightforward, this approach lacks safeguards against unintended deletions, highlighting the need for the proposed solution.

Additional context
Original delete message PR in https://github.com/open-webui/open-webui/pull/789

Originally created by @dannyl1u on GitHub (Feb 29, 2024). **Is your feature request related to a problem? Please describe.** Currently, messages can be deleted with a single click, leading to accidental deletions. Since deleting a message also removes all subsequent messages, this can result in significant data loss without the user's intention. **Describe the solution you'd like** Reuse the currently implemented UX for confirming deleting entire confirmations. **Describe alternatives you've considered** The existing system does not require confirmation before message deletion. While straightforward, this approach lacks safeguards against unintended deletions, highlighting the need for the proposed solution. **Additional context** Original delete message PR in https://github.com/open-webui/open-webui/pull/789
Author
Owner

@dannyl1u commented on GitHub (Feb 29, 2024):

I'll work on this.

@dannyl1u commented on GitHub (Feb 29, 2024): I'll work on this.
Author
Owner

@taidbui commented on GitHub (Feb 29, 2024):

@dannyl1u From the latest update, I can confirm that when I deleted a certain message, the subsequent messages were not deleted altogether. Therefore, it would not be an issue. Adding confirmation will make user experience worse because we have to click twice for an action (imagine have to delete a few messages...). Therefore, I suggest to have an option in settings to toggle this rather than imposing as a default feature.

@taidbui commented on GitHub (Feb 29, 2024): @dannyl1u From the latest update, I can confirm that when I deleted a certain message, the subsequent messages were not deleted altogether. Therefore, it would not be an issue. Adding confirmation will make user experience worse because we have to click twice for an action (imagine have to delete a few messages...). Therefore, I suggest to have an option in settings to toggle this rather than imposing as a default feature.
Author
Owner

@dannyl1u commented on GitHub (Feb 29, 2024):

@taidbui thanks for letting me know, will log that bug in a separate issue!

@dannyl1u commented on GitHub (Feb 29, 2024): @taidbui thanks for letting me know, will log that bug in a separate issue!
Author
Owner

@dannyl1u commented on GitHub (Mar 6, 2024):

Closing this feature request as we have decided to not delete all subsequent messages, only the selected prompt/response pair. Thus, a confirmation is not needed at this time

@dannyl1u commented on GitHub (Mar 6, 2024): Closing this feature request as we have decided to not delete all subsequent messages, only the selected prompt/response pair. Thus, a confirmation is not needed at this time
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#374