From fcdb32908df90bb3fb299b13215a38c7bdc189c2 Mon Sep 17 00:00:00 2001 From: anti Date: Mon, 27 Apr 2026 13:29:37 -0400 Subject: [PATCH] fix(web): canary header matches PersonaGeneration / DeckyFleet Switches the page header to the standard .fleet-root .page-header / .page-title-group / h1 / .page-sub / .actions pattern used by every other top-level page. Drops the redundant AUTOMATION supertitle (the sidebar group already labels that) and the inline Target icon next to the title. Action buttons use the project's btn / btn violet classes for visual parity with ADD PERSONA / BULK UPLOAD. --- decnet_web/src/components/CanaryTokens.tsx | 28 ++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/decnet_web/src/components/CanaryTokens.tsx b/decnet_web/src/components/CanaryTokens.tsx index 33492023..23c40e4b 100644 --- a/decnet_web/src/components/CanaryTokens.tsx +++ b/decnet_web/src/components/CanaryTokens.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useMemo, useRef, useState } from 'react'; import { - Target, Plus, Upload, X, AlertTriangle, Search, + Plus, Upload, X, AlertTriangle, Search, } from '../icons'; import api from '../utils/api'; import { useEscapeKey } from '../hooks/useEscapeKey'; @@ -448,22 +448,20 @@ const CanaryTokens: React.FC = () => { }; return ( -
-
-
-
AUTOMATION
-
- CANARY TOKENS -
+
+
+
+

CANARY TOKENS

+ + {tokens.length} TOKEN{tokens.length === 1 ? '' : 'S'} · {counts.planted} PLANTED · {counts.hits} TOTAL HIT{counts.hits === 1 ? '' : 'S'} · {blobs.length} UPLOADED BLOB{blobs.length === 1 ? '' : 'S'} +
-
- -