Skip to content

Fix pagination in history#172

Merged
losadgm merged 12 commits intomasterfrom
FIX-PaginationInHistory
Apr 26, 2026
Merged

Fix pagination in history#172
losadgm merged 12 commits intomasterfrom
FIX-PaginationInHistory

Conversation

@Cuitoss
Copy link
Copy Markdown
Contributor

@Cuitoss Cuitoss commented Apr 26, 2026

Changes

  • Added pagination to the replays history.
  • Included the total number of games played by the user. (mandatory requirement)

@Cuitoss Cuitoss self-assigned this Apr 26, 2026
@Cuitoss Cuitoss added the enhancement New feature or request label Apr 26, 2026
@Cuitoss Cuitoss added this to the Optional requirements v2 milestone Apr 26, 2026
- useGameHistoryController: add currentUserId alongside pagination state
- GameHistoryPage: use master's humanColor/opponentName for pvp-online,
  keep HEAD's Pagination component and totalFinished banner
- GameService.getUserGames: keep paginated (page/PAGE_SIZE) variant from HEAD
- recordMatchForAllPlayers: use master's delegate helpers for pve/online
- gameyService.test: flat describe structure with paginated getUserGames tests
- GameHistoryPage.test: add currentUserId to ControllerShape mock
losadgm
losadgm previously approved these changes Apr 26, 2026
Copy link
Copy Markdown
Contributor

@losadgm losadgm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link
Copy Markdown

@losadgm losadgm merged commit 68ed6d8 into master Apr 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants