Skip to content

Highlight current user row in tournament standings#2927

Merged
veloce merged 1 commit into
lichess-org:mainfrom
CloudyDino:highlight-user-tournament-standings
Apr 9, 2026
Merged

Highlight current user row in tournament standings#2927
veloce merged 1 commit into
lichess-org:mainfrom
CloudyDino:highlight-user-tournament-standings

Conversation

@CloudyDino

Copy link
Copy Markdown
Contributor

Closes #2923

Summary

  • Highlights the logged-in user's row in tournament standings using ListTile's selected property
  • Uses the same selection styling as broadcast round selection for consistency
  • Makes it easier to find your own position when browsing standings

Implementation

Compares the current authControllerProvider user ID against each StandingPlayer.user.id and sets selected: true on the matching row. This is a 2-line change in _StandingPlayer.

Test plan

Before After
image image

Use ListTile selected state to highlight the logged-in user's row
in tournament standings, matching broadcast round selection styling.

Closes lichess-org#2923

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@veloce veloce merged commit df7a830 into lichess-org:main Apr 9, 2026
1 check passed
@CloudyDino CloudyDino deleted the highlight-user-tournament-standings branch April 22, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight current user row in tournament standings

2 participants