Skip to content

fix: name both sides of a match in the tennis life feed - #145

Merged
denis1011101 merged 1 commit into
mainfrom
fix/tennis-life-match-card
Aug 18, 2026
Merged

fix: name both sides of a match in the tennis life feed#145
denis1011101 merged 1 commit into
mainfrom
fix/tennis-life-match-card

Conversation

@denis1011101

Copy link
Copy Markdown
Owner

The card read the opponent off Match#opponent_id alone, which doubles rows never carry, so a four-player match showed up as "Denis vs Anonymous player". It now builds each side out of the team ids in stats, keeps the row's own player first and names the guests who have no account, so the same match reads "Denis + Максим vs Irina + Саня Б (guest)".

The outcome line goes with it: the score is written from the named side's
perspective, so "Result: Loss" only repeated what "6-7(5) 3-4" already said.

The card read the opponent off Match#opponent_id alone, which doubles rows
never carry, so a four-player match showed up as "Denis vs Anonymous player".
It now builds each side out of the team ids in stats, keeps the row's own
player first and names the guests who have no account, so the same match reads
"Denis + Максим vs Irina + Саня Б (guest)".

The outcome line goes with it: the score is written from the named side's
perspective, so "Result: Loss" only repeated what "6-7(5) 3-4" already said.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@denis1011101
denis1011101 merged commit 3dd8d47 into main Aug 18, 2026
4 checks passed
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.

1 participant