From 4587627f3cba4a997fb92f0c5a266644501da6ed Mon Sep 17 00:00:00 2001 From: Daniel Sousa Date: Fri, 20 Mar 2026 20:33:36 +0000 Subject: [PATCH] refactor: improve layout and truncation in ReportsToPicker - Enhanced button and text elements to ensure proper overflow handling and truncation for agent names and statuses. - Adjusted class names for better responsiveness and visual consistency, particularly for unknown and terminated managers. --- ui/src/components/ReportsToPicker.tsx | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/ui/src/components/ReportsToPicker.tsx b/ui/src/components/ReportsToPicker.tsx index 0de901b4..3c279f78 100644 --- a/ui/src/components/ReportsToPicker.tsx +++ b/ui/src/components/ReportsToPicker.tsx @@ -42,7 +42,7 @@ export function ReportsToPicker({ @@ -83,9 +90,9 @@ export function ReportsToPicker({ No manager {terminatedManager && ( -
+
- + Current: {current.name} (terminated)
@@ -109,7 +116,7 @@ export function ReportsToPicker({ }} > - {a.name} + {a.name} {roleLabels[a.role] ?? a.role} ))}