Feat: Expiry broadcast + client event handling and robustness #278
Reference in New Issue
Block a user
Delete Branch "feat/lobby-expiry-broadcast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LOBBY_CLOSEDevent to clients. The client now listens for unsolicited events (requestId=0), removes closed lobby buttons immediately, and parsesGET_LOBBY_STATUSresponses for a newSTATUSparameter (CREATED|RUNNING). Also includes robustness and style fixes (null/unboxing guards, smaller methods, extracted constants).STATUSwill fallback to legacy behaviour (no crash)+OKevent payload withEVENT=LOBBY_CLOSEDand LOBBY_ID=<id> to sessions.STATUSparam.STATUS=param and falls back to legacy token; LobbyButtonGridManager removes mappings and rerenders immediately onLOBBY_CLOSED.added 1 commit
3e1d787b- Feat: Add findEmptyLobbiesOlderThan to find and remove stale empty lobbiesCompare with previous version
added 7 commits
maina66c91c6- Merge branch 'main' into feat/lobby-expiry-broadcastCompare with previous version
mentioned in commit
93b6338041