From bae492e8d9cd6e3a54bfaf90c6e5e7c7e77209bf Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Thu, 12 Mar 2026 20:31:21 +0100 Subject: [PATCH] style: show only percentage badge on hover in frustration tables --- components/behavior/FrustrationTable.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/behavior/FrustrationTable.tsx b/components/behavior/FrustrationTable.tsx index 5fedd0f..d16ee4f 100644 --- a/components/behavior/FrustrationTable.tsx +++ b/components/behavior/FrustrationTable.tsx @@ -5,7 +5,6 @@ import { formatNumber, Modal } from '@ciphera-net/ui' import { FrameCornersIcon, Copy, Check, CursorClick } from '@phosphor-icons/react' import { toast } from '@ciphera-net/ui' import type { FrustrationElement } from '@/lib/api/stats' -import { formatRelativeTime } from '@/lib/utils/formatDate' import { ListSkeleton } from '@/components/skeletons' const DISPLAY_LIMIT = 7 @@ -93,11 +92,6 @@ function Row({
- {/* Secondary info: visible on hover */} - - {showAvgClicks && item.avg_click_count != null ? `avg ${item.avg_click_count.toFixed(1)} · ` : ''} - {item.sessions} {item.sessions === 1 ? 'sess' : 'sess'} · {formatRelativeTime(item.last_seen)} - {/* Percentage badge: slides in on hover */} {pct}