mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5684] [CLOSED] feat(client): copy the impersonation prompt from the stored-guidance … #6884
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#6884
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5684
Author: @luma-inibitor
Created: 8/30/2026
Status: ❌ Closed
Base:
staging← Head:patch/impersonate-copy-button📝 Commits (2)
083327dfeat(client): copy the impersonation prompt from the stored-guidance modalf81ff8efix(client): harden stored guidance copy actions📊 Changes
4 files changed (+167 additions, -36 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/chat/GenerationReplayDetailsModal.tsx(+71 -36)📝
packages/client/src/localization/locales/en.json(+12 -0)➕
scripts/regressions/generation-replay-copy.regression.ts(+83 -0)📄 Description
…modal
The stored-guidance modal shows a copy button beside the guided prompt but none beside either impersonation block, so an impersonation prompt could be read and not lifted out.
TextBlockhardcoded the guided strings into its copy button, which is why the affordance could not simply be reused. It now takes aCopyAction— the clipboard payload plus its label, tooltip, and result toasts — and all three blocks supply one:/guided <direction>, exactly as before./impersonate <direction>. The stored guidance is the direction/impersonatewas given, so the command replays the same generation, matching what regeneration already reconstructs inapplyGenerationReplayToRegenerateInput./impersonate_promptwrites chat metadata, which is a different field.A source-asserting regression lane pins the copy affordance to all three blocks and keeps their payloads distinct.
Linked issue
Closes #
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.