Skip to content

Copy to Clipboard Commands & Improve Table selection - #2625

Merged
AmmarAbouZor merged 7 commits into
esrlabs:masterfrom
AmmarAbouZor:clipboard
Aug 13, 2026
Merged

Copy to Clipboard Commands & Improve Table selection #2625
AmmarAbouZor merged 7 commits into
esrlabs:masterfrom
AmmarAbouZor:clipboard

Conversation

@AmmarAbouZor

Copy link
Copy Markdown
Member

This PR closes #2591

Copy To Clipboard:

It provides many functions using copy to OS clipboard. Functions are:

  • Copy selected logs formatted with | delimiter. Command is in context menu for logs and search tables and also with the shortcut Ctrl/CMD+Shift+C
  • Add commands to tabs context menu of running session to copy sources info to clipboard (File paths, process commands, Stream IP::Port addresses)
  • Copy attachments for both texts and images, adding buttons to the quick and modal preview views for attachments

Logs Manual Selection Improvements

This PR also improves the manual selection for logs in the tables avoiding the undesired scroll on drag behavior making dragging always activate label selection.

Improving scrolling wasn't simply possible as we are limited with the options provided by egui and egui_table

* Command is added to tables context menu
* It will format logs also with their index
* Calling it from search table will show indexed results only
* Introduce notifications that shows banner but aren't saved in
  notifications history.
* Show transient notification on copy to clipboard
Use `Ctrl/Cmd+Shift+C` for copy rows as ctrl+c is problematic because
egui doesn't provide a proper way to determine if a text is manually
selected
Add useful copy commands to tabs context menu of the running sessions
like copy source file path, copy process command or copy stream binding
address
* Add copy button for quick and modal preview views for text and photo
  attachments
* Add wrap to unsupported attachments avoiding the text forcing its
  width on the side panel.
Extend cell response areas making dragging cells always activate label
selection instead of egui_table scroll on drag unwanted behavior
@AmmarAbouZor
AmmarAbouZor merged commit 2a35f63 into esrlabs:master Aug 13, 2026
1 check passed
@AmmarAbouZor
AmmarAbouZor deleted the clipboard branch August 13, 2026 07:33
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.

Add copy to OS clipboard functionality for logs and attachments

1 participant