feat: add waveform viewer endpoint and enhance UI with new tabs for history, units, monitor log, and sessions

This commit is contained in:
2026-04-13 22:34:28 -04:00
parent 27db663579
commit e8bef1ac7c
3 changed files with 570 additions and 3 deletions
+4 -1
View File
@@ -183,7 +183,7 @@
<h1>SFM Waveform Viewer</h1>
<div class="conn-group">
<label>API</label>
<input type="text" id="api-base" value="http://localhost:8200" style="width:180px" />
<input type="text" id="api-base" style="width:180px" />
</div>
<div class="conn-group">
<label>Device host</label>
@@ -588,6 +588,9 @@
}
}
// Auto-detect API base from wherever this page was served from
document.getElementById('api-base').value = window.location.origin;
// Allow Enter key on connection inputs to trigger connect
['api-base', 'dev-host', 'dev-tcp-port'].forEach(id => {
document.getElementById(id).addEventListener('keydown', e => {