From 66193a646143280ba1927e78a89a3cc50c9b1d44 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Thu, 22 Jan 2026 16:51:05 +0100 Subject: [PATCH] Compact dashboard overview --- resources/js/admin/mobile/DashboardPage.tsx | 22 +++----- .../mobile/components/SetupChecklist.tsx | 51 +++++++++++++------ 2 files changed, 43 insertions(+), 30 deletions(-) diff --git a/resources/js/admin/mobile/DashboardPage.tsx b/resources/js/admin/mobile/DashboardPage.tsx index fc3bff8..933e923 100644 --- a/resources/js/admin/mobile/DashboardPage.tsx +++ b/resources/js/admin/mobile/DashboardPage.tsx @@ -199,16 +199,15 @@ export default function MobileDashboardPage() { return ( - + - + {/* 1. LIFECYCLE HERO */} )} {/* 2. PULSE STRIP */} + @@ -400,6 +400,7 @@ function LifecycleHero({ event, stats, locale, navigate, readiness, variant = 'd const nextStep = readiness.nextStep; const ctaLabel = nextStep ? nextStep.ctaLabel : t('dashboard:onboarding.hero.cta', 'Setup Complete'); const ctaAction = nextStep ? () => navigate(adminPath(nextStep.targetPath)) : undefined; + const showCta = Boolean(nextStep); return ( @@ -423,9 +424,9 @@ function LifecycleHero({ event, stats, locale, navigate, readiness, variant = 'd - + {showCta ? : null} - {!readiness.isReady ? ( + {showCta ? (