zui icon indicating copy to clipboard operation
zui copied to clipboard

Dragging files to an existing pool to add more data

Open philrz opened this issue 2 years ago • 0 comments

As of Brim v0.28.0, I see that dragging a file to the pools list always creates a newly-created pool to store the data. The only way I know of to add additional data to an existing pool is to drop to the shell and run a zapi load command line. But it'd be great if this could be accomplished right inside the app as a variation on the existing drag & drop UX. For instance, if my drag movement ends with my mouse hovering over the name of an existing pool, add the data to that pool. If the drag movement ends with my mouse over the "blank" area of the pools list (and maybe the "POOLS" header as well, just in case the pools list is full of pool names) it could maintain its current behavior of creating the new pool.

While browsing the open issues to see if this feature had already been requested, I came across #1067 that spoke of this in a pcap context. That text pre-dates the current Brimcap/pool constructs, but thinking about how I last recall the current app working, it seems like it might not be too difficult to cover this for the pcap case as well: Brimcap invocation effectively ends with a zapi load (right?), then Brimcap's pcap index could also be populated with the info for the new pcap, and I think you'd be covered. Whatever we end up doing something for #1042 also seems relevant.

philrz avatar Nov 30 '21 22:11 philrz