mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 23:47:12 +00:00
Fix: trace details bugfixes (#9116)
* fix: make the trace details sidebar scrollable * fix: fix the long value overflowing trace details attributes * fix: fix the layout issues in trace details v2 * Revert "fix: make the trace details sidebar scrollable" This reverts commit 469022ed6aa89f9cc5864fdd30bdd6096bb11870. * fix: make the trace details sidebar scrollable * fix: make the attribute value take 100% width --------- Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
This commit is contained in:
parent
0626a89412
commit
24307b48ff
@ -58,12 +58,16 @@
|
||||
padding: 2px 8px;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
max-width: calc(100% - 120px); /* Reserve space for action buttons */
|
||||
max-width: 100%;
|
||||
gap: 8px;
|
||||
border-radius: 50px;
|
||||
border: 1px solid var(--bg-slate-400);
|
||||
background: var(--bg-slate-500);
|
||||
|
||||
.copy-wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.item-value {
|
||||
color: var(--bg-vanilla-400);
|
||||
font-family: Inter;
|
||||
|
||||
@ -97,11 +97,13 @@ function Attributes(props: IAttributesProps): JSX.Element {
|
||||
</div>
|
||||
<div className="value-wrapper">
|
||||
<Tooltip title={item.value}>
|
||||
<CopyClipboardHOC entityKey={item.value} textToCopy={item.value}>
|
||||
<Typography.Text className="item-value" ellipsis>
|
||||
{item.value}
|
||||
</Typography.Text>{' '}
|
||||
</CopyClipboardHOC>
|
||||
<div className="copy-wrapper">
|
||||
<CopyClipboardHOC entityKey={item.value} textToCopy={item.value}>
|
||||
<Typography.Text className="item-value" ellipsis>
|
||||
{item.value}
|
||||
</Typography.Text>
|
||||
</CopyClipboardHOC>
|
||||
</div>
|
||||
</Tooltip>
|
||||
<AttributeActions
|
||||
record={item}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
flex-direction: column;
|
||||
height: calc(100vh - 44px); //44px -> trace details top bar
|
||||
border-left: 1px solid var(--bg-slate-400);
|
||||
overflow-y: auto;
|
||||
overflow-y: auto !important;
|
||||
&:not(&-docked) {
|
||||
min-width: 450px;
|
||||
}
|
||||
|
||||
@ -127,7 +127,11 @@ function TraceDetailsV2(): JSX.Element {
|
||||
];
|
||||
|
||||
return (
|
||||
<ResizablePanelGroup direction="horizontal" autoSaveId="trace-drawer">
|
||||
<ResizablePanelGroup
|
||||
direction="horizontal"
|
||||
autoSaveId="trace-drawer"
|
||||
className="trace-layout"
|
||||
>
|
||||
<ResizablePanel minSize={20} maxSize={80} className="trace-left-content">
|
||||
<TraceMetadata
|
||||
traceID={traceId}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user