Skip to content

five-on-it / apps/client/src/ui/SocialPanel

apps/client/src/ui/SocialPanel ​

The legend's Social tab (GAME_DESIGN §13): the player's friends (asked by name; a request accepted, declined or cancelled; each friend online or not and in which room, joined from here, invited to the party, written to), the party (started, its members, left; the invitations received, joined or declined), the lobbies friends invited the player to (each opened on its page) and the room's other players (muted or not, voted out, reported, befriended). The platform's part waits for the API, which the legend asks whenever the tab is picked; the room's part is the game server's. The ids (#social-…, and data-friend, data-party, data-client on the rows) are the end-to-end tests' contract.

Interfaces ​

Functions ​