From b45bd09c594d385c578d920e65c1426287fb03aa Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 15 Jan 2026 12:49:35 +0000 Subject: [PATCH] Reorder CountViewer header controls and remove redundant mention prefix - Change control order to: refresh, relays, filter (was: filter, relays, refresh) - Remove redundant "@" prefix from mentions since UserName with isMention already shows @ --- src/components/CountViewer.tsx | 101 ++++++++++++++++----------------- 1 file changed, 50 insertions(+), 51 deletions(-) diff --git a/src/components/CountViewer.tsx b/src/components/CountViewer.tsx index 7a91fdb..e973f42 100644 --- a/src/components/CountViewer.tsx +++ b/src/components/CountViewer.tsx @@ -375,7 +375,6 @@ export default function CountViewer({ {/* Mentions */} {pTagPubkeys.length > 0 && (
- @ {pTagPubkeys.slice(0, 2).map((pubkey) => ( - {/* Right: Controls */} + {/* Right: Controls - refresh, relays, filter */}
- {/* Filter Dropdown */} - - - - - -
- - - - - Raw Query JSON - - - -
- - - handleCopy(JSON.stringify(filter, null, 2)) - } - copied={copied} - label="Copy query JSON" - /> -
-
-
-
-
-
+ + Refresh counts + {/* Relay Dropdown with status */} @@ -542,21 +520,42 @@ export default function CountViewer({ - {/* Refresh Button */} - - - - - Refresh counts - + + +
+ + + + + Raw Query JSON + + + +
+ + + handleCopy(JSON.stringify(filter, null, 2)) + } + copied={copied} + label="Copy query JSON" + /> +
+
+
+
+
+