From 677ef3cdde8aea0c99471e362f7a7cd0a4a91b97 Mon Sep 17 00:00:00 2001 From: Cole McIntosh <82463175+colesmcintosh@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:07:43 -0600 Subject: [PATCH] Fix health check UI table design - Remove table-in-table design from HealthCheckComponent - Change wrapper from card styling to simple div with mb-6 spacing - Remove padding around table container for cleaner layout - Add proper icon-based actions in health check table - Use PlayIcon for new checks and RefreshIcon for re-running checks - Add loading animation with dots during health checks - Include proper tooltips for action buttons (#11897) --- .../model_dashboard/HealthCheckComponent.tsx | 6 +-- .../model_dashboard/health_check_columns.tsx | 50 +++++++++++++------ 2 files changed, 38 insertions(+), 18 deletions(-) diff --git a/ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx b/ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx index cb4e949bf8..045a1f10db 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard/HealthCheckComponent.tsx @@ -470,8 +470,8 @@ const HealthCheckComponent: React.FC = ({ }; return ( -
-
+
+
Model Health Status @@ -505,7 +505,7 @@ const HealthCheckComponent: React.FC = ({
-
+
{ - if (!model.health_loading) { - runIndividualHealthCheck(modelName); - } - }} - > - {model.health_loading ? 'Checking...' : 'Run Check'} -
+ + + ); }, enableSorting: false,