sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.3k stars 219 forks source link

Chat: Add stop generating button to chat #4560

Closed abeatrix closed 1 month ago

abeatrix commented 1 month ago

Part of https://linear.app/sourcegraph/issue/CODY-2345/add-stop-generating-button-for-chat

Came up during a customer call. This PR adds the stop generating button back to chat.

This is just to serve as a starting point for adding the stop-generating button back since we will need to get design team's input on the best place to show this button within the new chat design.

https://github.com/sourcegraph/cody/assets/68532117/84ae7a01-c360-4ffc-87e4-73f8bc3d1828

Test plan

  1. Ask Cody a question
  2. Verify the Stop button shows up on the bottom of your screen when Cody is responding
  3. Verify clicking on the Stop button stops Cody from responding and all loading states are cleared.
abeatrix commented 1 month ago

@toolmantim can we get your input on how the button should look like and the best place to put it please? 😄

abeatrix commented 1 month ago

replaced by https://github.com/sourcegraph/cody/pull/4580