- #6 Config tab by serial: the empty legacy edit form stays hidden (settings are read-only until phase 5); the settings box shows from the start, 'Not read yet', and a different unit's settings are never left on screen. - #10 A start/stop that went out but was not confirmed is no longer called 'failed'. The route now adds 'sent' (acknowledged / unknown) and 'audit_id' to a ChangeUnconfirmed -- same status, same message -- and the page says 'Start monitoring not confirmed: <what happened, audit record>'. - #12 Device tab by serial: the empty legacy Compliance/Project tables are hidden behind a pointer to the Config tab; a Micromate's Firmware card reads 'Thor line (version not read)' (its version string is in 0x01, undecoded). - #16 A 504 with nothing sent adds: the connection opened, so the modem is reachable -- another program (THOR or Blastware) may be holding the line, or the unit is busy. Measured 2026-10-29: THOR polling leaves SFM a 0-byte 504. New logic lives in sfm/static/device_routing.js (firmwareLabel, deviceErrorText, changeErrorText, serialPanes) under Node tests; the page glue in sfm_webapp.js only applies them. Checked in jsdom against the real page (served at a fake origin, /static from disk): all four, legacy mode unchanged, no script errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
2b886c4f39
commit
8123d75d72
7 files changed
+163
-22
No files matched your search
+7
-4
@@ -952,11 +952,14 @@
|
||||
|
||||
<div class="dev-grid" id="dev-cards"></div>
|
||||
|
||||
<div class="dev-section-title">Compliance Config</div>
|
||||
<div class="dev-table" id="compliance-table"></div>
|
||||
<div id="dev-serial-note" class="dev-section-title" hidden>Settings: Config tab → Read from Device</div>
|
||||
<div id="dev-legacy-tables">
|
||||
<div class="dev-section-title">Compliance Config</div>
|
||||
<div class="dev-table" id="compliance-table"></div>
|
||||
|
||||
<div class="dev-section-title">Project Info</div>
|
||||
<div class="dev-table" id="project-table"></div>
|
||||
<div class="dev-section-title">Project Info</div>
|
||||
<div class="dev-table" id="project-table"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user