undef-engine 2025-12-29
Cloudflare Worker deployment and admin dashboard refactoring
456 files · 43,265+ · 17,077-

GameErrorBoundary

6 files changed
  • __init__.py Python module __init__
  • base.py Python module base
  • specific.py E2E test for specific
  • validation.py Python module validation
  • errors.py Python module errors
  • __init__.py Python module __init__
  • Created GameErrorBoundary.tsx (238 lines) for graceful game-level error handling remediate internal
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts

Admin Dashboard Decomposition

6 files changed
  • invites.py Python module invites
  • connections.py Python module connections
  • providers.py Python module providers
  • stats.py Python module stats
  • validation.py Python module validation
  • users.py Python module users
  • Extracted AdminModeToggles.tsx (221 lines) decouple internal
    4 files
    • AdminDashboard.tsx
    • AdminModeToggles.tsx
    • AdminRecentlyActiveUsers.tsx
    • AdminStats.tsx
  • Added AdminRecentlyActiveUsers.tsx (71 lines) instantiate internal
    4 files
    • AdminDashboard.tsx
    • AdminModeToggles.tsx
    • AdminRecentlyActiveUsers.tsx
    • AdminStats.tsx
  • Added AdminStats.tsx (50 lines) instantiate internal
    4 files
    • AdminDashboard.tsx
    • AdminModeToggles.tsx
    • AdminRecentlyActiveUsers.tsx
    • AdminStats.tsx
  • Created ConfirmationDialog.tsx (55 lines) decouple internal
    2 files
    • ConfirmationDialog.tsx
    • create.py
  • Added useAdminDashboard.ts (322 lines) hook interface internal
    4 files
    • AdminDashboard.tsx
    • AdminModeToggles.tsx
    • AdminRecentlyActiveUsers.tsx
    • AdminStats.tsx
  • Reduced AdminDashboard.tsx by 511 lines decouple internal
    4 files
    • AdminDashboard.tsx
    • AdminModeToggles.tsx
    • AdminRecentlyActiveUsers.tsx
    • AdminStats.tsx
6 files changed
  • store.py Python module store
  • models.py Python module models
  • __init__.py Python module __init__
  • sqlite.py Python module sqlite
  • oauth_routes.py Python module oauth_routes
  • password.py Python module password
  • Strengthened backend password validation to match frontend decouple internal
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts
  • Added frontend display name validation to prevent XSS vectors instantiate behavioral
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts
  • Added error codes to all WebSocket error messages interface internal
    4 files
    • WEBSOCKET_PROTOCOL.md
    • WebSocketContext.tsx
    • useWebSocketBase.ts
    • websocket.generated.ts
  • Added auth retry with exponential backoff for token refresh harden internal
    4 files
    • authRetry.test.ts
    • authRetry.ts
    • auth.generated.ts
    • store.py
  • Added shared validation schemas instantiate internal
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts
6 files changed
  • test_spectator_stores.py E2E test for test_spectator_stores
  • heartbeat.py Python module heartbeat
  • manager.py Python module manager
  • routing.py Python module routing
  • test_heartbeat_loop.py Test file for heartbeat_loop
  • connections.py Python module connections
  • Extracted HeartbeatManager from ConnectionManager to reduce file size decouple internal
    4 files
    • heartbeat.py
    • test_heartbeat_loop.py
    • connections.py
    • test_reconnection_flow.py
  • Fixed test failures after refactoring qualify internal
    1 file
    • test_spectator_stores.py
  • Added jitter to WebSocket reconnection backoff interface internal
    4 files
    • WEBSOCKET_PROTOCOL.md
    • WebSocketContext.tsx
    • useWebSocketBase.ts
    • websocket.generated.ts
  • Replaced raw HTTPException with response helpers decouple behavioral
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts
  • Migrated remaining routes to ResponsumError pattern decouple internal
    4 files
    • GameErrorBoundary.tsx
    • constants.ts
    • displayName.test.ts
    • displayName.ts