From 8d3acbef5c77f1d1161efbed0180abc9ffaaec09 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Fri, 10 Oct 2025 15:59:49 +0000 Subject: [PATCH] fix: add navigation to Update History from progress modal The "View History" button in UpdateProgressModal now properly navigates to /settings/updates instead of just closing the modal. This completes the update flow UX - users can now seamlessly transition from update completion to viewing the full audit log. --- frontend-modern/src/components/UpdateBanner.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend-modern/src/components/UpdateBanner.tsx b/frontend-modern/src/components/UpdateBanner.tsx index e3498ac4c..de1b74fdd 100644 --- a/frontend-modern/src/components/UpdateBanner.tsx +++ b/frontend-modern/src/components/UpdateBanner.tsx @@ -1,10 +1,12 @@ import { Show, createSignal, createEffect, For } from 'solid-js'; +import { useNavigate } from '@solidjs/router'; import { updateStore } from '@/stores/updates'; import { UpdatesAPI, type UpdatePlan } from '@/api/updates'; import { UpdateConfirmationModal } from './UpdateConfirmationModal'; import { UpdateProgressModal } from './UpdateProgressModal'; export function UpdateBanner() { + const navigate = useNavigate(); const [isExpanded, setIsExpanded] = createSignal(false); const [updatePlan, setUpdatePlan] = createSignal(null); const [showConfirmModal, setShowConfirmModal] = createSignal(false); @@ -296,8 +298,7 @@ export function UpdateBanner() { onClose={() => setShowProgressModal(false)} onViewHistory={() => { setShowProgressModal(false); - // TODO: Navigate to Settings → Update History - // For now, just close the modal + navigate('/settings/updates'); }} />