mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8655] [MERGED] fix(vn): VN mode stays on the paragraph you are reading, and swipes keep their own text #8727
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#8727
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/8655
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/vn-mode-streaming-swipes-8635-8636📝 Commits (1)
83d083dfix(vn): Roleplay VN stays on the paragraph you are reading, and swipes keep their own text (#8635, #8636)📊 Changes
4 files changed (+343 additions, -76 deletions)
View changed files
📝
e2e/roleplay-vn.e2e.ts(+244 -9)📝
packages/client/src/components/chat/ChatMessage.tsx(+5 -2)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+93 -65)📝
packages/client/src/localization/locales/en.json(+1 -0)📄 Description
Linked issue
Closes #8635
Closes #8636
Why this change
What changed
ChatRoleplaySurface.tsx(#8635):chat.roleplayVn.paragraphCounterStreaming, English only).ChatMessage.tsx(#8636): a message's Previous/Next swipe controls are hidden while that message's reply is still being written. Keyboard and touch swipes were already blocked then. This guard is client-only.e2e/roleplay-vn.e2e.ts: each new test fails on the old code:Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
node ./scripts/pnpm-runner.mjs check,localization:checkandcheck:e2e-typespass.e2e/roleplay-vn.e2e.tspasses all 20 tests on desktop Chromium. So dotracker-manual-edit-baseandchat-widget-dialogue-colors, which click swipe controls.e2e/roleplay-commands.e2e.tsfail: "sound commands reuse cached audio", and the native and textual roll continuations. They fail the same way with this PR's client changes reverted to staging (a sound playback request that never comes, and a dice-roll colour), so they aren't caused by this PR.For a human to verify:
Follow-up, not in this PR: the server still accepts an active-swipe change while a held rewrite is pending, so another tab or device could still land a rewrite on the wrong swipe. Making the rewrite save target the generated swipe would close that gap on the server too.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No docs change: these are bug fixes to existing VN behaviour.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.