From fa4fb7aa7fe309811f469bf7b7c9ebf96eafc88a Mon Sep 17 00:00:00 2001 From: swamimalode07 Date: Fri, 1 May 2026 17:28:37 +0530 Subject: [PATCH 1/2] removed transitions from data table for better UX --- apps/dashboard/components/table/data-table.tsx | 2 +- apps/dashboard/components/table/table-content.tsx | 4 ++-- apps/dashboard/components/table/table-tabs.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/components/table/data-table.tsx b/apps/dashboard/components/table/data-table.tsx index 1a378bc1a..22972814c 100644 --- a/apps/dashboard/components/table/data-table.tsx +++ b/apps/dashboard/components/table/data-table.tsx @@ -181,7 +181,7 @@ export function DataTable({ ref={modalRef} tabIndex={-1} > -
+
({ ({ return ( ({ aria-controls={`tabpanel-${tab.id}`} aria-selected={isActive} className={cn( - "-mb-px cursor-pointer border-b-2 px-3 py-2 font-medium text-sm transition-colors hover:text-foreground", + "-mb-px cursor-pointer border-b-2 px-3 py-2 font-medium text-sm hover:text-foreground", isActive ? "border-foreground text-foreground" : "border-transparent text-muted-foreground" From dcadf9570c2bc561897aa1e92e3e32642b08515d Mon Sep 17 00:00:00 2001 From: swamimalode07 Date: Fri, 1 May 2026 22:27:28 +0530 Subject: [PATCH 2/2] fixed gauge card UI --- .../app/(main)/websites/[id]/vitals/page.tsx | 2 +- .../components/analytics/vital-gauge-card.tsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/dashboard/app/(main)/websites/[id]/vitals/page.tsx b/apps/dashboard/app/(main)/websites/[id]/vitals/page.tsx index 2455fd39d..f2373f43c 100644 --- a/apps/dashboard/app/(main)/websites/[id]/vitals/page.tsx +++ b/apps/dashboard/app/(main)/websites/[id]/vitals/page.tsx @@ -522,7 +522,7 @@ export default function VitalsPage() { /> ) : null} -
+
{vitalKeys.map((key) => ( -
+
{hasValue && rating ? ( )} -
+
@@ -319,7 +319,7 @@ export function VitalGaugeCard({
)} -
+
Good: {config.lowerIsBetter === false ? "≥" : "≤"}{" "} {config.name === "CLS" @@ -369,7 +369,7 @@ export function VitalGaugeCard({ )}
-
+

{config.name}