From 53b3dd1c7fce2b98b017d6fb937ac96e8a800996 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 9 Oct 2025 16:21:12 +0100 Subject: [PATCH] refactor(highlights): simplify relay indicator tooltip to show only relay list Remove verbose text from tooltip - just show the relay URLs for debug purposes --- src/components/HighlightItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/HighlightItem.tsx b/src/components/HighlightItem.tsx index 9828da05..3ec603c1 100644 --- a/src/components/HighlightItem.tsx +++ b/src/components/HighlightItem.tsx @@ -185,7 +185,7 @@ export const HighlightItem: React.FC = ({ ) return { icon: faServer, - tooltip: `Published to ${relayNames.length} relay(s):\n${relayNames.join('\n')}\n\nClick to rebroadcast`, + tooltip: relayNames.join('\n'), spin: false } } @@ -196,7 +196,7 @@ export const HighlightItem: React.FC = ({ ) return { icon: faServer, - tooltip: `Seen on ${relayNames.length} relay(s):\n${relayNames.join('\n')}\n\nClick to rebroadcast`, + tooltip: relayNames.join('\n'), spin: false } } @@ -204,7 +204,7 @@ export const HighlightItem: React.FC = ({ // Default server icon for highlights without relay info return { icon: faServer, - tooltip: 'Fetched from network\n\nClick to rebroadcast to all relays', + tooltip: 'no relay info', spin: false } }