Show status latency at end of detail line in API panel
Reorder the Status card meta() detail so HTTP status and URL come first and the latency (ms) reads last, e.g. "HTTP 200 · <url> · 12ms". Rebuild the embedded panel assets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
09da889c15
commit
e3106d7b60
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="theme-color" content="#0F1E3D" />
|
||||
<title>PilotVault · API Server</title>
|
||||
<script type="module" crossorigin src="/assets/index-DJSuRngH.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BkFF389B.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CVh8EDzq.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -701,9 +701,9 @@ const badge = {
|
||||
|
||||
function meta(h) {
|
||||
const bits = [];
|
||||
if (typeof h.latencyMs === "number") bits.push(h.latencyMs + "ms");
|
||||
if (h.httpStatus) bits.push("HTTP " + h.httpStatus);
|
||||
if (h.url) bits.push(h.url);
|
||||
if (typeof h.latencyMs === "number") bits.push(h.latencyMs + "ms");
|
||||
return bits.join(" · ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user