Skip to content

lobby: chat rides the room, and a reconnect drops a room the hub lost - #319

Merged
aaylward merged 1 commit into
mainfrom
claude/cool-keller-tjqso2
Sep 10, 2026
Merged

lobby: chat rides the room, and a reconnect drops a room the hub lost#319
aaylward merged 1 commit into
mainfrom
claude/cool-keller-tjqso2

Conversation

@aaylward

Copy link
Copy Markdown
Contributor

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 available flag is gone.

"not in a room" from a room the UI still showed. A reconnect whose sessionReady landed 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 in useLobby.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NdXhNV1y5Rp7JU9gWjKApW


Generated by Claude Code

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
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

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

@aaylward
aaylward merged commit 63b18c2 into main Sep 10, 2026
2 checks passed
@aaylward
aaylward deleted the claude/cool-keller-tjqso2 branch September 10, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants