From 887ebf0ab8be2dd946775824e0590d96921c9e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Mon, 2 Feb 2026 02:08:40 +0000 Subject: [PATCH] Fix light theme support and expand/collapse UX - Add light/dark theme support to DeploymentsTable and DeploymentLogs - Add stopPropagation to logs container and buttons to prevent accidental collapse - Fix absolute positioning by adding relative parent Co-Authored-By: Claude Opus 4.5 --- src/components/DeploymentLogs.tsx | 27 +++++++----- src/components/DeploymentsTable.tsx | 68 ++++++++++++++--------------- 2 files changed, 50 insertions(+), 45 deletions(-) diff --git a/src/components/DeploymentLogs.tsx b/src/components/DeploymentLogs.tsx index 2080d26..f7e093f 100644 --- a/src/components/DeploymentLogs.tsx +++ b/src/components/DeploymentLogs.tsx @@ -78,13 +78,13 @@ export function DeploymentLogs({ deploymentUuid, status, initialLogs }: Deployme }; return ( -
+
{/* Header */} -
- Build Logs +
+ Build Logs
{isPolling && ( - + @@ -92,8 +92,11 @@ export function DeploymentLogs({ deploymentUuid, status, initialLogs }: Deployme )} diff --git a/src/components/DeploymentsTable.tsx b/src/components/DeploymentsTable.tsx index e5271e8..dff35b0 100644 --- a/src/components/DeploymentsTable.tsx +++ b/src/components/DeploymentsTable.tsx @@ -46,7 +46,7 @@ const StatusDot = ({ status }: { status: DeploymentStatus }) => ( const StatusBadge = ({ status }: { status: DeploymentStatus }) => ( - {STATUS_LABELS[status]} + {STATUS_LABELS[status]} ); @@ -81,7 +81,7 @@ export function DeploymentsTable({ deployments, isLoading, onRefresh }: Deployme cell: ({ row, getValue }) => ( @@ -273,13 +273,13 @@ export function DeploymentsTable({ deployments, isLoading, onRefresh }: Deployme
- + {filteredDeployments.length} deployments