mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-13 01:51:28 +08:00

* feat(trace-details): frontend changes for trace details * feat(trace-detail): address review comments from elipsis * feat(trace0-detail): add the new drawer designs * feat(trace-detail): handle the selected span hover * feat(trace-detail): address theme colors and span selection * feat(trace-detail): fix some more css * feat(trace-detail): fix some more css * feat(trace-detail): add hoverred span and handled no data components for new drawer * feat(trace-detail): handle light mode designs * feat(trace-detail): remove the hover functionality in favor of performance * feat(trace-detail): span lines connectors * feat(trace-detail): span lines connectors * feat(trace-detail): handle the line matching for flamegraph and waterfall * feat(trace-waterfall): change the timeline color to make it less poky * feat(trace-waterfall): added where clause support in trace details page * feat(trace-waterfall): added where clause support in trace details page * feat(trace-detail): handle light mode designs * feat(trace-detail): handle light mode designs * feat(trace-detail): fix build issues * feat(trace-detail): handle loading error state for filters and flamegraph hovered state * feat(trace-detail): fix the hardcoded traceID * feat(trace-detail): remove unnecessaru use effects * feat(trace-detail): handled the flamegraph update with ID * feat(trace-detail): added timestamp bucketing and latency sampling * feat(trace-detail): extract the buckets and span limit in constants * feat(trace-detail): minor VQA comments * feat(trace-detail): remove unnecessaru use effects * feat(trace-detail): add go to related logs * feat(trace-detail): address review comments * feat(trace-detail): address review comments * feat(trace-detail): address review comments * feat(trace-detail): address review comments
263 lines
4.8 KiB
SCSS
263 lines
4.8 KiB
SCSS
.trace-metadata {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0px 16px 0px 16px;
|
|
|
|
.metadata-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
|
|
.first-row {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.previous-btn {
|
|
display: flex;
|
|
height: 30px;
|
|
padding: 6px 8px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border: 1px solid var(--bg-slate-300);
|
|
background: var(--bg-slate-500);
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.trace-name {
|
|
display: flex;
|
|
padding: 6px 8px;
|
|
margin-left: 6px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border: 1px solid var(--bg-slate-300);
|
|
border-radius: 4px 0px 0px 4px;
|
|
background: var(--bg-slate-500);
|
|
|
|
.drafting {
|
|
color: white;
|
|
}
|
|
|
|
.trace-id {
|
|
color: #fff;
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 18px; /* 128.571% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
}
|
|
|
|
.trace-id-value {
|
|
display: flex;
|
|
padding: 6px 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: var(--bg-slate-400);
|
|
color: var(--Vanilla-400, #c0c1c3);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 18px; /* 128.571% */
|
|
letter-spacing: -0.07px;
|
|
border: 1px solid var(--bg-slate-300);
|
|
border-left: unset;
|
|
border-radius: 0px 4px 4px 0px;
|
|
}
|
|
}
|
|
|
|
.second-row {
|
|
display: flex;
|
|
gap: 24px;
|
|
|
|
.service-entry-info {
|
|
display: flex;
|
|
gap: 6px;
|
|
color: var(--bg-vanilla-400);
|
|
align-items: center;
|
|
|
|
.text {
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 20px; /* 142.857% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
|
|
.root-span-name {
|
|
display: flex;
|
|
padding: 2px 8px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-radius: 50px;
|
|
border: 1px solid var(--bg-slate-400);
|
|
background: var(--bg-slate-500);
|
|
}
|
|
}
|
|
|
|
.trace-duration {
|
|
display: flex;
|
|
gap: 6px;
|
|
color: var(--bg-vanilla-400);
|
|
align-items: center;
|
|
|
|
.text {
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 20px; /* 142.857% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
}
|
|
|
|
.start-time-info {
|
|
display: flex;
|
|
gap: 6px;
|
|
color: var(--bg-vanilla-400);
|
|
align-items: center;
|
|
|
|
.text {
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 20px; /* 142.857% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.datapoints-info {
|
|
display: flex;
|
|
gap: 16px;
|
|
|
|
.separator {
|
|
width: 1px;
|
|
background: #1d212d;
|
|
}
|
|
|
|
.data-point {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
|
|
.text {
|
|
color: var(--bg-vanilla-400);
|
|
text-align: center;
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 18px; /* 128.571% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
|
|
.value {
|
|
color: var(--bg-vanilla-100);
|
|
font-variant-numeric: lining-nums tabular-nums stacked-fractions
|
|
slashed-zero;
|
|
font-feature-settings: 'case' on, 'cpsp' on, 'dlig' on, 'salt' on;
|
|
font-family: Inter;
|
|
font-size: 20px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 28px; /* 140% */
|
|
letter-spacing: -0.1px;
|
|
text-transform: uppercase;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.lightMode {
|
|
.trace-metadata {
|
|
.metadata-info {
|
|
.first-row {
|
|
.previous-btn {
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
background: var(--bg-vanilla-200);
|
|
}
|
|
|
|
.trace-name {
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
background: var(--bg-vanilla-200);
|
|
border-right: none;
|
|
|
|
.drafting {
|
|
color: var(--bg-ink-100);
|
|
}
|
|
|
|
.trace-id {
|
|
color: var(--bg-ink-100);
|
|
}
|
|
}
|
|
|
|
.trace-id-value {
|
|
background: var(--bg-vanilla-300);
|
|
color: var(--bg-ink-400);
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
}
|
|
}
|
|
|
|
.second-row {
|
|
.service-entry-info {
|
|
color: var(--bg-ink-400);
|
|
|
|
.text {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
|
|
.root-span-name {
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
background: var(--bg-vanilla-300);
|
|
}
|
|
}
|
|
|
|
.trace-duration {
|
|
color: var(--bg-ink-400);
|
|
|
|
.text {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
}
|
|
|
|
.start-time-info {
|
|
color: var(--bg-ink-400);
|
|
|
|
.text {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.datapoints-info {
|
|
.separator {
|
|
background: var(--bg-vanilla-300);
|
|
}
|
|
|
|
.data-point {
|
|
.text {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
|
|
.value {
|
|
color: var(--bg-ink-100);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|