lobby: chat rides the room, and a reconnect drops a room the hub lost - #319
Merged
Conversation
Two lobby bugs. The chat panel only appeared once the wire delivered a message, so a fresh room had no composer until someone else spoke. It is now up whenever the session is in a room. A reconnect whose sessionReady put the session somewhere other than the room on screen (the room reaped while the seat was away, or a fresh seat) left that room's panel standing, offering tables the hub then refused as "not in a room". The panel and chat now clear when the hub's room differs from the one shown; a resume back into the same room keeps it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NdXhNV1y5Rp7JU9gWjKApW
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 05fef0b | Commit Preview URL Branch Preview URL |
Sep 10 2026, 03:49 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two lobby bugs.
No chat in a fresh room. The chat panel only rendered once the wire delivered a message (a history replay or a live one). A newly created room has no history to replay, so the creator saw no composer until someone else spoke. The panel is now up whenever the session is in a room; the
availableflag is gone."not in a room" from a room the UI still showed. A reconnect whose
sessionReadylanded the session somewhere other than the room on screen (the room reaped while the seat was away, or a fresh seat after a refused resume) left the old room's panel standing. Its table buttons then hit the hub's "not in a room". The panel and chat now clear when the hub's room differs from the one shown; a resume back into the same room keeps it on screen.Tests: chat gate in
LobbyGame, and both reconnect paths inuseLobby.🤖 Generated with Claude Code
https://claude.ai/code/session_01NdXhNV1y5Rp7JU9gWjKApW
Generated by Claude Code