zkayser / pokerex_client

Elm client for PokerEx project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `leave room` button for current ongoing games if not owner

zkayser opened this issue · comments

If a player is involved in a Private Game, they should have the choice to leave the game from their Profile page. A button should be rendered next to the Room listing on the user's current games list that says 'Leave Room'. The button will proceed to call Room.leave(room_title) on the server side to remove the player from the room's backing data on the server. It should also remove the association between the player and the game (this will be under the player's participating_games field)

[DONE] 1/11