From 33ea1a732de867bd5f997d3c20e8bd05fb01c29b Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Fri, 13 Nov 2026 22:34:16 +0000 Subject: [PATCH] panel: an OC-incognito chip, and the Admin column header stops misnaming the mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * source 'oc-incognito' gets its own chip. It read as plain "OC" — true as far as it goes (they are an OC subscriber) but it hides what matters operationally: email matching cannot see them, so their orders match by OC slug. * The Admin section's spend column said "All-time spend" in BOTH modes, so in balance mode the header described data that was not in the table. Now "Spend". --- app/main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 0d289e3..be07a48 100644 --- a/app/main.py +++ b/app/main.py @@ -952,7 +952,11 @@ function setMemberMode(mode) { const adminLabel = document.getElementById('spend-mode-label-admin'); // Agents always show all-time: their cycle counter resets on the 1st, so a cycle // figure would read as zeroed for the co-op's own bot accounts every month. - if (adminLabel) adminLabel.textContent = 'All-time spend'; + // The Admin columns show all-time figures in both modes (their cycle counter + // resets on the 1st, so a cycle figure would read as zeroed), but the header + // must not claim a mode the reader is not in — it said "All-time spend" while + // the table was in balance mode (ntnsndr, 2026-11-13). Just "Spend". + if (adminLabel) adminLabel.textContent = 'Spend'; // Balance-only columns (Allowance/Credits/Remaining/Reset) hide in all-time mode $('table-members').parentElement.classList.toggle('members-all-time', mode === 'all'); const adminTable = document.getElementById('table-admins'); @@ -1021,9 +1025,11 @@ function renderMembers() { ? 'guest' + : (m.source === 'oc-incognito' + ? 'OC incognito' : (m.manual ? 'manual' - : 'OC'); + : 'OC')); // Effective Matrix handle: dashboard-set external MXID, else the local // @username:inference.coop identity (pending users have no username yet). // Account cell: username on top (prominent); email + Matrix handle beneath