From 2b7125d491f5d6de3408908a09527905c16adb8c Mon Sep 17 00:00:00 2001 From: Solomon Date: Wed, 10 Sep 2025 16:52:41 +0100 Subject: [PATCH] Clarify draft saving status messages (#675) --- frontend/src/components/tasks/TaskFollowUpSection.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/tasks/TaskFollowUpSection.tsx b/frontend/src/components/tasks/TaskFollowUpSection.tsx index a02f0135..db01791d 100644 --- a/frontend/src/components/tasks/TaskFollowUpSection.tsx +++ b/frontend/src/components/tasks/TaskFollowUpSection.tsx @@ -145,7 +145,7 @@ export function TaskFollowUpSection({ const lastServerVersionRef = useRef(-1); const prevSendingRef = useRef(false); - // Helper to show a pleasant fade for transient "Saved" status + // Helper to show a pleasant fade for transient "Draft saved" status const scheduleSavedStatus = useCallback(() => { // Clear pending timers if (statusFadeTimerRef.current) @@ -329,7 +329,7 @@ export function TaskFollowUpSection({ // If server indicates we're sending, ensure the editor is cleared for clarity. if (sendingNow) { - // Edge trigger: show Sent pill once + // Edge trigger: show "Follow-up sent" pill once if (!prevSendingRef.current) { scheduleSentStatus(); } @@ -706,7 +706,7 @@ export function TaskFollowUpSection({ setSelectedVariant(latest.variant); } } - // Do not show "Saved" for queue; right side shows Queued; a "Sent" pill will appear when sending starts + // Do not show "Draft saved" for queue; right side shows Queued; a "Follow-up sent" pill will appear when sending starts setSaveStatus('idle'); } catch (e: unknown) { // On any error, hard refresh to server truth @@ -853,7 +853,7 @@ export function TaskFollowUpSection({ isStatusFading && 'opacity-0' )} > - Saved + Draft saved ) : saveStatus === 'sent' ? ( - Sent + Follow-up sent ) : null}