mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1649] [MERGED] Fix game chat route hydration #5181
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#5181
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/1649
Author: @Promansis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Promansis
Base:
refactor← Head:fix/1596-game-chat-open📝 Commits (1)
5fb9067Wait for chat mode before routing📊 Changes
1 file changed (+7 additions, -4 deletions)
View changed files
📝
src/features/modes/router/components/ModeSurface.tsx(+7 -4)📄 Description
Summary
Fixes #1596.
Opening or creating a game chat now waits for that chat's mode before choosing a mode route. While the selected chat detail is loading, the mode surface stays in a neutral loading shell instead of falling back to the previous/default mode.
Root Cause
ModeSurfacekept only the last mode, not the chat id it belonged to. When a game chat was selected before its detail loaded, the router could temporarily reuse the previous/default conversation mode and mount the wrong surface for the active game chat.Validation
pnpm typecheck🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.