mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5698] [MERGED] feat(client): copy impersonation guidance from stored replay #6889
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#6889
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/5698
Author: @Gunterlie
Created: 8/31/2026
Status: ✅ Merged
Merged: 8/31/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/impersonate-copy-button-origin📝 Commits (3)
2b79490feat(client): copy the impersonation prompt from the stored-guidance modalcaeac25fix(client): harden stored guidance copy actionsfd6900ffix: escape regression regex inputs📊 Changes
4 files changed (+179 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(+95 -0)📄 Description
$## Why this change\n\nStored guidance showed impersonation directions and prompt templates, but users could not copy them for reuse.\n\n## What changed\n\n- Add copy actions to guided guidance, impersonation guidance, and impersonation prompt template blocks.\n- Copy guided and impersonation directions as replayable slash commands.\n- Copy impersonation prompt templates verbatim.\n- Reuse the shared clipboard helper and localize all visible labels and fallback text.\n- Add a source regression for all copy payloads and clipboard failure handling.\n\n## Validation\n\n-
pnpm check\n-pnpm localization:check\n- Focused generation replay copy regression\n- Manual browser verification remains required for light mode, dark mode, mobile, empty guidance, and clipboard failure.\n\n## Docs and release impact\n\n- UpdatedCHANGELOG.md.\n\nCloses #Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.