mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1650] [MERGED] Fix game reload blank surface #5182
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#5182
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/1650
Author: @Promansis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Promansis
Base:
refactor← Head:fix/1595-game-reload📝 Commits (1)
aa8dd77Show game chat reload recovery state📊 Changes
2 files changed (+58 additions, -2 deletions)
View changed files
📝
src/features/modes/game/components/GameConversationView.tsx(+47 -1)📝
src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.ts(+11 -1)📄 Description
Summary
Fixes #1595.
Reloading an existing game chat no longer shows an empty surface while the chat record hydrates. The game route now renders an explicit loading state, and a retryable error state if the chat detail query fails before the game surface can mount.
Root Cause
GameConversationViewreturned an empty flex container wheneveruseChatSurfaceDatahad not yet produced a chat object. During reload, that meant the game surface could appear blank or unusable before metadata/messages had a chance to restore.Validation
pnpm typecheck🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.