zui icon indicating copy to clipboard operation
zui copied to clipboard

Select cell or group of cells in results table (for copy/paste)

Open jameskerr opened this issue 3 years ago • 2 comments

It is difficult, if not impossible, to copy and paste the results of a search into another application. For example, if I perform a search that returns 5 IP addresses, I am not able to select all 5 of those IP address to paste elsewhere. This is a simple usability problem.

Brim needs to allow for selecting one or more cells. The only selection we have today is a whole row/s or a single cell. I think we should look to Excel to mimic they way they do selections, since many users are comfortable with those patterns.

We also need to paste the data in the original format as returned by zed serve. Right now, we present the data with certain visual decorations like commas in large numbers. When copy and pasting a single cell, it might be good to provide an option to copy as original data. (See #1113)

jameskerr avatar Oct 29 '20 18:10 jameskerr

A community user recently bumped into this issue, as reported in a public Slack thread.

philrz avatar Mar 15 '21 23:03 philrz

@mccanne bumped into this when working with the app again recently while prepping for the Sharkfest-21 talk. His expectation was that in the main events window, if a single record was highlighted, hitting Cmd-C would copy the whole record into the paste buffer. He also expected that there'd be a way to highlight a single cell such that Cmd-C would copy just that one value into the paste buffer. 

philrz avatar Sep 22 '21 15:09 philrz