mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1797] [Issue]: Mode router parity gaps for game recent chats and session routing #877
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#877
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 @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1797
Originally assigned to: @cha1latte on GitHub.
Summary
Static parity audit of
features/modes/routeragainst the legacy client found:gamechats with the Conversation fallback badge becauseMODE_BADGElacks agameentry.Expected behavior
Actual behavior
src/features/modes/router/components/RecentChats.tsxdefinesMODE_BADGEforconversationandroleplayonly, then usesMODE_BADGE[chat.mode] ?? MODE_BADGE.conversation.packages/client/src/components/chat/RecentChats.tsxhad a game-coloredvisual_novelbadge.ChatAreausedresolveCurrentGameSessionChatId(...)to switch an older game session to the current/latest session. RefactorGameConversationViewreceives and renders the currentactiveChatId;ChatSidebarchooses active/remembered representatives for grouped chats, not necessarily the latest session.Steps to reproduce
Impact area
Environment
Logs, screenshots, or video
No screenshots or logs. Static evidence:
src/features/modes/router/components/ModeSurface.tsxgamechats:src/features/modes/router/components/ModeHomeSurface.tsxgamebadge:src/features/modes/router/components/RecentChats.tsxvisual_novelbadge:packages/client/src/components/chat/RecentChats.tsxpackages/client/src/lib/game-session-resolution.tssrc/app/shell/ChatSidebar.tsxRegression notes
Legacy supported a game-colored Recent Chats badge through the old
visual_novelmode. Refactor now has canonicalgamemode, so the router should handlegamedirectly.Legacy also redirected older game sessions to the current/latest session from the chat surface. Refactor has a richer Session History flow, so this difference may be intentional, but it needs an explicit product decision before code changes.
Additional context
The refactor router split is cleaner than the legacy monolithic chat surface. Keep any fix inside the router/sidebar/game route owners rather than reintroducing broad cross-mode routing.
Cheapest confirmed fix: add a
gameentry toMODE_BADGEinsrc/features/modes/router/components/RecentChats.tsx.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
Fixed in #1832