five-on-it / apps/client/src/ui/GamesPanel
apps/client/src/ui/GamesPanel
The legend's Games tab: the games published on the platform, each with its open rooms. "Find games" asks the API (signing in as a guest the first time); Play opens a new room of a game and Join joins an open one, both by reloading the page against the room's join URL; a game the player made has Delete (.games-delete: after the same confirmation as on its page, it is gone from every list and its page answers that it was deleted). Above them, who the player is (AccountBar), and a link to the game pages (?browse: every game with its picture, its rating and its page). The ids are the end-to-end tests' contract.