[GH-ISSUE #4698] [Issue]: Add confirmation before deleting prompt blocks #2574

Closed
opened 2026-10-21 05:50:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4698

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Prompt blocks can be deleted accidentally when using nearby toggles in the chat settings menu. Add a confirmation prompt before permanently deleting a block.

Expected behavior

Deleting a prompt block should require confirmation, or deleted blocks should be recoverable.

Actual behavior

Accidentally selecting delete instead of the hide/eyeball toggle immediately removes the prompt block, requiring the preset to be re-imported.

Steps to reproduce

  1. Open a preset in the chat settings menu.
  2. Attempt to select the hide/eyeball toggle for a prompt block.
  3. Accidentally select the nearby delete control.
  4. Observe that the prompt block is removed without confirmation.

Environment

  • Marinara Engine version: v2.4.2
  • Install type: Not provided
  • OS + version: Windows 11
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The user suggested either an "Are you sure?" confirmation or a way to retrieve removed prompt blocks through the "+ add section" interface. SillyTavern was cited as supporting retrieval of previous or removed prompt blocks. A Marinara team response agreed that deletion should ask for confirmation.

Discord thread: [FR] Prompt Deletion Confirmation Notif
Discord thread link: https://discord.com/channels/1417099416812392641/1535174063687868450
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-08-07T06:33:38.938Z] wiishywaashii: Release: v2.4.2
Windows 11

I've noticed that I accidentally thumb/delete bits of my preset sometimes when I flick the toggles on the chat settings menu! Like sometimes I mean to press the hide/eyeball button to disable a part of prompt but then I delete it and it's gone foreverrr

i wanna pls ask for a "are you sure?" confirmation or something beforehand? Something *nice* but idk how it'd be implemented would be like a...way to retrieve deleted/removed prompt blocks. I know that ST has that possibility, and I imagine the previous/removed prompt blocks could be retrieved through the "+add section" section, but that's way more work than a notification/double confirm I think
[Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535174063687868450]

[2026-08-07T06:35:01.818Z] wiishywaashii: i jus dont wanna keep re-importing my presets when i kill a part of it on accident lmaoooo
[Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535174411311775755]

[2026-08-07T06:38:11.920Z] Marinara: Yeah, it should ask the user for confirmation.
[Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535175208657485834]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4698 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Prompt blocks can be deleted accidentally when using nearby toggles in the chat settings menu. Add a confirmation prompt before permanently deleting a block. ## Expected behavior Deleting a prompt block should require confirmation, or deleted blocks should be recoverable. ## Actual behavior Accidentally selecting delete instead of the hide/eyeball toggle immediately removes the prompt block, requiring the preset to be re-imported. ## Steps to reproduce 1. Open a preset in the chat settings menu. 2. Attempt to select the hide/eyeball toggle for a prompt block. 3. Accidentally select the nearby delete control. 4. Observe that the prompt block is removed without confirmation. ## Environment - Marinara Engine version: v2.4.2 - Install type: Not provided - OS + version: Windows 11 - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The user suggested either an "Are you sure?" confirmation or a way to retrieve removed prompt blocks through the "+ add section" interface. SillyTavern was cited as supporting retrieval of previous or removed prompt blocks. A Marinara team response agreed that deletion should ask for confirmation. Discord thread: [FR] Prompt Deletion Confirmation Notif Discord thread link: https://discord.com/channels/1417099416812392641/1535174063687868450 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-08-07T06:33:38.938Z] wiishywaashii: Release: v2.4.2 Windows 11 I've noticed that I accidentally thumb/delete bits of my preset sometimes when I flick the toggles on the chat settings menu! Like sometimes I mean to press the hide/eyeball button to disable a part of prompt but then I delete it and it's gone foreverrr i wanna pls ask for a "are you sure?" confirmation or something beforehand? Something *nice* but idk how it'd be implemented would be like a...way to retrieve deleted/removed prompt blocks. I know that ST has that possibility, and I imagine the previous/removed prompt blocks could be retrieved through the "+add section" section, but that's way more work than a notification/double confirm I think [Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535174063687868450] [2026-08-07T06:35:01.818Z] wiishywaashii: i jus dont wanna keep re-importing my presets when i kill a part of it on accident lmaoooo [Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535174411311775755] [2026-08-07T06:38:11.920Z] Marinara: Yeah, it should ask the user for confirmation. [Discord message: https://discord.com/channels/1417099416812392641/1535174063687868450/1535175208657485834] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:50:29 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 7, 2026):

Claimed by @SpicyMarinara. Implementation and validation are being tracked in draft PR #4699.

<!-- gh-comment-id:5214074479 --> @SpicyMarinara commented on GitHub (Aug 7, 2026): Claimed by @SpicyMarinara. Implementation and validation are being tracked in draft PR #4699.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2574
No description provided.