Skip to content

Show last tournament results after auto-redirect#8

Merged
hyusap merged 2 commits intomainfrom
hyusap/last-tourney-results
Feb 17, 2026
Merged

Show last tournament results after auto-redirect#8
hyusap merged 2 commits intomainfrom
hyusap/last-tourney-results

Conversation

@hyusap
Copy link
Owner

@hyusap hyusap commented Feb 17, 2026

This PR adds a last-tournament results modal when users are automatically redirected to a newer tournament after the previous one finishes.
The tournament detail page now carries redirect context in query params, reads winner details from those params or falls back to /api/game/:id, and shows an alert dialog with winner, seat, hands played, and winning stack.
It also introduces reusable components/ui/alert-dialog.tsx and a dedicated LastTournamentResultsModal component for the poker UI.
Finally, start.sh removes the nonce-reset (hardhat_reset) block after node readiness.

@hyusap hyusap merged commit cab25d5 into main Feb 17, 2026
1 check failed
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