From 98ed38c5f52c7ad588eeb26c3895d014511049c5 Mon Sep 17 00:00:00 2001 From: mandalore Date: Fri, 4 Sep 2026 19:35:24 -0500 Subject: [PATCH] Add info pop-up explaining how to get a BCP auth token The token field's purpose was clear but not how to obtain one; add a "?" button that opens a modal with the DevTools Network-tab steps. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01MRS5Lvcig4TNpPyviUooGa --- sites/scouting/index.html | 39 ++++++++++++++++++++++++++++++++++++-- sites/scouting/src/main.js | 1 + 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/sites/scouting/index.html b/sites/scouting/index.html index ca733a3..b9b4e12 100644 --- a/sites/scouting/index.html +++ b/sites/scouting/index.html @@ -34,8 +34,16 @@
- - Have a BCP subscription? Add your auth token to backfill missing faction/disposition data + + Have a BCP subscription? Add your auth token to backfill missing faction/disposition data +

+ + + + + + diff --git a/sites/scouting/src/main.js b/sites/scouting/src/main.js index d9d6740..f01a7dd 100644 --- a/sites/scouting/src/main.js +++ b/sites/scouting/src/main.js @@ -836,6 +836,7 @@ $("bcp-token-clear").addEventListener("click", () => { $("bcp-token-input").value = ""; $("bcp-token-status").textContent = "Cleared."; }); +$("bcp-token-help-btn").addEventListener("click", () => $("bcp-token-help-modal").showModal()); configureMatrixHelpers({ fullName, fmtWpct });