Skip to content

Wire up Leave Room in golf frontend#219

Merged
aaylward merged 1 commit intomainfrom
add-leave-room
Apr 13, 2026
Merged

Wire up Leave Room in golf frontend#219
aaylward merged 1 commit intomainfrom
add-leave-room

Conversation

@aaylward
Copy link
Copy Markdown
Contributor

Backend had leaveRoom handling but the frontend never sent it. Once you joined a room the only way out was to reload. This wires the message through the plugin/adapter/hook chain and adds a Leave Room link at the bottom of the room lobby.

Closes #216

The backend already handles leaveRoom but the frontend never sent it.
Adds the message through the same plugin → adapter → hook chain as
leaveGame, resets all room/game state locally, and navigates back to
the lobby.
@aaylward aaylward enabled auto-merge (squash) April 13, 2026 04:17
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 13, 2026

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 1852d81 Commit Preview URL

Branch Preview URL
Apr 13 2026, 04:18 AM

@aaylward aaylward merged commit 8c9aeb7 into main Apr 13, 2026
1 of 2 checks passed
@aaylward aaylward deleted the add-leave-room branch April 13, 2026 04:18
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.

Golf: add Leave Room button and wire leaveRoom message

1 participant