From 603e09b6d86e52f66ba8105b3b343c7fea183c3c Mon Sep 17 00:00:00 2001 From: Dorian Date: Fri, 31 Jul 2026 06:02:42 -0400 Subject: [PATCH] fix(join-bout): make the setup-guide mode picker visibly do something MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BOT-02 consolidated the poll/webhook setup docs into one file (BOTFIGHTS.md) that documents both options — correct by design, but the UI still had a leftover watch(connectionMode, ...) that cleared and refetched the *same* file every time you clicked WEBHOOK/POLLING, showing a "Loading..." flash for content that never actually changed. From a user's perspective the tab looked broken: click it, nothing visibly different happens. Fix: stop the pointless refetch, and add a `modeHint()` banner — colored per mode, updates instantly on click — inside the guide viewer and prepended to the copied text, pointing the reader/AI at "Option A: Polling Bot" or "Option B: Webhook Bot" within the same doc. The mode picker now produces an immediate, obvious visual change, and the copied prompt is mode-aware even though the underlying file is shared by design. Co-Authored-By: Claude Fable 5 --- frontend/src/pages/JoinBoutPage.vue | 33 ++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/JoinBoutPage.vue b/frontend/src/pages/JoinBoutPage.vue index c8f778a..4ad13d6 100644 --- a/frontend/src/pages/JoinBoutPage.vue +++ b/frontend/src/pages/JoinBoutPage.vue @@ -1,5 +1,5 @@