From 027dc4e1bd4d9aaa849abcc6941b00c927da7922 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Sun, 26 Jul 2026 14:52:24 +0200 Subject: [PATCH] feat: show pending steers inside the streaming reply --- client/src/components/Chat/Input/ChatForm.tsx | 12 - .../components/Chat/Input/Composer/Queue.tsx | 11 +- .../components/Chat/Input/InFlightSteers.tsx | 645 ---------- .../src/components/Chat/Input/SteerMenu.tsx | 346 ----- .../Input/__tests__/InFlightSteers.test.tsx | 1114 ----------------- .../Chat/Messages/Content/ContentParts.tsx | 7 + .../Messages/Content/Parts/PendingSteers.tsx | 67 + .../Parts/__tests__/PendingSteers.test.tsx | 58 + client/src/hooks/Chat/index.ts | 1 + client/src/hooks/Chat/useSteerRecovery.ts | 86 ++ client/src/locales/en/translation.json | 3 + 11 files changed, 232 insertions(+), 2118 deletions(-) delete mode 100644 client/src/components/Chat/Input/InFlightSteers.tsx delete mode 100644 client/src/components/Chat/Input/SteerMenu.tsx delete mode 100644 client/src/components/Chat/Input/__tests__/InFlightSteers.test.tsx create mode 100644 client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx create mode 100644 client/src/components/Chat/Messages/Content/Parts/__tests__/PendingSteers.test.tsx create mode 100644 client/src/hooks/Chat/useSteerRecovery.ts diff --git a/client/src/components/Chat/Input/ChatForm.tsx b/client/src/components/Chat/Input/ChatForm.tsx index b30e74e42d..2185eddd97 100644 --- a/client/src/components/Chat/Input/ChatForm.tsx +++ b/client/src/components/Chat/Input/ChatForm.tsx @@ -33,7 +33,6 @@ import useDictation from '~/hooks/Input/useDictation'; import { useGetStartupConfig } from '~/data-provider'; import useSteering from '~/hooks/Chat/useSteering'; import { BadgeRowProvider } from '~/Providers'; -import InFlightSteers from './InFlightSteers'; import TextareaHeader from './TextareaHeader'; import PromptsCommand from './PromptsCommand'; import SkillsCommand from './SkillsCommand'; @@ -516,18 +515,7 @@ const ChatForm = memo(function ChatForm({