From 52f0a5496bd567690ed65b2035f985f44ed22ea5 Mon Sep 17 00:00:00 2001 From: martbost Date: Wed, 18 Nov 2026 19:01:46 -0600 Subject: [PATCH] Holding-tank readiness on the tank cards (Marty 2026-11-18, warm-up stage 1, no email) Each waiting lead on My line > Holding tank and Admin > Members tank card now shows how they got into the tank, a stage chip (New / Warming / Engaged / Activated / Ready, real actions only), the network heat score 0-100 with its band, and their last real action. Computed on the network hub (POST /v1/tank/readiness); tankready.js sends this site's facts (own last sign-in, wallet, entry reason from the adoption records and join data; sponsor usernames, never emails) and caches the answer. Tank list sorts hottest first by default (grace and ready-to-activate grouping unchanged), new Heat sort and "Warm or hot" filter on the tank only. Hub down = the card exactly as before. No mail, no Telegram, no sponsor moves; adoption rules, caps and the v2 batch untouched. qa/tank-readiness.test.mjs (against a local hub) added to member + tankhold. tankready.js?v=20261118rd, my.js / admin.js / site.css ?v=20261118rd. iap-qa member ALL PASSED. Co-Authored-By: Claude Opus 5.5 --- public/admin.html | 4 +- public/assets/admin.js | 8 ++- public/assets/my.js | 15 +++-- public/assets/site.css | 15 +++++ public/assets/tankready.js | 51 +++++++++++++++ public/my.html | 5 +- qa/run.sh | 2 + qa/tank-readiness.test.mjs | 82 ++++++++++++++++++++++++ server.js | 9 ++- tankready.js | 125 +++++++++++++++++++++++++++++++++++++ 10 files changed, 304 insertions(+), 12 deletions(-) create mode 100644 public/assets/tankready.js create mode 100644 qa/tank-readiness.test.mjs create mode 100644 tankready.js diff --git a/public/admin.html b/public/admin.html index 1e54e8f..6096e01 100644 --- a/public/admin.html +++ b/public/admin.html @@ -7,7 +7,7 @@ - +