-
-
Notifications
You must be signed in to change notification settings - Fork 310
Description
Implement friends popup.
This is a full screen popup accessible from the home tab button in the top right.
Online friends are fetched with a websocket API.
Suggestions need a server endpoint that does not exist yet, so it can be done later.
Tapping "More" goes to another popup with all friends. If no friends are online, a "Friends" button should be displayed under the "0 friend online" title.
This endpoint can be used to fetch all friends for the 2nd popup: https://lichess.org/api#tag/Relations/operation/apiUserFollowing
In order to unfollow someone, we'd swipe the tile to the left to uncover the unfollow action, as shown in the wireframe.
More actions will be available later, when available, like "challenge", "PM", etc.
Follow and unfollow endpoints are also documented.