diff --git a/packages/dashboard/app/components/TaskChatTab.tsx b/packages/dashboard/app/components/TaskChatTab.tsx index d002170b9b..ec659f81d0 100644 --- a/packages/dashboard/app/components/TaskChatTab.tsx +++ b/packages/dashboard/app/components/TaskChatTab.tsx @@ -509,12 +509,15 @@ export function TaskChatTab({ task, projectId, active, addToast, sessionLive, on /** * FNXC:TaskDetailChat 2026-06-19-22:54: * The task-detail chat must never silently accept a question when no agent session will consume it. Keep idle chats sendable, but surface that the message is saved as guidance for the next task run instead of implying a live reply. + * + * FNXC:TaskDetailChat 2026-06-22-21:20: + * The idle "No agent is working on this task right now…" hint is suppressed (empty) per user request — idle chats stay sendable but no longer show the banner. Done/active hints remain. The render gates on a truthy sessionHint, so the empty idle case renders nothing. */ const sessionHint = isDoneTask ? t("taskChat.doneSessionHint", "Send a message to start a refinement task for this completed task.") : activeSession ? t("taskChat.activeSessionHint", "Message the active agent session. Guidance is delivered to the running session in real time.") - : t("taskChat.idleSessionHint", "No agent is working on this task right now. Your message is saved as guidance and will reach an agent the next time this task runs."); + : ""; const composerPlaceholder = isDoneTask ? t("taskChat.donePlaceholder", "Start a refinement task for this completed task") : t("taskChat.activePlaceholder", "Steer the currently executing agent"); diff --git a/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx b/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx index 874e8e1c16..bbca4701d6 100644 --- a/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx +++ b/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx @@ -168,11 +168,9 @@ function expectTranscriptTextOrder(...texts: string[]) { } function expectIdleSessionHint() { - const idleHint = screen.getByTestId("task-chat-idle-hint"); - expect(idleHint).toBeVisible(); - expect(idleHint).toHaveTextContent(/no agent is working on this task right now/i); - expect(idleHint).toHaveTextContent(/saved as guidance/i); - expect(idleHint).toHaveTextContent(/next time this task runs/i); + // FNXC:TaskDetailChat 2026-06-22-21:20: The idle "No agent is working…" banner was removed per user request — idle chats stay sendable with no hint shown. + expect(screen.queryByTestId("task-chat-idle-hint")).not.toBeInTheDocument(); + expect(screen.queryByText(/no agent is working on this task right now/i)).not.toBeInTheDocument(); expect(screen.getByPlaceholderText("Steer the currently executing agent")).toBeInTheDocument(); }