mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Full game list of a user with filters

Open veloce opened this issue 1 year ago • 1 comments

For now we're only displaying the last 10 recent games.

A "More" button should open another screen with a lazy loading, infinite list of games.

On top of the list, an horizontal list of filters should be displayed (like in the notifications screen of GitHub app). Filters would include: "rated", "perf type", "bookmarks", etc. (list non exhaustive).

Use this endpoint: https://lichess.org/api#tag/Games/operation/apiGamesUser

(All filters are not yet available in the endpoint)

List items should be slidable to uncover actions:

  • bookmark/unbookmark

Long press should open the context menu.

TODO:

  • [x] Infinite scroll
  • [x] Lazy loading
  • [x] Context menu
  • [ ] Bookmark / Unbookmark
    • [ ] Add slidable
    • [ ] Implement bookmark action
  • [ ] Filtering
    • [x] side: black/white
    • [ ] mode: rated/casual
    • [ ] wins
    • [ ] losses
    • [ ] draws
    • [ ] bookmarked
    • [x] by perf
    • [ ] analysed
    • [ ] imported

Some of the filtering possibilities are not yet implemented server side: https://lichess.org/api#tag/Games/operation/apiGamesUser

veloce avatar Jan 08 '24 09:01 veloce

Piece color and game type played (variant) should also probably be filtering options too

ijm8710 avatar Jun 04 '24 20:06 ijm8710