From a6c513579bfa1b56e0f92553d56948491184589f Mon Sep 17 00:00:00 2001 From: Urtzi Alfaro Date: Thu, 27 Nov 2025 07:42:14 +0100 Subject: [PATCH] style(dashboard): Align visual hierarchy across cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UnifiedActionQueueCard changes: - Update container: shadow-xl, border-2, hover:shadow-2xl - Add large hero icon (w-16 h-16 md:w-20 md:h-20) with AlertCircle - Colored background based on queue urgency (red/blue) - Upgrade title to text-2xl md:text-3xl font-bold - Move total actions and SSE status to inline metric badges ExecutionProgressTracker changes: - Update container: shadow-xl, border-2, hover:shadow-2xl - Add large hero icon (w-16 h-16 md:w-20 md:h-20) with TrendingUp - Primary color background for hero icon - Upgrade title to text-2xl md:text-3xl font-bold Both cards now match the visual weight and hero pattern of GlanceableHealthHero and IntelligentSystemSummaryCard for consistent dashboard hierarchy and improved scannability. Fixes: Issue #1 - Style alignment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../dashboard/ExecutionProgressTracker.tsx | 22 +++-- .../dashboard/UnifiedActionQueueCard.tsx | 82 +++++++++++++------ 2 files changed, 70 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/dashboard/ExecutionProgressTracker.tsx b/frontend/src/components/dashboard/ExecutionProgressTracker.tsx index 5cc486d9..f7449ddd 100644 --- a/frontend/src/components/dashboard/ExecutionProgressTracker.tsx +++ b/frontend/src/components/dashboard/ExecutionProgressTracker.tsx @@ -214,20 +214,28 @@ export function ExecutionProgressTracker({ return (
- {/* Header */} -
- -
-

+ {/* Header with Hero Icon */} +
+ {/* Hero Icon */} +
+ +
+ + {/* Title */} +
+

{t('dashboard:execution_progress.title')}

-

+

{t('dashboard:execution_progress.subtitle')}

diff --git a/frontend/src/components/dashboard/UnifiedActionQueueCard.tsx b/frontend/src/components/dashboard/UnifiedActionQueueCard.tsx index 90c07ebe..3116ff96 100644 --- a/frontend/src/components/dashboard/UnifiedActionQueueCard.tsx +++ b/frontend/src/components/dashboard/UnifiedActionQueueCard.tsx @@ -706,42 +706,70 @@ export function UnifiedActionQueueCard({ return (
- {/* Header */} -
-
-

+ {/* Header with Hero Icon */} +
+ {/* Hero Icon */} +
5 ? 'var(--color-error-100)' : 'var(--color-info-100)' }} + > + 5 ? 'var(--color-error-600)' : 'var(--color-info-600)' }} + /> +
+ + {/* Title + Inline Metrics */} +
+

{t('dashboard:action_queue_title')}

- {/* SSE Connection Indicator */} -
- {isConnected ? ( - <> - - Live - - ) : ( - <> - - Offline - - )} + + {/* Inline Metric Badges */} +
+ {/* Total Actions Badge */} +
5 ? 'var(--color-error-100)' : 'var(--color-info-100)', + color: displayQueue.totalActions > 5 ? 'var(--color-error-800)' : 'var(--color-info-800)', + border: `1px solid ${displayQueue.totalActions > 5 ? 'var(--color-error-300)' : 'var(--color-info-300)'}`, + }} + > + {displayQueue.totalActions} + {t('dashboard:total_actions')} +
+ + {/* SSE Connection Badge */} +
+ {isConnected ? ( + <> + + Live + + ) : ( + <> + + Offline + + )} +
- 5 ? 'var(--color-error-100)' : 'var(--color-info-100)', - color: displayQueue.totalActions > 5 ? 'var(--color-error-800)' : 'var(--color-info-800)', - }} - > - {displayQueue.totalActions} {t('dashboard:total_actions')} -
{/* Toast Notification */}