authorgravatar for dominic@sdko.orgDominic Roy <dominic@sdko.org> 2026-09-07 18:32:51-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-07 22:32:51+00:00
log12f5604442564d3e8c1cb23135b27b37ab4af1cf
tree3502f50627704bbfcf0407ab371ebd49620881ac
parent5ec6f77ec0acc6a1fc9e9be5e1126a5199e9efe7
signature Signed by PGP key B5690EEEBB952194

fix(web): correct pending question attachment message (#10599)


1 files changed, 2 insertions(+), 2 deletions(-)

apps/web/src/components/chat/ChatComposer.tsx+2-2
......@@ -4182,7 +4182,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
41824182 if (pendingUserInputs.length > 0) {
41834183 toastManager.add({
41844184 type: "error",
4185 title: "Attach files after answering plan questions.",
4185 title: "Attach files after answering pending questions.",
41864186 });
41874187 return;
41884188 }
......@@ -4337,7 +4337,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
43374337 // ------------------------------------------------------------------
43384338 const onComposerPaste = (event: React.ClipboardEvent<HTMLElement>) => {
43394339 const files = Array.from(event.clipboardData.files);
4340 // Claimable pastes go through even when plan questions are pending or the
4340 // Claimable pastes go through even when agent questions are pending or the
43414341 // composer is at its attachment limit: `addComposerAttachments` surfaces
43424342 // those as a toast and a thread error. An early return here would swallow
43434343 // the paste with no feedback.