mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #562] [Feature]: Add duplicate action for preset prompt blocks #258
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @cha1latte on GitHub (May 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/562
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
The preset prompt editor does not have a built-in way to copy or duplicate individual prompt blocks. Users who want to experiment with a modified version of a block while keeping the original available as a disabled rollback point currently have to manually copy, paste, and reconfigure the block by hand, which is slower and more error-prone.
Proposed solution
Add a copy or duplicate action to each prompt block in the preset editor. The duplicated block should preserve the original block's configurable content and settings so the user can quickly tweak the copy, activate/deactivate either version, and compare changes while editing a preset.
The reporter suggested placing the action near the existing prompt block controls, such as around the first four toolbar buttons or near the last two action buttons.
Alternatives considered
Manually copy, paste, and configure prompt blocks by hand, but that is slower and more prone to user error.
Additional context
Discord source: https://discord.com/channels/1417099416812392641/1502150994694373476
Reported by wiishywaashiiRole icon, 1-Star OP, in Discord on May 7, 2026 at 11:31 PM.
The reporter included a screenshot of a prompt block toolbar, using the Main Prompt block as an example placement target for the duplicate/copy control.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 8, 2026):
Triage note: labeling this as
normal-scopebecause it is a focused quality-of-life improvement to an existing preset editor control surface.Keep this in the normal enhancement backlog as a small preset editing convenience, with implementation scoped to duplicating one prompt block and its current settings.
@SpicyMarinara commented on GitHub (May 10, 2026):
Implemented in the local v1.5.9 issue sweep.
CHANGELOG.md.Validation:
pnpm --filter @marinara-engine/client lint.