Add user stats feature with API and modal integration

Introduced an endpoint to fetch user stats and integrated it with a new StatsModal component in the frontend. Users can now view game statistics, including played games, wins, losses, and win rates, accessible from the user menu.
This commit is contained in:
2026-02-06 13:14:27 +01:00
parent bfb1df8e59
commit 59e224b4ca
6 changed files with 193 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ export default function WinnerCard({
<option value=""> kein Sieger </option>
{members.map((m) => (
<option key={m.id} value={m.id}>
{m.email}
{m.display_name}
</option>
))}
</select>