fix(web-probe): recover monitor dashboard render
This commit is contained in:
@@ -299,6 +299,79 @@ select {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.sentinel-registry-strip {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(160px, 220px) 1fr;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.sentinel-registry-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sentinel-registry-copy strong {
|
||||
font-size: 13px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.sentinel-registry-copy span {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.sentinel-registry-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sentinel-registry-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
max-width: 100%;
|
||||
min-height: 28px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #d8e0ea;
|
||||
border-radius: 6px;
|
||||
background: #f8fafc;
|
||||
color: #344054;
|
||||
font-size: 12px;
|
||||
font-weight: 650;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sentinel-registry-link.current {
|
||||
border-color: #a7c5f9;
|
||||
background: #edf5ff;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.sentinel-registry-link.disabled {
|
||||
opacity: 0.62;
|
||||
}
|
||||
|
||||
.sentinel-registry-link span {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.sentinel-registry-link small {
|
||||
color: var(--muted);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.check-summary-pill {
|
||||
min-height: 26px;
|
||||
padding: 3px 10px;
|
||||
@@ -1195,6 +1268,10 @@ select {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.sentinel-registry-strip {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.runs-filter {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,8 @@ const refs = {
|
||||
copyToast: document.getElementById("copy-toast"),
|
||||
};
|
||||
|
||||
const DETAIL_TABS = ["overview", "findings", "turn", "trace", "evidence"];
|
||||
|
||||
const state = {
|
||||
loading: false,
|
||||
selectedRunId: null,
|
||||
@@ -99,8 +101,6 @@ const state = {
|
||||
pausedByInteraction: false,
|
||||
};
|
||||
|
||||
const DETAIL_TABS = ["overview", "findings", "turn", "trace", "evidence"];
|
||||
|
||||
const dashboardLimits = {
|
||||
timeline: { mobile: 6, tablet: 9, desktop: 16 },
|
||||
runs: { mobile: 8, tablet: 12, desktop: 30 },
|
||||
|
||||
Reference in New Issue
Block a user