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
committed by serversdown
parent ce2c859f11
commit 2b5574511e
3 changed files with 570 additions and 3 deletions
+6
View File
@@ -430,6 +430,12 @@ def webapp():
return str(Path(__file__).parent / "sfm_webapp.html")
@app.get("/waveform", response_class=FileResponse)
def waveform_viewer():
"""Serve the standalone waveform viewer."""
return str(Path(__file__).parent / "waveform_viewer.html")
@app.get("/device/info")
def device_info(
port: Optional[str] = Query(None, description="Serial port (e.g. COM5, /dev/ttyUSB0)"),