mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#1867
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 @kolacheee on GitHub (Jul 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3456
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Visual Novel mode is obsolete — Game Mode replaced it, and the decision is already on record in #1253 ("visual novel is some leftover old code from what the game mode was supposed to be initially"). The refactor codebase removed
visual_novelwholesale in commit981971c1, but that commit lives on therefactorbranch only — it was never ported tostaging. So current staging users still see the dead mode in several places:packages/client/src/components/layout/ChatSidebar.tsx(MODE_CONFIG, lines 186–193): a "Visual Novel" tab markedcomingSoon: true, promising a mode that will never ship. Its description ("A full game experience with backgrounds, sprites, text boxes, and choices") and itslogoModeClass(mari-chat-logo-mode--game) already describe Game mode.packages/client/src/components/panels/SettingsPanel.tsx: option labels "Classic VN" and "History Above VN" (lines 1240–1251), plus "VN box" wording in the option descriptions, the help tooltip (line 4219), and the settings-search entry (line 948). A Game-mode layout setting is named after the obsolete mode.packages/server/src/services/achievements/achievements.service.ts(lines 31–33):isRoleplayModecountsmode === "visual_novel"chats toward the "They Feel Real To Me" (Roleplay chats) achievement.Note the
visual_novelenum itself has to stay for now: it is a valid chat mode inchat.schema.tsand the DB schema, and the SillyTavern chat importer accepts it (st-chat.importer.tsline 153), so legacy rows can exist. Full contract/schema removal (option 1 in #1253) needs a migration plan and is explicitly out of scope here — this issue only covers what users can see.Proposed solution
Scoped label cleanup on
staging. The replacement wording is a product call, so confirming direction before any code:visual_novelchats should list under — Roleplay (they render through the roleplay surface today, and the achievement counts them as roleplay) or Game (RecentChats.tsxlines 26–30 already labelsvisual_novelchats "Game"). Those two surfaces currently disagree.isRoleplayModeas-is — legacy/importedvisual_novelchats keep counting toward the Roleplay achievement, nothing user-visible says "VN" there, and changing it would silently alter users' achievement progress. Flagging it only because it is the last place the obsolete mode has behavioral meaning; say the word if you'd rather it change.LorebookEntryRow.tsxline 175) and "Visual Novel" assignment label (LorebookAssignmentSection.tsxline 45); PWA manifest description "Conversation, Roleplay, Visual Novel" (packages/client/public/manifest.json); CYOA agent description "Available in Roleplay and Visual Novel modes" (packages/shared/src/features/agents/cyoa/manifest.ts); ConnectionEditor prompt-override help text (line 2087); ConvoProfileFields tooltip "Never sent in Roleplay, Visual Novel, or Game mode" (line 294); thevisual_novelmode intro inChatSettingsDrawer.tsx(line 651, shown when opening a legacy VN chat's settings); and theCHAT_MODESvisual_novel name/description inpackages/shared/src/constants/chat-modes.tswhere it feeds visible surfaces.Out of scope, flagged as potential follow-ups: the docs still describe Visual Novel as a first-class mode (
FRONTEND.mdhas two "Visual Novel Mode" sections;CONVERSATION.md,CONVERSATION_CALLS.md,GENERATION_PARAMETERS.md,ROLEPLAY.md,MACROS.md, andARCHITECTURE_MAP.mdlist it alongside the real modes), and the full enum/contract removal from #1253.Ownership: I (@kolacheee) will take the implementation once the tab/label direction is confirmed, and will open a draft PR against
stagingat that point.Alternatives considered
Additional context
981971c1, which is not an ancestor ofstaging.docs/*.mdfile (only in historicalCHANGELOG.mdentries, which should not be rewritten), so the rename needs no doc changes — unless you'd like the Game Dialogue Display setting documented inGAME_MODE.mdin the same PR.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 10, 2026):
Implementation is now in progress in draft PR #3459. Direction: remove the dead Visual Novel sidebar tab, list legacy
visual_novelchats under Roleplay, preserve the legacy enum/import path, and rename Game Dialogue Display labels around “Dialogue Box”.@SpicyMarinara commented on GitHub (Jul 10, 2026):
Implemented in ready-for-review PR #3459. Legacy visual_novel chats remain compatible and now surface under Roleplay, obsolete UI wording is removed, and the existing achievement behavior is preserved.
@kolacheee commented on GitHub (Jul 11, 2026):
A repo-wide code sweep (read-only, adversarially verified) catalogued every remaining
visual_novel/ VN trace, so this issue has the complete inventory in one place. Two important notes up front:visual_novelis a live, required backward-compatChatModeenum value: legacy chats still load and render through the Roleplay surface, so many of the checks below are load-bearing. Piecemeal removal would break legacy chats.packages/shared/src/types/vn.ts(the wholeVNScene/VNSprite/VNTransition/VNChoicefile) is reachable only through a barrel export with zero consumers.Suggested priority within this cleanup: the "VN"/"visual novel" strings inside live model-facing prompt text (
prompt-overrides/registry/game-assets.ts:4,115,404,433,sprites.ts:152,scene-analyzer.ts:300,327) — those reach the model on every relevant generation, not just readers of the code.Full catalogue:
client/.../characters/ConvoProfileFields.tsx:4client/.../chat/ChatSetupWizard.tsx:1658visual_novelternary, both branches return"roleplay"client/.../chat/ChatGallery.tsx:95sceneVideosEnabledincludesvisual_novelclient/.../chat/RecentChats.tsx:26visual_novelbadge entry duplicates roleplayclient/.../layout/ChatSidebar.tsx:169comingSoon?flag nothing sets/readsclient/.../layout/AppShell.tsx:553trackerPanelModeAvailablegates onvisual_novelclient/.../chat/ChatMessage.tsx:924isRoleplayincludesvisual_novelclient/.../chat/ChatSettingsDrawer.tsx:884isRoleplayModegates ~18 sectionsclient/.../chat/ChatSettingsDrawer.tsx:1479client/.../game/GameNarration.tsx(8 sites)client/.../panels/SettingsPanel.tsx:369,4360,4368server/.../db/schema/connections.ts:67server/.../routes/generate/dry-run-route.ts:678chatMode==="game"server/.../services/achievements/achievements.service.ts:31isRoleplayModecountsvisual_noveltowardroleplayChatsserver/.../services/conversation/conversation-profiles.ts:4server/.../services/game/segment-edits.ts:5server/.../services/noodle/noodle-context.ts:15modeAllowedbranches onvisual_novelserver/.../services/prompt-overrides/registry/game-assets.ts:4,115,404,433+sprites.ts:152+scene-analyzer.ts:300,327shared/.../features/agents/expression/manifest.ts:6,10(+6 sibling manifests)modeAllowlist:["roleplay","visual_novel"]+ "VN sprites/expressions"shared/.../types/vn.ts(whole file)VNScene/VNSprite/VNTransition/VNChoiceRelated comment-only mention also filed in the sweep set:
server/.../routes/chats.routes.ts:2264"(roleplay only)" guard also admits legacyvisual_novelchats.