Full game list of a user with filters
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
Piece color and game type played (variant) should also probably be filtering options too