open-sauced / app

🍕 Insights into your entire open source ecosystem.
https://pizza.new
Apache License 2.0
381 stars 202 forks source link

Bug: Starting a new conversation in StarSearch for workspaces does nothing when a conversation is streaming in #3636

Closed nickytonline closed 4 days ago

nickytonline commented 5 days ago

If you have an existing conversation streaming in and you click the back button or new conversation button, you can submit the prompt, but the UI does not stream in the subsequent response.

It looks like isRunning needs to be reset in the onNewChat function.

  const onNewChat = () => {
+   setIsRunning(false);    
    setChatId(null);
    setStarSearchState("initial");
    setChat([]);
    setView("prompt");
  };

https://github.com/open-sauced/app/blob/beta/components/StarSearch/StarSearchChat.tsx#L108-L113

CleanShot 2024-06-25 at 21 25 35

github-actions[bot] commented 5 days ago

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please comment on this issue.

For full info on how to contribute, please check out our contributors guide.

open-sauced[bot] commented 4 days ago

:tada: This issue has been resolved in version 2.39.0-beta.9 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

open-sauced[bot] commented 4 days ago

:tada: This issue has been resolved in version 2.39.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: