From 02869fff8b448cde73369679c9b38bc99fb771ff Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 7 Jan 2026 21:42:21 +0100 Subject: [PATCH] feat: Enhance user state management with polling and WebSocket connection handling --- src/App.vue | 84 +++++++++++++++++++++++++++++++++- src/composables/useIngame.ts | 8 +++- src/composables/useUserInfo.ts | 17 +++++-- src/router/index.ts | 24 +++++++--- src/services/ws.ts | 16 +++++-- src/views/CreateGame.vue | 8 ++-- src/views/Game.vue | 2 +- src/views/JoinGameView.vue | 29 ++++++++++-- 8 files changed, 163 insertions(+), 25 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6a287e6..8ce5497 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,16 @@