Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(participant): add progress indicators for asynchronous requests in chat VSCODE-613 #827

Merged

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Sep 23, 2024

VSCODE-613
The only thing we don't show an in progress for is now when we're connecting. This would require a refactoring of how we do the connecting flow, it currently now happens outside of a chat response, and once the connection happens we then enter a chat. We might want to do that, I'll bring it up with y'all in slack. I'm thinking it can land in a separate pr.

Included some drive-by log error additions as well as removing unintended tabs in our welcome message.

@Anemy Anemy requested a review from alenakhineika September 23, 2024 17:14
}

stream.push(
new vscode.ChatResponseProgressPart('Fetching database names...')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So does the progress bar disappear as soon as we call stream.markdown or a similar output method?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@Anemy Anemy merged commit 1b714a9 into VSCODE-528-mongodb-copilot Sep 24, 2024
3 checks passed
@Anemy Anemy deleted the VSCODE-613-add-progress-indicators branch September 24, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants