Skip to content

Comments

Confusing archive/delete UI elements across chat surfaces (fix #296405)#296461

Merged
bpasero merged 1 commit intomainfrom
ben/light-landfowl
Feb 20, 2026
Merged

Confusing archive/delete UI elements across chat surfaces (fix #296405)#296461
bpasero merged 1 commit intomainfrom
ben/light-landfowl

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Feb 20, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 20, 2026 07:55
@bpasero bpasero enabled auto-merge (squash) February 20, 2026 07:55
@bpasero bpasero self-assigned this Feb 20, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the keycode string mapping for the Delete key to display as “Del” in UI labels while ensuring Electron accelerators still use “Delete”, and adjusts existing keyboard-mapper tests accordingly.

Changes:

  • Update KeyCode.Delete UI label mapping from "Delete" to "Del" while keeping "Delete" as the user-settings label.
  • Special-case KeyCode.Delete in KeyCodeUtils.toElectronAccelerator to return "Delete".
  • Update Linux keyboard mapper tests to expect "Del" as the resolved label for Delete.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/services/keybinding/test/node/macLinuxKeyboardMapper.test.ts Updates expected resolved label for Delete from "Delete" to "Del" in existing Linux keyboard event tests.
src/vs/base/common/keyCodes.ts Changes KeyCode.Delete UI string to "Del", preserves "Delete" for user-settings parsing/printing, and ensures Electron accelerator remains "Delete".

@bpasero bpasero merged commit 0d0f2ce into main Feb 20, 2026
22 checks passed
@bpasero bpasero deleted the ben/light-landfowl branch February 20, 2026 08:24
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