-
Notifications
You must be signed in to change notification settings - Fork 34k
Expose "View Previous Edits" command in command palette and accessibility help #257355
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
Conversation
…ility help Co-authored-by: meganrogge <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @anthonykim1 something to tell ppl about on Friday!
@copilot fix error: [tsec-compile-check ] src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.ts(725,9): error TS2345: Argument of type '{ id: string; title: string; tooltip: string; f1: true; icon: ThemeIcon; precondition: ContextKeyExpression; menu: { id: MenuId; group: string; order: number; when: ContextKeyExpression | undefined; }[]; }' is not assignable to parameter of type 'Readonly'. |
Co-authored-by: meganrogge <[email protected]>
Fixed the TypeScript compilation error. The issue was that when Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
@@ -724,9 +724,9 @@ export class ViewPreviousEditsAction extends EditingSessionAction { | |||
constructor() { | |||
super({ | |||
id: ViewPreviousEditsAction.Id, | |||
title: ViewPreviousEditsAction.Label, | |||
title: localize2('chatEditing.viewPreviousEdits', 'View Previous Edits'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
This PR addresses the accessibility request to make the "View Previous Edits" command discoverable for screen reader users by exposing it in the command palette and adding it to the accessibility help dialog.
Changes Made
1. Command Palette Exposure
f1: false
tof1: true
inViewPreviousEditsAction
constructorchatEditing.viewPreviousEdits
2. Accessibility Help Integration
editsView
<keybinding:chatEditing.viewPreviousEdits>
Technical Details
The changes are minimal and surgical:
chatEditing.viewPreviousEdits
consistently'chatEditing.viewPreviousEdits'
Impact
Screen reader users can now:
This complements the existing
accessibility.openChatEditedFiles
setting mentioned in the issue.Fixes #257092.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
electronjs.org
node-gyp
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.