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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

announce workspace progress updates to SR users #202621

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Jan 16, 2024

fix #199422

I wonder if we should do this more broadly for all progress updates 馃 馃憖. edit: unclear how this would be done ATM, as the chatServiceImpl cannot access aria.alert and also, there are many instances for which we don't want to announce.

@meganrogge meganrogge self-assigned this Jan 16, 2024
@meganrogge meganrogge added this to the December / January 2024 milestone Jan 16, 2024
src/vs/workbench/contrib/chat/browser/chatListRenderer.ts Outdated Show resolved Hide resolved
if (showSpinner) {
// this step is in progress, communicate it to SR users
console.log(progress.content.value);
alert(progress.content.value);
Copy link
Member

Choose a reason for hiding this comment

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

This will just read the progress message, right, should there be some context that says this is a progress step?

Also, I'm not sure whether this is the right place to do this. If you scroll up while a workspace message is in progress, then scroll back down, it will read the progress update a second time.

But also, a place that updates the model might not be the right place for it, because maybe you only want this to happen if the chat is actually active on screen.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will just read the progress message, right, should there be some context that says this is a progress step?

This is already verbose, we don't need to add more words IMO. I've discussed this with Roberto.

But also, a place that updates the model might not be the right place for it, because maybe you only want this to happen if the chat is actually active on screen.

Do you have a suggestion?

Copy link
Member

Choose a reason for hiding this comment

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

This is already verbose, we don't need to add more words IMO. I've discussed this with Roberto.

Sure, just remember it's uncontrolled content coming from arbitrary extensions, not just what you see in vscode-copilot.

Do you have a suggestion?

I really don't know, it depends on in what scenario exactly you want to alert. What I mentioned may or may not be an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In my testing, it works well

@meganrogge meganrogge merged commit 9a1baf2 into main Jan 18, 2024
6 checks passed
@meganrogge meganrogge deleted the merogge/workspace-updates branch January 18, 2024 12:30
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.

inform screen reader users of chat response progress details
2 participants