Skip to content

Friends popup #242

@veloce

Description

@veloce

Implement friends popup.

Home friends

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    with specFor features that are described properly

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions