In this feature, the ServerDisplay page now has a user list that shows if users are connected with a green badge.
When the component is mounted, a WS event is sent ( getServerConnectedUsers ) to backend.
In response, backend sends a 'serverUserList' event, containing the list of id of connected users.
When a user connects or disconnects, the backend sends events ( 'userJoined' or 'userLeft' ) containing the id of the user, so ServerDisplay components can update badges on the user list.
In this feature, the ServerDisplay page now has a user list that shows if users are connected with a green badge. When the component is mounted, a WS event is sent ( getServerConnectedUsers ) to backend. In response, backend sends a 'serverUserList' event, containing the list of id of connected users. When a user connects or disconnects, the backend sends events ( 'userJoined' or 'userLeft' ) containing the id of the user, so ServerDisplay components can update badges on the user list.