Add a logged-in-only status/debug panel at the bottom of the sidebar
Dumps every read-only status endpoint (health, offline/terrain build status, regions, caches, hiking trails, kiwix, plugins, GNSS, LiveTrack) as JSON, refreshed every 5s while open so a running build's progress shows live.
This commit is contained in:
1 parent
0051a0337c
commit
cf483d183c
6 files changed
+137
No files matched your search
@@ -142,6 +142,11 @@ html, body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Pinned to the bottom of the rail (the sidebar is a flex column). */
|
||||
.sidebar-item--bottom {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sidebar-group-label {
|
||||
width: 28px;
|
||||
height: 1px;
|
||||
@@ -459,6 +464,27 @@ html, body {
|
||||
}
|
||||
}
|
||||
|
||||
.debug-panel__body {
|
||||
padding: 8px 12px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.debug-panel__body summary {
|
||||
cursor: pointer;
|
||||
font-family: monospace;
|
||||
padding: 3px 0;
|
||||
}
|
||||
|
||||
.debug-panel__body pre {
|
||||
margin: 2px 0 8px;
|
||||
padding: 6px;
|
||||
background: #f6f6f6;
|
||||
border-radius: 4px;
|
||||
font-size: 11px;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.offline-data-panel__body {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user