• Stefy Lanza (nextime / spora )'s avatar
    feat: Implement real-time notifications with long polling · c0463982
    Stefy Lanza (nextime / spora ) authored
    - Add /api/notifications endpoint for long polling real-time updates
    - Implement JavaScript long polling in base template for all dashboards
    - Add START_GAME, MATCH_START, and GAME_STATUS message handling
    - Update cashier dashboard with real-time timer and status updates
    - Handle match status updates when messages are received
    - Add visual notifications with toast messages
    - Implement automatic reconnection with exponential backoff
    - Update match timer display and pending matches list in real-time
    - Add event-driven architecture for dashboard updates
    
    Features:
    - Long polling requests every 30 seconds for real-time updates
    - START_GAME message starts countdown timer and updates status
    - MATCH_START message resets timer and shows running state
    - GAME_STATUS message updates match status and refreshes data
    - Automatic UI updates without page refresh
    - Toast notifications for important events
    - Robust error handling and reconnection logic
    c0463982
Name
Last commit
Last update
assets Loading commit data...
mbetterclient Loading commit data...
packages Loading commit data...
uploads Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE Loading commit data...
PyQt6_UPGRADE_SUMMARY.md Loading commit data...
PyQt6_VIDEO_PLAYER_DOCUMENTATION.md Loading commit data...
README.md Loading commit data...
build.bat Loading commit data...
build.py Loading commit data...
build.sh Loading commit data...
main.py Loading commit data...
requirements.txt Loading commit data...
test_ffmpeg.py Loading commit data...
test_games_thread.py Loading commit data...
test_persistent_dirs.py Loading commit data...
test_screen_cast_integration.py Loading commit data...