Closed abeatrix closed 1 day ago
@toolmantim i've updated the PR to reflect the changes we discussed IRL 😎 ( Will update the tests if the demo video looks good to you)
https://github.com/sourcegraph/cody/assets/68532117/7dcaa5de-239b-40cc-a5ca-94335cd2c847
CLOSE https://linear.app/sourcegraph/issue/CODY-2464/improve-aborted-chat-message-ui
This PR addresses @toolmantim 's UI feedback in https://github.com/sourcegraph/cody/pull/4601#pullrequestreview-2126995194:
Summary:
isAbortErrorOrSocketHangUp
function to shared error utilitiesAssistantMessageCell
to handle aborted responses by displaying a message indicating the output stream was stoppedTest plan
Updated Storybook with the expected behavior for aborted messages with and without assistant response: