From c2754ebd1a3eb817ed738a88c612d3c7bb00d509 Mon Sep 17 00:00:00 2001 From: ButtercupRoberts Date: Tue, 10 Nov 2026 23:12:58 +0000 Subject: [PATCH] fix(zaplytics): remove hardcoded 100% success badge from hashtag cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit successRate is a hardcoded 100 — displaying it ships a knowingly fake metric. Display removed until real all-posts tracking exists. --- src/components/zaplytics/HashtagAnalytics.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/zaplytics/HashtagAnalytics.tsx b/src/components/zaplytics/HashtagAnalytics.tsx index f4bbd0d1..aa47fdd5 100644 --- a/src/components/zaplytics/HashtagAnalytics.tsx +++ b/src/components/zaplytics/HashtagAnalytics.tsx @@ -1,7 +1,7 @@ import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Skeleton } from '@/components/ui/skeleton'; import { Badge } from '@/components/ui/badge'; -import { Hash, Zap, TrendingUp, Target, Clock } from 'lucide-react'; +import { Hash, Zap, Target, Clock } from 'lucide-react'; import type { HashtagPerformance } from '@/types/zaplytics'; import { formatSats } from '@/lib/zaplytics/utils'; @@ -136,10 +136,9 @@ export function HashtagAnalytics({ data, isLoading }: HashtagAnalyticsProps) { {formatTimeToFirstZap(hashtag.avgTimeToFirstZap)} response -
- - {hashtag.successRate.toFixed(0)}% success -
+ {/* successRate intentionally not displayed — only + zapped posts are tracked, so it's always 100% and + meaningless. Real rate needs all-posts data. */}