plc_control/web/js
caoqianming d88d8375fd fix(frontend): pre-select active unit when opening new equipment modal
When a unit is selected in the sidebar, the create-equipment modal now
pre-fills the unit dropdown with that unit. Previously it always reset
to empty, so newly created equipment got unit_id=null and was hidden by
the unit filter after save.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 16:35:33 +08:00
..
api.js feat(web): auto-toast on API errors with dismissible notifications 2026-03-24 13:43:57 +08:00
app.js feat(web): add unit and event management views 2026-03-24 10:56:57 +08:00
chart.js fix(chart): restore realtime updates and axes 2026-03-23 12:55:12 +08:00
docs.js refactor(app): split services and web modules 2026-03-23 11:31:38 +08:00
dom.js feat(web): add unit and event management views 2026-03-24 10:56:57 +08:00
equipment.js fix(frontend): pre-select active unit when opening new equipment modal 2026-03-24 16:35:33 +08:00
events.js feat(event): stream created events over websocket 2026-03-24 12:28:12 +08:00
index.js refactor(web): split index html into flat fragments 2026-03-23 14:14:19 +08:00
logs.js feat(frontend): handle UnitRuntimeChanged WebSocket message 2026-03-24 14:58:29 +08:00
points.js refactor(point): fold binding into edit action 2026-03-23 13:20:03 +08:00
roles.js refactor(control): align point roles and equipment kind 2026-03-24 13:17:53 +08:00
sources.js feat(web): reorganize equipment layout and point flows 2026-03-23 12:49:26 +08:00
state.js feat(frontend): add runtimes map to state 2026-03-24 14:57:41 +08:00
units.js fix(frontend): show fault/comm locked state in runtime badge 2026-03-24 15:04:17 +08:00