• Mahmoud Aglan's avatar
    fix: Phase 1 + 5 — chess multiplayer bugs, lobby race conditions, UX fixes · c508fdfb
    Mahmoud Aglan authored
    Phase 1 (Chess Multiplayer Bulletproof):
    - net.js: check content-type before JSON parse, clear error on HTML responses
    - modal.js: stack-based resolve — stacked modals no longer hang
    - match-session.js: fix null dereference after destroy, remove listener on cleanup
    - match-session.js: only fire onConnectionRestored after actual disconnect
    - lobby.js: prevent duplicate startGame calls with gameStarted flag
    - lobby.js: add pollInFlight guard, clear timeouts on unmount
    - lobby.js: derive color from match data when undefined (friend invite fix)
    - scene.js: queue navigation during transition instead of dropping it
    - chess/game.js: pass timeControl to result scene for correct rematch
    
    Phase 5 (Core UX):
    - table.js: hide "My Games" button for non-chess games (no history scenes)
    - queue.js: add polling overlap guard
    - profile/view.js: show "Unrated" for new players instead of 1200
    - i18n: add profile.unrated key (ar/en)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    c508fdfb
Name
Last commit
Last update
.claude Loading commit data...
ChessPieces Loading commit data...
Connections and docs Loading commit data...
Logo El3ab Loading commit data...
admin Loading commit data...
api Loading commit data...
app icons Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
ludo-playtest Loading commit data...
promo Loading commit data...
public Loading commit data...
screenshots Loading commit data...
test-screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
MULTIPLAYER_RULES.md Loading commit data...
PLAN.md Loading commit data...
ROADMAP.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
WTF.md Loading commit data...
backgammon-test.mjs Loading commit data...
bell.png Loading commit data...
captain-definition Loading commit data...
chess-sync-test.mjs Loading commit data...
index.php Loading commit data...
logof.png Loading commit data...
manifest.json Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
privacy-policy.php Loading commit data...
qr-code.png Loading commit data...
terms.php Loading commit data...
test-tournament-swiss.mjs Loading commit data...
test-tournament-ui.mjs Loading commit data...