From dc886dce4409237f05fdc1ad771de6e0d5667ebb Mon Sep 17 00:00:00 2001 From: AndyMik90 Date: Wed, 17 Dec 2025 22:04:47 +0100 Subject: [PATCH] auto-claude: subtask-1-1 - Restructure SortableFeatureCard badge layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Reorganize layout for better visual hierarchy: title first, then description, then metadata - Make badges more compact with smaller text (text-[10px]) and reduced padding (px-1.5 py-0) - Separate priority badge in header from complexity/impact badges in footer - Replace competitor insight text with icon-only badge (with tooltip) - Reduce card padding from p-4 to p-3 - Change title from truncate to line-clamp-2 for better readability - Move complexity and impact badges to dedicated metadata row at bottom - Remove " impact" text suffix for cleaner look - Shorten "Go to Task" button text to "Task" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../components/SortableFeatureCard.tsx | 96 ++++++++++--------- 1 file changed, 53 insertions(+), 43 deletions(-) diff --git a/auto-claude-ui/src/renderer/components/SortableFeatureCard.tsx b/auto-claude-ui/src/renderer/components/SortableFeatureCard.tsx index 086e0911..0c54ccf1 100644 --- a/auto-claude-ui/src/renderer/components/SortableFeatureCard.tsx +++ b/auto-claude-ui/src/renderer/components/SortableFeatureCard.tsx @@ -64,39 +64,27 @@ export function SortableFeatureCard({ {...listeners} > -
+ {/* Header - Title with priority badge and action button */} +
-
+
{ROADMAP_PRIORITY_LABELS[feature.priority]} - - {feature.complexity} - - - {feature.impact} impact - {hasCompetitorInsight && ( - - Competitor Insight + @@ -105,39 +93,61 @@ export function SortableFeatureCard({ )}
-

{feature.title}

-

- {feature.description} -

+

{feature.title}

- {feature.linkedSpecId ? ( - - ) : ( - feature.status !== 'done' && - onConvertToSpec && ( +
+ {feature.linkedSpecId ? ( - ) - )} + ) : ( + feature.status !== 'done' && + onConvertToSpec && ( + + ) + )} +
+
+ + {/* Description */} +

+ {feature.description} +

+ + {/* Metadata badges - compact row */} +
+ + {feature.complexity} + + + {feature.impact} +