feat(tournaments): make finished games in previous rounds clickable #17

Merged
lq64 merged 1 commits from feature/clickable-previous-tournament-rounds into main 2026-06-30 20:06:31 +02:00
Owner

Summary

  • When expanding a tournament, all completed previous rounds are now loaded in parallel and displayed below the current round (most recent first)
  • Each finished game row is clickable and navigates to the existing game review view
  • A "Review" label fades in on hover to signal the row is interactive

Changes

  • tournaments.component.ts — added previousRoundPairings / previousRoundsLoading state; selectTournament() fetches rounds 1 to t.round - 1 in parallel via forkJoin; state is cleared on tab switch and deselect
  • tournaments.component.html — added previous round sections below the current round pairings, reusing existing watchGame() for navigation
  • tournaments.component.css — added .pairing-review label (hidden by default, visible on hover)

Notes

  • No backend changes required — GET /api/tournament/{id}/round/{round} already supports any round number
  • No new dependencies introduced
Summary - When expanding a tournament, all completed previous rounds are now loaded in parallel and displayed below the current round (most recent first) - Each finished game row is clickable and navigates to the existing game review view - A "Review" label fades in on hover to signal the row is interactive Changes - tournaments.component.ts — added previousRoundPairings / previousRoundsLoading state; selectTournament() fetches rounds 1 to t.round - 1 in parallel via forkJoin; state is cleared on tab switch and deselect - tournaments.component.html — added previous round sections below the current round pairings, reusing existing watchGame() for navigation - tournaments.component.css — added .pairing-review label (hidden by default, visible on hover) Notes - No backend changes required — GET /api/tournament/{id}/round/{round} already supports any round number - No new dependencies introduced
lq64 added 1 commit 2026-06-30 20:05:15 +02:00
Load all completed rounds in parallel when a tournament is expanded
and display them below the current round. Each finished game row is
clickable and navigates to the existing game review view. A 'Review'
label fades in on hover to signal interactivity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lq64 merged commit c0a98a90dd into main 2026-06-30 20:06:31 +02:00
lq64 deleted branch feature/clickable-previous-tournament-rounds 2026-06-30 20:06:31 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NowChess/NowChess-Frontend#17