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
@@ -436,6 +436,13 @@ export const OFFLINE_DATA_ICON = `
|
||||
// OSM/p4n2gpx category and doubles as the note icon-picker's option list
|
||||
// (notes.js), neither of which applies here — every point on this layer
|
||||
// gets the same one glyph, there's no per-feature category to key it by.
|
||||
// A bug — the status/debug panel (debug.js).
|
||||
export const DEBUG_ICON = `
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
|
||||
<rect x="7" y="7" width="10" height="13" rx="5"/>
|
||||
<path d="M9 7a3 3 0 0 1 6 0M12 11v9M3 13h4M17 13h4M4 7l3 2M20 7l-3 2M4 19l3-2M20 19l-3-2"/>
|
||||
</svg>`;
|
||||
|
||||
export const WIKI_ICON = `
|
||||
<svg viewBox="0 0 22 22" fill="currentColor">
|
||||
<path d="M16.6,20.7c-0.6,0-0.9-0.4-0.9-0.9c0-0.5,0.3-0.9,0.9-0.9c0.3,0,0.5-0.2,0.5-0.5
|
||||
|
||||
Reference in new issue
Block a user