From bc9b2366d0bd7d989f0e3847d2e9bd8d838da9fe Mon Sep 17 00:00:00 2001 From: saopig1 Date: Mon, 30 Mar 2026 20:45:24 +0800 Subject: [PATCH] feat: make frontend fully support multiple independent bots Store queue and timing state per-bot instead of globally, move bot selector from Home page into Navbar dropdown, show bot name badge in the player bar, and route WebSocket stateChange queues per-bot. Co-Authored-By: Claude Opus 4.6 (1M context) --- web/src/components/Navbar.vue | 176 +++++++++++++++++++++++++++- web/src/components/Player.vue | 22 +++- web/src/components/Queue.vue | 9 +- web/src/composables/useWebSocket.ts | 6 +- web/src/stores/player.ts | 163 ++++++++++++++++++-------- web/src/views/Home.vue | 35 ------ 6 files changed, 316 insertions(+), 95 deletions(-) diff --git a/web/src/components/Navbar.vue b/web/src/components/Navbar.vue index 7bd2c03..006a51e 100644 --- a/web/src/components/Navbar.vue +++ b/web/src/components/Navbar.vue @@ -9,9 +9,36 @@