Skip to content

Remove double-click handling from git panel filenames - #58594

Merged
ChristopherBiscardi merged 1 commit into
zed-industries:mainfrom
ChristopherBiscardi:remove-double-click
Jun 4, 2026
Merged

Remove double-click handling from git panel filenames#58594
ChristopherBiscardi merged 1 commit into
zed-industries:mainfrom
ChristopherBiscardi:remove-double-click

Conversation

@ChristopherBiscardi

@ChristopherBiscardi ChristopherBiscardi commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Previously in the git panel, double clicking a filename would trigger both the first-click action and the second-click action.

This PR removes the second click handling since we don't have a good pattern for single-and-double-click handling.

Before

Screen.Recording.2026-06-04.at.3.47.29.PM.mov

After

Screen.Recording.2026-06-04.at.3.48.20.PM.mov

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 4, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 4, 2026
@ChristopherBiscardi ChristopherBiscardi added the area:integrations/git Git integration feedback label Jun 4, 2026
@maxdeviant maxdeviant changed the title remove double-click handling from git panel filenames Remove double-click handling from git panel filenames Jun 4, 2026
@ChristopherBiscardi
ChristopherBiscardi added this pull request to the merge queue Jun 4, 2026
Merged via the queue into zed-industries:main with commit 5bcd6ea Jun 4, 2026
56 checks passed
@ChristopherBiscardi
ChristopherBiscardi deleted the remove-double-click branch June 4, 2026 23:01
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 8, 2026
…#58594)

Previously in the git panel, double clicking a filename would trigger
both the first-click action *and* the second-click action.

This PR removes the second click handling since we don't have a good
pattern for single-and-double-click handling.

### Before



https://github.com/user-attachments/assets/f03e53ae-a330-4f60-812d-a45a2d3f5f30

### After



https://github.com/user-attachments/assets/e09493a1-6477-4d43-80ea-26322dd1f083




Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…#58594)

Previously in the git panel, double clicking a filename would trigger
both the first-click action *and* the second-click action.

This PR removes the second click handling since we don't have a good
pattern for single-and-double-click handling.

### Before



https://github.com/user-attachments/assets/f03e53ae-a330-4f60-812d-a45a2d3f5f30

### After



https://github.com/user-attachments/assets/e09493a1-6477-4d43-80ea-26322dd1f083




Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…#58594)

Previously in the git panel, double clicking a filename would trigger
both the first-click action *and* the second-click action.

This PR removes the second click handling since we don't have a good
pattern for single-and-double-click handling.

### Before



https://github.com/user-attachments/assets/f03e53ae-a330-4f60-812d-a45a2d3f5f30

### After



https://github.com/user-attachments/assets/e09493a1-6477-4d43-80ea-26322dd1f083




Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:integrations/git Git integration feedback cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants