From 364adeb1519d5cf1571a180ad6ad0083c0e4a791 Mon Sep 17 00:00:00 2001 From: Kacper Date: Wed, 10 Dec 2025 12:06:36 +0100 Subject: [PATCH] refactor(kanban): enhance layout and overflow handling in KanbanCard component - Updated CardHeader to use a block layout and added conditional padding for better spacing. - Modified title and description elements to handle overflow, ensuring text remains within bounds. - Improved agent info panel layout with flex-wrap for better responsiveness. - Enhanced summary section with overflow handling and consistent spacing for a cleaner UI. These changes improve the overall presentation and usability of the KanbanCard component. --- app/src/components/views/kanban-card.tsx | 30 ++++++++++++++---------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/app/src/components/views/kanban-card.tsx b/app/src/components/views/kanban-card.tsx index 28c813b8..3d7dfc52 100644 --- a/app/src/components/views/kanban-card.tsx +++ b/app/src/components/views/kanban-card.tsx @@ -246,7 +246,13 @@ export function KanbanCard({ Errored )} - + {isCurrentAutoTask && (
@@ -320,8 +326,8 @@ export function KanbanCard({
)} -
- +
+ {feature.description} @@ -358,9 +364,9 @@ export function KanbanCard({ {/* Agent Info Panel - shows for in_progress, waiting_approval, verified */} {/* Detailed mode: Show all agent info */} {showAgentInfo && feature.status !== "backlog" && agentInfo && ( -
+
{/* Model & Phase */} -
+
@@ -437,25 +443,25 @@ export function KanbanCard({ feature.status === "verified") && ( <> {(feature.summary || summary || agentInfo.summary) && ( -
-
-
- - Summary +
+
+
+ + Summary
-

+

{feature.summary || summary || agentInfo.summary}