csv_preview: #9 Allow copying cell and column header content - #61769
Merged
Anthony-Eid merged 4 commits intoAug 13, 2026
Merged
Conversation
Cell and header text had byte-for-byte identical right-click copy handlers and tooltip builders; extracted into with_copy_on_right_click.
HalavicH
marked this pull request as ready for review
July 28, 2026 10:30
5 tasks
Anthony-Eid
approved these changes
Aug 12, 2026
Merged
via the queue into
zed-industries:main
with commit Aug 13, 2026
d866471
68 of 73 checks passed
playdohface
pushed a commit
to playdohface/zed
that referenced
this pull request
Aug 29, 2026
…ries#61769) # Objective - There was no way to copy a cell's or a column header's text out of the CSV preview table (at all). ## Solution - Right-clicking a table cell now copies its full content to the clipboard; the cell tooltip shows the content plus a "Right click to copy content" hint. - Right-clicking a column header name copies the column name to the clipboard, with the same tooltip pattern ("Right click to copy column name"). ## Testing - Right-click a cell: content is copied, tooltip shows the hint. - Right-click a column header: column name is copied, tooltip shows the hint. ## Demo <img width="994" height="241" alt="image" src="https://github.com/user-attachments/assets/827a0356-e152-4bfd-84ea-5745e638f13c" /> ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - Added copy-to-clipboard on right-click for CSV preview cells and column headers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Solution
Testing
Demo
Self-Review Checklist:
Release Notes: