undef-engine
2025-11-17
Add chat system, spectator mode, tournament brackets, and PWA offline support
627 files · 135,779+ · 9,204-
Real-time chat system
9 files changed
ChatInput.tsxChat message input componentChatMessage.tsxIndividual chat message displayChatPanel.tsxChat panel container with message listChatPanel.test.tsxChat panel unit testschatStore.tsChat state managementuseChatHandler.tsChat WebSocket handler hookchat_handlers.pyServer-side chat message handlerschat_store.pyChat message persistencemodels.pyChat data models
- Created ChatInput, ChatMessage, and ChatPanel components with WebSocket real-time messaging
instantiate
behavioral
3 files
ChatInput.tsxChatMessage.tsxChatPanel.tsx
- Added server-side chat handlers, store, and integration module
instantiate
behavioral
3 files
chat_handlers.pychat_store.pychat_integration.py
- Added comprehensive ChatPanel tests
qualify
internal
1 file
ChatPanel.test.tsx
Spectator mode and tournament system
11 files changed
SpectatorView.tsxLive game spectator view componentTournamentBracket.tsxTournament bracket displayLeaderboard.tsxPlayer rankings leaderboardSpectatePage.tsxSpectator page routingTournamentPage.tsxTournament page routingspectator_service.pySpectator mode backend servicespectator_routes.pySpectator API routestournament_routes.pyTournament API routesengine.pyTournament engine logicbrackets.pyBracket generation and managementleaderboard.pyLeaderboard computation
- Added SpectatorView for watching live games
instantiate
behavioral
2 files
SpectatorView.tsxSpectatePage.tsx
- Added TournamentBracket and Leaderboard components
instantiate
behavioral
2 files
TournamentBracket.tsxLeaderboard.tsx
- Created tournament engine with brackets, leaderboard, and backend routes
instantiate
behavioral
3 files
engine.pybrackets.pytournament_routes.py
PWA offline support
7 files changed
InstallPrompt.tsxPWA install prompt componentOfflineIndicator.tsxOffline status indicatoroffline.tsOffline detection and handlingserviceWorker.tsService worker registrationsw.jsService worker implementationmanifest.jsonPWA manifestoffline.spec.tsOffline E2E test suite
- Added InstallPrompt and OfflineIndicator components with service worker
instantiate
behavioral
3 files
InstallPrompt.tsxOfflineIndicator.tsxsw.js
- Created offline E2E test suite
qualify
internal
1 file
offline.spec.ts
GameBoard decomposition and mode frontend components
6 files changed
AnswerSelectionSection.tsxAnswer selection sub-componentGameBoardHeader.tsxGame board header sub-componentJudgingSection.tsxJudging phase sub-componentPlayerSubmissionSection.tsxPlayer submission sub-componentuseGameBoard.tsGame board hook extracting shared logicoauth_demo.pyOAuth authentication flow demo script
- Decomposed GameBoard into sub-components for answer selection, header, judging, and player submission
decouple
internal
4 files
AnswerSelectionSection.tsxGameBoardHeader.tsxJudgingSection.tsxPlayerSubmissionSection.tsx
- Added OAuth demo script for authentication flow examples
specify
internal
1 file
oauth_demo.py