From 7155e6cd7ddf25a5a4d4f6d6abecd49f0cf519dc Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 20 Jan 2026 23:20:32 +0000 Subject: Add non-blocking persistent contract completion questions (#14) * [WIP] Heartbeat checkpoint - 2026-01-20 22:40:37 UTC * Task completion checkpoint --- .../frontend/src/components/SupervisorQuestionNotification.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'makima/frontend/src/components/SupervisorQuestionNotification.tsx') diff --git a/makima/frontend/src/components/SupervisorQuestionNotification.tsx b/makima/frontend/src/components/SupervisorQuestionNotification.tsx index 1457d86..b1cbacc 100644 --- a/makima/frontend/src/components/SupervisorQuestionNotification.tsx +++ b/makima/frontend/src/components/SupervisorQuestionNotification.tsx @@ -5,7 +5,12 @@ export function SupervisorQuestionNotification() { const navigate = useNavigate(); const { notificationQuestions, dismissNotification } = useSupervisorQuestions(); - if (notificationQuestions.length === 0) { + // Filter out contract_complete questions - they are displayed on the task page instead + const filteredQuestions = notificationQuestions.filter( + (q) => q.questionType !== "contract_complete" + ); + + if (filteredQuestions.length === 0) { return null; } @@ -16,7 +21,7 @@ export function SupervisorQuestionNotification() { return (
- {notificationQuestions.map((question) => ( + {filteredQuestions.map((question) => (