strat-gameplay-webapp/frontend-sba/pages
Cal Corum ee12f6210e CLAUDE: Fix WebSocket SSR hydration and add connection debugging
Problem: WebSocket wouldn't connect on page load because Pinia auth
state doesn't automatically transfer from SSR to client hydration.
The auth store showed isAuthenticated=false on client mount.

Solution:
- useWebSocket.onMounted now proactively calls checkAuth() if not authenticated
- This ensures auth state is initialized before attempting WebSocket connection
- Added forceReconnect() function to clear stale singleton connections

Debug UI (temporary):
- Added connection status debug info to loading overlay and banner
- Shows Auth/Connected/Connecting/Error states
- Retry button triggers auth check + reconnect

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 23:33:11 -06:00
..
auth CLAUDE: Implement server-side OAuth flow with HttpOnly cookies 2025-11-26 22:16:30 -06:00
games CLAUDE: Fix WebSocket SSR hydration and add connection debugging 2025-11-27 23:33:11 -06:00
demo-decisions.vue test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
demo-gameplay.vue CLAUDE: Update all demo pages - add action field and cross-linking footers 2025-11-14 15:17:06 -06:00
demo-substitutions.vue CLAUDE: Update all demo pages - add action field and cross-linking footers 2025-11-14 15:17:06 -06:00
demo.vue CLAUDE: Redesign ScoreBoard header runners/outs display 2025-11-27 22:12:05 -06:00
index.vue CLAUDE: Implement server-side OAuth flow with HttpOnly cookies 2025-11-26 22:16:30 -06:00