-
Notifications
You must be signed in to change notification settings - Fork 583
Description
Requirement
As a user I sometimes need to copy the trace ID into a clipboard, to paste it into search both in Jaeger or some other tools (like a log search).
Problem
The trace ID is usually not fully displayed by default, and sometimes not clickable

Proposal
Turn the trace ID display into a hyperlink that copies the full value into clipboard. The link should have a tooltip (with small delay, say 200ms) to show "Copy to clipboard", and when clicked the tooltip should change to "Copied to clipboard" (for 2sec), then revert to original text.
Open questions
On the trace view the trace ID is currently in the header which is clickable to expand/collapse. As part of this change we may want to restrict that behavior only when clicking on the chevron button, but the trace name and trace ID should have click-to-copy behavior as above. We probably want to have a reusable component for ClickToCopyText.