From 29bc2d40d7bf355cf3b84e096289c29ea01f9564 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Mon, 2 Nov 2026 10:00:12 -0500 Subject: [PATCH] fix(dashboard): center empty mission text and neutralize heading when none exist The mission briefing widget now centers its 'No missions currently scheduled.' empty state, and its heading falls back to a neutral 'Missions' label when there is neither an upcoming nor a completed mission (previously it still said 'Last Mission'). --- src/app/(frontend)/page.tsx | 8 +++++++- src/components/frontend/dashboard/MissionBriefing.tsx | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/app/(frontend)/page.tsx b/src/app/(frontend)/page.tsx index 5b959943..5c20b2a7 100644 --- a/src/app/(frontend)/page.tsx +++ b/src/app/(frontend)/page.tsx @@ -333,7 +333,13 @@ export default async function HomePage() { "mission-briefing", , ); widgetNodes.set("recent-events", ); diff --git a/src/components/frontend/dashboard/MissionBriefing.tsx b/src/components/frontend/dashboard/MissionBriefing.tsx index 8e2f97b4..f3ebe24c 100644 --- a/src/components/frontend/dashboard/MissionBriefing.tsx +++ b/src/components/frontend/dashboard/MissionBriefing.tsx @@ -17,11 +17,15 @@ export function MissionBriefing({ mission, heading = "Next Mission" }: MissionBr > {/* No separate header row: the frame strip names the section and the mission card carries its own "View details" affordance. */} -
+
{mission ? ( ) : ( -

No missions currently scheduled.

+
+

+ No missions currently scheduled. +

+
)}