feat: Implement tournament schedule tab and fix E2E tests #27

Merged
david merged 43 commits from feature/7-schedule-tab into main 2026-04-27 01:59:17 +00:00
Showing only changes of commit a06cda96f2 - Show all commits
+6 -6
View File
@@ -15,10 +15,10 @@ interface Match {
id: number id: number
name: string name: string
} | null } | null
team1P1: { id: number; name: string } player1P1: { id: number; name: string }
team1P2: { id: number; name: string } player1P2: { id: number; name: string }
team2P1: { id: number; name: string } player2P1: { id: number; name: string }
team2P2: { id: number; name: string } player2P2: { id: number; name: string }
} }
export default function AdminMatchesPage() { export default function AdminMatchesPage() {
@@ -166,13 +166,13 @@ export default function AdminMatchesPage() {
)} )}
</td> </td>
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900"> <td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
{match.team1P1.name} & {match.team1P2.name} {match.player1P1?.name} & {match.player1P2?.name}
</td> </td>
<td className="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"> <td className="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">
{match.team1Score} {match.team1Score}
</td> </td>
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900"> <td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
{match.team2P1.name} & {match.team2P2.name} {match.player2P1?.name} & {match.player2P2?.name}
</td> </td>
<td className="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900"> <td className="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">
{match.team2Score} {match.team2Score}